|
There is actually a bug while using itext 2.0.x to export a multi-page table : if here is a caption the table headers don't appear on the first page (it only affect PDF not RTF)
To solve this issue you have to use the method setNotAddedYet(false) on the table before adding it into the itext document. I joined the correction file DISPL-450-DefaultItextExportView-patch.txt Cheers All-in-one patch for update to iText 2.1.5
when using DefaultPdfExportView.java with iText 2.1.6+, I had to use a couple of calls to cb.restoreState() at the end of doEndPage() method. iText 2.1.6+ now throws an exception:
From: http://1t3xt.com/about/history.php?branch=history.21&node=216 Unbalanced saveState()/restoreState() calls to PdfContentByte now raises an IllegalPdfSyntaxException on close() and newPage() Jar with patches for update to iText 2.1.5
|
|||||||||||||||||||||||||||||||||||||
Basically nothing more than replacing deprecated methods (most of them since 2.0.3 and finally removed in 2.1.0)