Op 13/04/2011 19:05, Colin Cheng schreef: > No rush. Take care of your family first.
I think the problem has been solved. I've uploaded the solution to the SVN repository. See the Log message: Revision: 4808 http://itext.svn.sourceforge.net/itext/?rev=4808&view=rev Author: blowagie Date: 2011-04-15 15:23:49 +0000 (Fri, 15 Apr 2011) Log Message: ----------- In the past we've had several problems with tables: - due to rounding problems, some lines in tables were duplicated when a row was split: consumeHeight didn't consume all the content. - using rowspan sometimes led to strange results (content went missing) I've done a thorough clean-up, in the hope that the code is now more readable. The above problems seem to be solved now, and I've tested the code with all the examples of chapter 4 and 5. I may have introduced other problems. Let's hope that's not the case. NOTE: setSplitLate() is ignored for rows that have a rowspan. Modified Paths: -------------- trunk/itext/src/main/java/com/itextpdf/text/pdf/ColumnText.java trunk/itext/src/main/java/com/itextpdf/text/pdf/PdfDocument.java trunk/itext/src/main/java/com/itextpdf/text/pdf/PdfPCell.java trunk/itext/src/main/java/com/itextpdf/text/pdf/PdfPRow.java trunk/itext/src/main/java/com/itextpdf/text/pdf/PdfPTable.java trunk/itext/src/main/java/com/itextpdf/text/pdf/PdfPTableEventSplit.java trunk/itext/src/main/java/com/itextpdf/text/pdf/events/PdfPTableEventForwarder.java ------------------------------------------------------------------------------ Benefiting from Server Virtualization: Beyond Initial Workload Consolidation -- Increasing the use of server virtualization is a top priority.Virtualization can reduce costs, simplify management, and improve application availability and disaster protection. Learn more about boosting the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev _______________________________________________ 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