You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Maruan Sahyoun (JIRA)" <ji...@apache.org> on 2011/09/14 22:24:09 UTC

[jira] [Issue Comment Edited] (PDFBOX-1088) Class PDDocument Method getPageMap returns a ClassCastException

    [ https://issues.apache.org/jira/browse/PDFBOX-1088?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13104853#comment-13104853 ] 

Maruan Sahyoun edited comment on PDFBOX-1088 at 9/14/11 8:23 PM:
-----------------------------------------------------------------

Nghi, maybe you want to check the bookmark dictionary and compare with the PDF spec. Not always will there be a destination entry. All that is described in the spec.

In addition we should move the discussion to the users mailing list as this is no longer bug related.

      was (Author: msahyoun):
    Nghi, maybe you want to check the bookmark dictionary and compare with the PDF spec. Not always will there be a destination entry. All that is described in the spec. 
  
> Class PDDocument Method getPageMap returns a ClassCastException
> ---------------------------------------------------------------
>
>                 Key: PDFBOX-1088
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-1088
>             Project: PDFBox
>          Issue Type: Bug
>          Components: PDModel
>    Affects Versions: 1.6.0
>         Environment: Windows XP 
>            Reporter: Nghi Nguyen
>             Fix For: 1.7.0
>
>         Attachments: PDDocument.patch, PDDocument.patch, TestPDDocumentCatalog.patch
>
>
> Trying to get the map of bookmarks to page numbers by using method getPageMap but throws a java.lang.ClassCastException: org.apache.pdfbox.pdmodel.PDPage

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira