Hi,

I'm currently trying to extract data from the outlines of a pdf.
I want to do this when I'm splitting my pdf document into pages. In fact my aim to produce a XML file, which give me the "tag" of each outline entry and the page number of the link.
I use a recursive function in order to deal with each 'kids' of all outline entry.
I use the getRootOutline() method on my PdfContentByte during my split action. But, I've got 2 problems:
- how can I get the label of the outline entry? (getTitle gives a NullPointerException)
- how can I obtain the page number of the link? (getPdfDestination and then, I don't see which method could give me the page reference)


Yvain




------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ iText-questions mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/itext-questions

Reply via email to