On Friday 03 August 2007 14:35:01 Steve-O wrote:
> I read the Javadoc for the Table class, which says: "Normally a newline is
> added before you add a Table object. This newline uses the current leading.
> If you want to control the space between the table and the previous element
> yourself, you have to set the offset of this table. "
>
> So this explains why there is an extra blank paragraph in the output. My
> question: is there a way to remove the paragraph or to prevent its
> creation? Or is there a way to add text to it? I need to add a title for
> the table, so if I can use the extra paragraph for this purpose, the
> paragraph would no longer be a problem.
Table.setOffset is not supported in RTF. There is one way to remove the 
paragraph and that is by changing the sourcecode in the 
com.lowagie.text.rtf.table.RtfTable class and removing the line where the 
extra paragraph is added.

Greetings,
Mark

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
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