You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "simon steiner (JIRA)" <ji...@apache.org> on 2017/03/23 11:26:41 UTC
[jira] [Created] (PDFBOX-3732) refreshAppearances exception
simon steiner created PDFBOX-3732:
-------------------------------------
Summary: refreshAppearances exception
Key: PDFBOX-3732
URL: https://issues.apache.org/jira/browse/PDFBOX-3732
Project: PDFBox
Issue Type: Bug
Reporter: simon steiner
PDDocument doc = PDDocument.load(new File("out.pdf"));
doc.getDocumentCatalog().getAcroForm().setNeedAppearances(false);
doc.getDocumentCatalog().getAcroForm().refreshAppearances();
doc.save("pdfbox.pdf");
doc.close();
Exception in thread "main" java.lang.IllegalArgumentException: /DR is a required entry
at org.apache.pdfbox.pdmodel.interactive.form.PDDefaultAppearanceString.<init>(PDDefaultAppearanceString.java:82)
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@pdfbox.apache.org
For additional commands, e-mail: dev-help@pdfbox.apache.org