[ 
https://issues.apache.org/jira/browse/PDFBOX-3803?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

simon steiner updated PDFBOX-3803:
----------------------------------
    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();

  was:
Fields missing 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();


> Fields missing after refreshAppearances
> ---------------------------------------
>
>                 Key: PDFBOX-3803
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-3803
>             Project: PDFBox
>          Issue Type: Bug
>    Affects Versions: 3.0.0
>            Reporter: simon steiner
>         Attachments: input.pdf
>
>
> 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();



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to