You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Tim Allison (JIRA)" <ji...@apache.org> on 2017/05/01 18:54:04 UTC

[jira] [Resolved] (PDFBOX-3772) Add COSBoolean(false) as option in PDDocumentCatalog's getOpenAction

     [ https://issues.apache.org/jira/browse/PDFBOX-3772?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tim Allison resolved PDFBOX-3772.
---------------------------------
       Resolution: Fixed
    Fix Version/s: 3.0.0
                   2.0.6

Fixed in 2.0 and trunk.  

Please let me know if I botched anything.

> Add COSBoolean(false) as option in PDDocumentCatalog's getOpenAction
> --------------------------------------------------------------------
>
>                 Key: PDFBOX-3772
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-3772
>             Project: PDFBox
>          Issue Type: Improvement
>            Reporter: Tim Allison
>            Priority: Trivial
>             Fix For: 2.0.6, 3.0.0
>
>         Attachments: 020196.pdf
>
>
> 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: 
> {noformat}
> 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)
> {noformat}
> The object is a COSBoolean with value=false.
> I'll open a separate issue for the other new (to us) exception.



--
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