Hi,
I'm glad that I can use custom bullets in RTF lists now.
However, as soon as I use List.setListSymbol() to set the symbol to a symbol
different from the default, the text after the bullet is indented too much. Has
the symbolIndent perhaps been ignored by the change? Or am I doing something
wrong?
This example works as intended (the text after each bullet is indented by 10):
List list = new List(false, false, 10);
list.add("Item1");
list.add("Item2");
list.add("Item3");
document.add(list);
In this example the text after each bullet is indented too much:
List list = new List(false, false, 10);
list.setListSymbol(new Chunk("\u00b7", new Font(Font.COURIER, 10, Font.NORMAL,
new Color(0, 0, 0))));
list.add("Item1");
list.add("Item2");
list.add("Item3");
document.add(list);
Regards,
Tom
--
Tom Hombergs
adesso AG
Internet Applications
Studentischer Mitarbeiter
Stockholmer Allee 24
44269 Dortmund
[EMAIL PROTECTED]
www.adesso.de <http://www.adesso.de/>
---------------------------------------------------------------------------
>>> business. people. technology. <<<
---------------------------------------------------------------------------
adesso AG mit Sitz in Dortmund
Vorstand: Michael Kenfenheuer, Rainer Rudolf (Vors.), Dr. RĂ¼diger Striemer
Vorsitzender des Aufsichtsrates: Prof. Dr. Volker Gruhn
Amtsgericht Dortmund HRB 14509
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions
Buy the iText book: http://itext.ugent.be/itext-in-action/