You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Adam Nichols (JIRA)" <ji...@apache.org> on 2010/05/01 02:20:58 UTC

[jira] Updated: (PDFBOX-717) Bookmarks don't match up to any page

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

Adam Nichols updated PDFBOX-717:
--------------------------------

    Attachment: PDFBOX-717.patch

Patch which fixes this bug.

> Bookmarks don't match up to any page
> ------------------------------------
>
>                 Key: PDFBOX-717
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-717
>             Project: PDFBox
>          Issue Type: Bug
>          Components: PDModel
>         Environment: Windows Vista 32-bit, Java 1.5.0_06, PDFBox HEAD tag
>            Reporter: Adam Nichols
>             Fix For: 1.2.0
>
>         Attachments: PDFBOX-717.patch
>
>
> Some bookmarks refer to pages which are not in the pageMap (the pageMap holds the object number and generation number for each page in the PDF).  This was because the pageMap had the wrong objects.  If the catalog had a list of page references, they were handled properly.  If it had a list of lists of page references, it was also handled properly, but anything beyond that failed.  In my previous testing I didn't come across this case, but I have now and I've confirmed that it works correctly.  Unfortunately, I can't provide the PDF which demonstrates the problem before the patch is applied and confirms that the patch solves the problem on account of confidential data in the document.

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