Hi Abid,

if your original pdf file is tagged pdf _and_ the contents are well 
structured, iText has some support for the structured elements. 
Otherwise you might have to extract the content and organise the content 
yourself. Have a look at the PRStream class in iText and its 
documentation, you'll  have an idea how to get the content from a 
typical pdf.

Best Regards,
Ning Zhao

Abid Hussain schrieb:
> Hi everybody,
>
> as far as I know, there's no specific support for generating a table of 
> contents in a pdf document in the iText-API...?
>
> Cause I find it quite tricky creating a TOC, I wonder if anybody has 
> written a class (or a collection of classes) which comes up with such a 
> support and could provide it in some way (e.g. placing it in the web for 
> download).
>
> Thanks for help in advance.
>
> Best regards,
>
> Abid
>
>   


-- 
HaCon Ingenieurgesellschaft mbH
Lister Str. 15
30163 Hannover
Germany/Deutschland
Tel. +49 511 33699-363
Fax. +49 511 33699-99
Email: [EMAIL PROTECTED]
http://www.hacon.de

Registry Court/Amtsgericht Hannover HRB 1712
Managing Directors/Geschäftsführer: Michael Frankenberg,
Dr.-Ing. Marian Gaidzik, Dr.-Ing. Werner Kretschmer,
Werner Sommerfeld, Dr.-Ing. Volker Sustrate, Peter Talke 


-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Do you like iText?
Buy the iText book: http://www.1t3xt.com/docs/book.php
Or leave a tip: https://tipit.to/itexttipjar

Reply via email to