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

Add ability to ignore errors with AcroForms

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.3.1
    • Component/s: None
    • Labels:
      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.

        Attachments

          Activity

            People

            • Assignee:
              adamnichols Adam Nichols
              Reporter:
              adamnichols Adam Nichols
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: