I'm using iText to generate Rtf documents.
I set the Paragraph alignment to Element.ALIGN_JUSTIFIED, after adding a Table to the paragraph, the succeding text appeared left aligned.
I tried setting the alignment to Element.ALIGN_JUSTIFIED after adding the table, but i got the same result.


Can anyone help me with this? Thank you in advance.

sample code:

Paragraph p = new Paragraph();
p.setAlignment(Element.ALIGN_JUSTIFIED);


Phrase p = new Phrase("...some text");
Table t = new Table(4);


p.add(p);
p.add(t);
p.add(p);




-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click
_______________________________________________
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Reply via email to