On Tuesday 20 March 2007 11:51, [EMAIL PROTECTED] wrote: > I'm running iText 1.4.8 to generate RTF documents. > I want to add table of content, list of figure and list of table (with page > number) in the same document. > Any ideas?? iText (via the RtfWriter2) only provides a facility for generating a table of contents (RtfTableOfContents). Even then this is very limited and the user will have to update this manually. iText doesn't render RTF, so it can't calculate what text is in the headings and which pages they are on.
There is no built-in support for lists of figures or tables. You have to read the RTF specification and add the functionality yourself. If you get the latest version of the tutorial from the CVS, there is updated documentation for the RtfTableOfContents. Greetings, Mark ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ iText-questions mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/itext-questions Buy the iText book: http://itext.ugent.be/itext-in-action/
