You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Johannes Koch (JIRA)" <ji...@apache.org> on 2010/03/02 14:31:27 UTC

[jira] Updated: (PDFBOX-645) PDDocumentOutline should not have getParent()

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

Johannes Koch updated PDFBOX-645:
---------------------------------

    Attachment: PDFBox-645_patch_00.txt

Patch PDFBox-645_patch_00.txt solves the issue.

> PDDocumentOutline should not have getParent()
> ---------------------------------------------
>
>                 Key: PDFBOX-645
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-645
>             Project: PDFBox
>          Issue Type: Bug
>          Components: PDModel
>            Reporter: Johannes Koch
>            Priority: Minor
>         Attachments: PDFBox-645_patch_00.txt
>
>
> 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.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.