On Thursday 17 May 2007, Felix Satyaputra wrote:
> Is there a way to specify something to specify spacing
> before or spacing after a ListItem in RTF ? I can use
> ListItem.setExtraParagraphSpace() and this works for
> PDF document, but it doesn't seem to work for RTF. If
> I need to implement this myself, would anyone be able
> to give me a hint as to which class to subclass
> please? (not sure if it's RtfListItem)
That setting is currently not supported. You will need to change the 
RtfListItem class. Look at the RtfParagraphStyle class. There there's code to 
add space before/after a Paragraph. You should be able to adapt that.

> Also, if I need to implement a custom bullet in a RTF
> list, do I start with extending RtfListItem? Basically
> I'd like to implement List.setListSymbol() for RTF.
> I'd really appreciate it if someone were to provide
> any hint.
Somebody else recently said that they required the same and were looking into 
it. Check the archives of the last week or so. If you do it yourself, 
RtfListItem is the class to modify.

Greetings,
Mark
-- 
Knucklehead:    "Knock, knock"
Pee Wee:        "Who's there?"
Knucklehead:    "Little ol' lady."
Pee Wee:        "Liddle ol' lady who?"
Knucklehead:    "I didn't know you could yodel"

My GPG public key is available at:
http://www.edu.uni-klu.ac.at/~mhall/data/security/MarkHall.asc

Attachment: pgpTV8XBOJzyD.pgp
Description: PGP signature

-------------------------------------------------------------------------
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/

Reply via email to