Hi,
I have some problems in the RtfTableOfContents and RtfTOCEntry of
com.lowagie.text.rtf.field package
Here is my codes:
paragraph.add(new RtfTableOfContents("TOC", new Font(Font.TIMES_ROMAN, 14)));
doc.add(paragraph);
doc.add(new RtfTOCEntry(entry, new Font(Font.TIMES_ROMAN, 14)));
Whatever I put in the Font object, the font I get in the resulting rtf file is
still the same. That is, I can't change the font of the Table of Contents and
the entries.
Are there any problems in my codes?
Sidney
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions