FlyingBuzz wrote: > I have a big problem figureing the height of a table when a page breaks.
I don't know if I understand the question, but whenever I need more control over tables, I wrap them in a ColumnText object, as is done here: http://www.1t3xt.info/examples/browse/?page=example&id=286 (I deliberately added ugly borders so that you can distinguish the outer and the inner tables.) In the example, there's a loop that adds newPages. You could adapt the example so that the column is added in 'simulation' mode first, then investigate the properties of the column (for instance: did the table fit or not) and then recreate the table based on your findings. -- This answer is provided by 1T3XT BVBA ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ iText-questions mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/itext-questions Do you like iText? Buy the iText book: http://www.1t3xt.com/docs/book.php Or leave a tip: https://tipit.to/itexttipjar
