setSplitLate works for most of the orange cells in my example. The problem is I don't always want the orange cells to split across pages. In the example I posted, the orange cell in the 2nd row splits with only three lines of text written to the first page. This does not leave enough space for a chart to be drawn to its left. The 2nd orange cell continues onto the 2nd page and onto the 3rd page, but the chart begins on the 2nd page. I always want the charts and their corresponding orange cells to start in the same vertical position. This is why I want to pad that 2nd orange cell to force it to start on the 2nd page along with its chart.
So for one cell in a row, I want it to split, but for another cell in the same row, I don't. This appears to be causing a misalignment issue with where the two cells begin rendering. -- Cam 1T3XT info wrote: > > mistercam wrote: >> What I was looking to do is attach to each orange cell an event that >> checks >> the remaining vertical space allotted to it. If it is less than the >> height >> of one of the charts (which are always of fixed height in my >> application,) >> then I want to pad the orange cell with just enough white space to bump >> the >> next orange cell to the next page. > > You're describing the functionality of setSplitLate(true); but in you > previous mail you said "I have played around with many of the > row-splitting options," so you've probably tried that. What was wrong > with that method? > > ------------------------------------------------------------------------------ > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > _______________________________________________ > iText-questions mailing list > iText-questions@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/itext-questions > > Buy the iText book: http://www.1t3xt.com/docs/book.php > 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/ > > -- View this message in context: http://old.nabble.com/PdfPTable-or-PdfPCell-Pre-render-Events---Dynamically-resizing-cells-tp27688507p27689775.html Sent from the iText - General mailing list archive at Nabble.com. ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ iText-questions mailing list iText-questions@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/itext-questions Buy the iText book: http://www.1t3xt.com/docs/book.php 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/