I know very little about RTF, I forward your question to the mailinglist. Quoting Pallavi Zende <[EMAIL PROTECTED]>:
> Dear Sir, > > I have created a big rtf document using iText rtf library. And I am almost > 90% successful to get what i wanted out of it. But the document contains many > chapters and subsections. Titles of which get decided at runtime. > So there's a major problem in creating TOC. > I can't use RtfTOC class as I need to initiallise it ahead of time. If I use > rtf.setGenerateTOC It helps but generates TOC in german When TOC is generated > I have to righ click on that german text and click "Update field" Then it > shows TOC but The the letters having "acsawn" (french script letters like é, > è, à ) are replaced by G So can you help me in this regard. > Another thing is If I don't create it via iText, still it's OK. I can always > use Word's facility to generate TOC. But that needs titles of Chapters > (Headings) in specific style or format. I could associate my chapter titles > to the font class functions provided by iText. But could not associate > HEADING !, HEADING 2 styles of word to them. > How do I do it? > Please help please...... > > -Pallavi > > > e.g. com.lowagie.text.Font fnt = new Font (........); //with helvetica font , > size 15, BOLD > > Chapter chapter1; > Paragraph para = new Paragraph("Données Mécaniques",fnt); > chapter1 = new Chapter(para,1); > like this there are many chapters and many subsections at level 2 for each > chapter > > So can you help to associate word style so that I 'll be able to generate TOC > in word directly? > > > > --------------------------------- > Do you Yahoo!? > Yahoo! Small Business $15K Web Design Giveaway - Enter today -- Try this useful extra toolbar for your browser: http://download.alexa.com/?amzn_id=itisacatalofwebp ------------------------------------------------------- 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