I'm fairly new to using iText, and I was having a problem using the TOC feature for RTF documents.
I'm using the following code:
rtfWriter.writeTOC("My TOC", new Font(), false, new Font()); rtfWriter.setGenerateTOCEntries(true);
following by a bunch of Chapter, Paragraph, Table objects.
When the rtf file is created, and I open it in Word 2000, the TOC consists of some german phrase that I believe says to right-click on it and choose update. It updates it properly, but I was wondering if there was some way to have the TOC already updated when you open the document.
Thanks for your time, Greg
_________________________________________________________________
Free up your inbox with MSN Hotmail Extra Storage. Multiple plans available. http://join.msn.com/?pgmarket=en-us&page=hotmail/es2&ST=1/go/onm00200362ave/direct/01/
------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ iText-questions mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/itext-questions