Alexandre Simundi wrote: > So, > > My report is a legal document (contract). This document can't have space > in the last page. > > Attached is an image to examplify what I need to do.
The image is very confusing: it appears as if you want to add gibberish data till the page is full. Is that correct. > How I can take this with ColumnText ?? > Someone has some idea ?? I suppose that you weren't able to find Chapter 7 in the book "iText in Action". This is the link to the examples in that chapter: http://1t3xt.info/examples/browse/?page=toc&id=12 I would add the content to a ColumnText and CALCULATE how much space the content needs vertically. Then I'd adjust the text (for instance by playing with the leading or even the right and left margin) till all the text is distributed over an exact number of pages. -- This answer is provided by 1T3XT BVBA http://www.1t3xt.com/ - http://www.1t3xt.info ------------------------------------------------------------------------------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ _______________________________________________ iText-questions mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/itext-questions Buy the iText book: http://www.1t3xt.com/docs/book.php
