PdfPTable.splitLate(false) ----- Original Message ----- From: "Justin Lee" <[EMAIL PROTECTED]> To: <itext-questions@lists.sourceforge.net> Sent: Saturday, May 07, 2005 6:09 AM Subject: [iText-questions] fonts followup and table cell question
> I "fixed" my font problem by changing the actual font I was using. I > switched to a slightly different font in the family of fonts I'm using > and all is well (enough). > > But on another note, I'm have a cell split issue. I swear I've seen > this asked/answered recently but I can't quite remember the solution. I > have certain cells marked to not split and that is the default behaviour > I want. However some cells end up spanning a whole page. So what I > think i'm seeing is this: the cell is determined to be too big to fit > on the current page so a new page is created. but the cell is also too > big to fit on a new page, so the cell is split across this new page and > the next. > > What I'd like to have happen is that split happen starting on the > original page so that we don't have a huge empty space on that page. > Alternately, if there's a way to determine the cell height before > rendering, I can set those particular cells to split. I tried > PdfPCell.height() but it always returns 0 (presumably because size is > difficult/impossible to tell until render time). Is there any way to do > that? Do I need to subclass PdfPCell and do that split check at render > time? Any ideas? Thanks. > > -- > cheeser You can find my blog at http://cheeser.blog-city.com > and on AIM as "evan chooly" > > > ------------------------------------------------------- > This SF.Net email is sponsored by: NEC IT Guy Games. > Get your fingers limbered up and give it your best shot. 4 great events, 4 > opportunities to win big! Highest score wins.NEC IT Guy Games. Play to > win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20 > _______________________________________________ > iText-questions mailing list > iText-questions@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/itext-questions ------------------------------------------------------- This SF.Net email is sponsored by: NEC IT Guy Games. Get your fingers limbered up and give it your best shot. 4 great events, 4 opportunities to win big! Highest score wins.NEC IT Guy Games. Play to win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20 _______________________________________________ iText-questions mailing list iText-questions@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/itext-questions