You have named destinations in the PDF. The line Named=table.4 points to a
dictionary/array of names that maps the names to pages. You may call
PdfReader.consolidateNamedDestinations() to convert the names to page
numbers and have the expected Page=?.

Paulo


On Thu, Jun 19, 2014 at 11:35 PM, minsu <minsu...@gmail.com> wrote:

> I tried to parse a pdf with bookmark. I used
> SimpleBookmark.getBookmark(reader) and get a list of HashMap.  For each
> bookmark, i got:
> Action=GoTo
> Named=table.4
> Title=Table of Contents
> but there's no Page=?, how do i know the destination of each bookmark.
> Thanks
>
>
>
> --
> View this message in context:
> http://itext-general.2136553.n4.nabble.com/Can-t-get-destination-page-in-SimpleBookmark-getBookmark-reader-tp4660076.html
> Sent from the iText - General mailing list archive at Nabble.com.
>
>
> ------------------------------------------------------------------------------
> HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions
> Find What Matters Most in Your Big Data with HPCC Systems
> Open Source. Fast. Scalable. Simple. Ideal for Dirty Data.
> Leverages Graph Analysis for Fast Processing & Easy Data Exploration
> http://p.sf.net/sfu/hpccsystems
> _______________________________________________
> iText-questions mailing list
> iText-questions@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/itext-questions
>
> iText(R) is a registered trademark of 1T3XT BVBA.
> Many questions posted to this list can (and will) be answered with a
> reference to the iText book: http://www.itextpdf.com/book/
> Please check the keywords list before you ask for examples:
> http://itextpdf.com/themes/keywords.php
>
------------------------------------------------------------------------------
HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions
Find What Matters Most in Your Big Data with HPCC Systems
Open Source. Fast. Scalable. Simple. Ideal for Dirty Data.
Leverages Graph Analysis for Fast Processing & Easy Data Exploration
http://p.sf.net/sfu/hpccsystems
_______________________________________________
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions

iText(R) is a registered trademark of 1T3XT BVBA.
Many questions posted to this list can (and will) be answered with a reference 
to the iText book: http://www.itextpdf.com/book/
Please check the keywords list before you ask for examples: 
http://itextpdf.com/themes/keywords.php

Reply via email to