[
https://issues.apache.org/jira/browse/PDFBOX-2793?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14731985#comment-14731985
]
Tilman Hausherr commented on PDFBOX-2793:
-----------------------------------------
>From the mailing list:
{quote}
I think this method belongs to
the PDCatalog, public. In my use case I split a document and I want to
process the annotations removing those link annotations pointing to a page
that is no longer there (due to the split) so, whenever the annotation
destination is a PDNamedDestination I could use that method to find the
page destination. Same thing if I want to resolve a GoTo action (say open
action) with a named destination.
{quote}
> /Dests dictionary isn't supported
> ---------------------------------
>
> Key: PDFBOX-2793
> URL: https://issues.apache.org/jira/browse/PDFBOX-2793
> Project: PDFBox
> Issue Type: Bug
> Components: PDModel
> Affects Versions: 1.8.9, 1.8.10, 2.0.0
> Reporter: Tilman Hausherr
> Assignee: Tilman Hausherr
> Fix For: 1.8.10, 2.0.0
>
>
> I have received a non public file that has a /Dests dictionary in the
> /Catalog, and this is not supported by PDFBox. This is a concept from PDF 1.1
> that is no longer used since PDF 1.2, but it is legal and not deprecated,
> only discouraged.
> What needs to be done is to include an additional lookup in
> PDOutlineItem.findDestinationPage() in the PDNamedDestination section. And an
> additional getter in PDDocumentCatalog, and a new class to encapsulate that
> "dictionary of names and corresponding destinations".
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]