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

Add COSBoolean(false) as option in PDDocumentCatalog's getOpenAction

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.0.6, 3.0.0 PDFBox
    • Component/s: None
    • Labels:
      None

      Description

      Over on Tika, we've started allowing users to extract PDActions. In our recent regression tests, we found a few new exceptions while trying to get the OpenAction from PDDocumentCatalog.

      The easy one to fix is:

      java.io.IOException: Unknown OpenAction false
      	at org.apache.pdfbox.pdmodel.PDDocumentCatalog.getOpenAction(PDDocumentCatalog.java:261)
      	at org.apache.tika.parser.pdf.AbstractPDF2XHTML.startDocument(AbstractPDF2XHTML.java:460)
      
      

      The object is a COSBoolean with value=false.

      I'll open a separate issue for the other new (to us) exception.

        Attachments

        1. 020196.pdf
          111 kB
          Tim Allison

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              tallison@mitre.org Tim Allison
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: