Hi All,

I'm quite new to iText, I've been reading the book also, but did not find a
solution for what I need.
I'll explain:

I have pdf doc (any pdf document).

Need to retrieve all existing paragraphs or chapters/sections from it, so
I'll be able to create bookmarks upon that list I retrieve from existing
pdf.

Tried to get Outlines, like ... PdfDictionary root = reader.getCatalog();
                                         PdfDictionary  outlines =
root.getAsDict(PdfName.OUTLINES); ...
but get null as a result.
I've tried other PdfName values as well, but no success.

I would appreciate much any help with this, since it seems I just cannot
find a solution to this.

Any other idea how I might get list for outlines from the existing pdf
document is also great!

Thanks,
Vfeki


--
View this message in context: 
http://itext-general.2136553.n4.nabble.com/how-to-retreive-a-paragraph-list-or-chapter-section-list-from-existing-pdf-document-tp3731474p3731474.html
Sent from the iText - General mailing list archive at Nabble.com.

------------------------------------------------------------------------------
uberSVN's rich system and user administration capabilities and model 
configuration take the hassle out of deploying and managing Subversion and 
the tools developers use with it. Learn more about uberSVN and get a free 
download at:  http://p.sf.net/sfu/wandisco-dev2dev
_______________________________________________
iText-questions mailing list
[email protected]
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