Hello there,

I have some code that outputs a bulleted list. The bullet is setup to appear
in blue followed by clack text and this works when output to PDF. If I
output to RTF however (which is what I need to do) the bullet comes out in
black.

...
RtfFont bulletFont = new RtfFont("Times New Roman", 11.0f, RtfFont.NORMAL,
new Color(0, 169, 224));
Chunk bullet = new Chunk("\u2022", bulletFont);

com.lowagie.text.List list = new  com.lowagie.text.List(true, 20);

list.setListSymbol(bullet);
list.setNumbered(false);

...

I've seen an RTFList in the package but cannot yet find any examples on how
to use this.

Can anybody help as I need to do this fairly quickly?

Any help would be much appreciated!

Thanks, Carl 
-- 
View this message in context: 
http://www.nabble.com/Coloured-bullets-in-list-with-RTF-tp18771855p18771855.html
Sent from the iText - General mailing list archive at Nabble.com.


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions

Buy the iText book: http://www.1t3xt.com/docs/book.php

Reply via email to