Aleix Casagolda wrote:
> I'm generating a pdf with some paragraphs and I need that when one
> paragraph don't fit to a page, the entire paragraph jump to next page,
> so a paragraph is never splitted between two pages.
>
> How can I do it?

You can use ColumnText in simulation mode.
Add a paragraph to the column,
add the column in simulation mode.

If the column doesn't fit: go to a new page

Now add the paragraph to the column (again),
add the column for real.

br,
Bruno

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