When nesting PdfPTable not all rows/cells of the nested table will be 
written to the Document.
Attached you'll find an example class dirk.java which produces the file 
Dirk.pdf in which you can see that only 12 cells will be created although 
13 cells should.
Is it a bug or a wrong usage?

For information issues I sysout both the number of cells as well as the 
number of rows which should be created. (For a predefined number of columns 
(4):

        int rows = dates.size() / 4;
        rows += dates.size() % 4 > 0 ? 1 : 0;

    
-- 
Best regards

Dirk Ulrich

Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen! 
Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer

Attachment: Dirk.java
Description: Binary data

Attachment: Dirk.pdf
Description: Adobe PDF document

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions
Buy the iText book: http://itext.ugent.be/itext-in-action/

Reply via email to