Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
Description
AcroForms seem to be implemented poorly by some PDF writers, and as a result there are quite a few out of spec PDFs out there. This can be a problem when trying to merge two PDFs together. I've found multiple which merge fine except for the AcroForms. We should add a flag to PDFMergerUtility to allow the caller to ignore AcroForm errors. This way people who just want to merge PDFs and don't care about the AcroForm fields are able to do so.
The default will be to NOT ignore AcroForm errors, which provides perfect backward compatibility and makes sure these errors are not silently discarded by default.