Uploaded image for project: 'PDFBox'
  1. PDFBox
  2. PDFBOX-3803

Fields missing after refreshAppearances

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 3.0.0 PDFBox
    • None
    • AcroForm
    • None

    Description

      Fields missing after viewing in Adobe Reader after running:
      PDDocument doc = PDDocument.load(new File(input));
      PDAcroForm acroform = doc.getDocumentCatalog().getAcroForm();
      if (acroform != null)

      { acroform.setNeedAppearances(false); acroform.refreshAppearances(); }

      doc.save(output);
      doc.close();

      Attachments

        1. input.pdf
          29 kB
          Simon Steiner

        Activity

          People

            Unassigned Unassigned
            ssteiner Simon Steiner
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: