There's a couple of examples in the book but you must realize that there 
isn't any automatic way to create TOCs in PDFs. The best way is to do two 
passes, collecting the page positions in the first pass and generating the 
TOC and the content in the second pass.

Paulo

--- Original Message ----- 
From: "Lars Vogel" <[EMAIL PROTECTED]>
To: <itext-questions@lists.sourceforge.net>
Sent: Tuesday, June 12, 2007 10:41 AM
Subject: [iText-questions] Table of Content in pdf - Example


> Hello,
>
> sorry for the uninformed question, but can someone point me to an example 
> of how to create a table of content referrening to the correct page number 
> of the sections?
>
> I searched through this newsgroup but found only examples for RTF / 
> formating the TOC /  reordering the pages after creating the TOC / 
> non-working examples which resulted in some iText  corrections.I search 
> based on subject level on the topics "Table of Content" and "TOC" within 
> the last 5000 message.
>
> I might have overlooked the right threat so please point me to the right 
> link / message.
>
> Best regards, Lars


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions
Buy the iText book: http://itext.ugent.be/itext-in-action/

Reply via email to