Erik Pfingsten wrote: 3) use WriteSelectedRows to write N columns out to page one and the remaining columns out to page two (as in figure 6.10 in the book)
Note that writeSelectedRows returns a Y position, you could write one row at a time and decide if a new page is needed after every row (based on the calculated height of the next row). 4) write the complete table to a larger PdfTemplate using ColumnText; then add the same PdfTemplate twice, once to the odd pages for the left part, once to the even pages for the right part. I'm 99% sure I have an example of 4) somewhere, but it must date from before I used to put examples on 1t3xt.info and I don't find it anywhere. I have been answering iText questions the whole day (on and off list). The fact that I need to spend that much on the mailing list really compromises the creation of new examples, documentation and new functionality! And if I don't have the time to write documentation, the constant flow of questions on the list will never stop. This isn't a remark aimed at you personally; I was more annoyed by the stupid question from GE this morning and by some really trivial questions earlier today. (Your question was actually a good one; if I had more time, I'd written an example for you.) It's just that my "working day" is almost over now, and I have the feeling I haven't done any "real" work; that's very frustrating. -- This answer is provided by 1T3XT BVBA http://www.1t3xt.com/ - http://www.1t3xt.info ------------------------------------------------------------------------------ This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-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
