Details
-
New Feature
-
Status: Closed
-
Major
-
Resolution: Fixed
-
1.8.9, 2.0.0
-
None
-
Windows, Linux
Description
Using the following code to read and write back a pdf (with xfa) caused the newly written pdf when opened be prompted with
"This document enabled extended features in Adobe Reader. The document has been changed since it was created and use of extended features is no longer available. Please contact the author for the original version of this document".
File f1 = new File(...); PDDocument doc = PDDocument.load(f1); doc.setAllSecurityToBeRemoved(true); File f = new File(....); // output file try (FileOutputStream fos = new FileOutputStream(f)) { doc.save(fos); }
Attachments
Attachments
Issue Links
- depends upon
-
PDFBOX-2859 Support Incremental Update for forms
- Closed
- duplicates
-
PDFBOX-45 Support incremental save
- Closed