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

PDDocumentOutline should not have getParent()

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.1.0
    • Component/s: PDModel
    • Labels:
      None

      Description

      Currently, as PDDocumentOutline is a sub-class of PDOutlineNode, it has a public getParent() method. According to PDF 32000-1:2008 section 12.3.3 there's no Parent entry in an outline dictionary. So we should make PDOutlineNode.getParent() protected and make it public in PDOutlineItem. Patch following soon.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              waldbaer Johannes Koch
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: