jerrolds wrote: > I have a really small table width-wise, only 2 columns. This table can span > an arbitrary number of pages - so id like to the table to "wrap" on the page > before going on to the next > > preferably 3 tables wide per page > > Column 1 | Column 2 Column 1 | Column 2 Column 1 | Column 2 > -------------------- ------------------- -------------------- > > Is something like this easily possible? Or would i have to do it manually > 1) get total rows 1 page can fit > 2) get total count of rows in my table > 3) split the table 3 ways and create a new table for each one > > doing it manually seems easy enough...but id like a "wrapping" effect in > that the first row in the middle table is a continuation from the first > table > > and the first row in the next page is a continuation from the 3rd table from > the previous page > > hopefully this makes sense - any help would be appreciated, thanks much!
It makes sense. Use ColumnText to achieve this. There's an example in the 2nd edition of "iText in Action": http://www.flickr.com/photos/itextinaction/4329588107/ -- This answer is provided by 1T3XT BVBA http://www.1t3xt.com/ - http://www.1t3xt.info ------------------------------------------------------------------------------ ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the lucky parental unit. See the prize list and enter to win: http://p.sf.net/sfu/thinkgeek-promo _______________________________________________ iText-questions mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/itext-questions Buy the iText book: http://www.itextpdf.com/book/ Check the site with examples before you ask questions: http://www.1t3xt.info/examples/ You can also search the keywords list: http://1t3xt.info/tutorials/keywords/
