Re: [iText-questions] ColumnText Grouping/KeepTogether

2009-02-01 Thread ApolloX
Thanks, although more detail than "read that book" would have been appreciated. Besides, the solution of using a nested table with the outer table disabling works just fine. I just find the syntax a little ugly. It would be nice if grouping was natively supported for elements of ColumnText. --

Re: [iText-questions] ColumnText Grouping/KeepTogether

2009-02-01 Thread ApolloX
As a follow-up, I initially tried using Paragraph.setKeepTogether(true) which worked for single-paragraphs with the same alignment, but did not work if I had a set of elements with different paragraphs and/or alignments. The solution that worked the best was to add a single outer table, set PdfPT

[iText-questions] ColumnText Grouping/KeepTogether

2009-02-01 Thread ApolloX
Is there a way to prevent elements in an iText column from being split across multiple columns? For example, Paragraph has http://www.1t3xt.info/api/com/lowagie/text/Paragraph.html#keeptogether keeptogether attribute which prevents text within a paragraph from being split across two pages. Is