On 25/05/2011 16:29, rveach wrote:
Hi,

I have a PDF table that can contain large chunks of text so I set the
"SplitLate" to false so all of that text can be seen, but it seems this
causes a side effect that it DOESN'T split text that goes on past the end of
the page and place it on the next page. If I set "SplitLate" to true, then
the big texts don't get displayed at all.


Is there anyway to fix this?

This was a bug in 5.0.6. It should be fixed in 5.1.0:
http://itextpdf.com/history/?branch=51&node=510
<quote>
Complete refactoring of the PdfPTable functionality, in the hope that the code is now more readable.
This fixed the following problems:

   * due to rounding problems, some lines in tables were duplicated
     when a row was split: |consumeHeight()| didn't consume all the
     content; problem reported by a customer with support contract
   * using rowspan sometimes led to strange results (content went
     missing); bug reported by Colin Cheng in April 2011
   * skipping the first header didn't work if a Table was the first
     element added on a page; bug reported by Richard Palmer in April 2011
   * table events weren't working for combinations of rowspan and colspan.

Caveat: some methods were removed, and |setSplitLate()| is ignored for rows that have a rowspan.
</quote>
------------------------------------------------------------------------------
vRanger cuts backup time in half-while increasing security.
With the market-leading solution for virtual backup and recovery, 
you get blazing-fast, flexible, and affordable data protection.
Download your free trial now. 
http://p.sf.net/sfu/quest-d2dcopy1
_______________________________________________
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions

iText(R) is a registered trademark of 1T3XT BVBA.
Many questions posted to this list can (and will) be answered with a reference 
to the iText book: http://www.itextpdf.com/book/
Please check the keywords list before you ask for examples: 
http://itextpdf.com/themes/keywords.php

Reply via email to