On Thursday 22 January 2004 20:04, Sri wrote:
> I've noticed there are classes designed, but I have problem putting
> them to work. I noticed some methods that help PDF documents to generate
> TOC (reorderPages in PDFWriter) are missing in RTFWriter.
You should be able to generate a TOC by calling
rtfWriter.writeTOC("My TOC", TitleFont, false, TOCFont);
You will then have to add TOC entries by hand by adding RtfTOCEntry objects,
or you can use
rtfWriter.setGenerateTOCEntries(true);
to automatically generate TOC entries for Sections and Chapters.
Greetings,
Mark
--
The fashionable drawing rooms of London have always been happy to accept
outsiders -- if only on their own, albeit undemanding terms. That is to
say, artists, so long as they are not too talented, men of humble birth,
so long as they have since amassed several million pounds, and socialists
so long as they are Tories.
-- Christopher Booker
My GPG public key is available at:
http://www.edu.uni-klu.ac.at/~mhall/data/security/MarkHall.asc
-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions