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

/Dests dictionary isn't supported

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.8.9, 1.8.10, 2.0.0
    • 1.8.10, 2.0.0
    • PDModel
    • None

    Description

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

      Attachments

        Issue Links

          Activity

            People

              tilman Tilman Hausherr
              tilman Tilman Hausherr
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: