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

PDDocumentOutline should not have getParent()

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 1.1.0
    • PDModel
    • 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

        1. PDFBox-645_patch_00.txt
          2 kB
          Johannes Koch

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: