----- Original Message ----
From: Hareesh Jayathirtha <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Sent: Monday, July 16, 2007 12:19:42 PM
Subject: [iText-questions] PDFPTable page splitting by column -- issues
Hi Bruno,
Hope you are doing well! I am using the PdfWriter to generate few reports.
User can run multiple reports at a time, and all these would appear in a single
PDF document. As some of the reports could have lot of columns, I am splitting
the table (by columns) using writeSelectedRows() method.
If the user selects reports which are large (which need a split) and smaller
report (which would fit on a page), I am using a combination of
writeSelectedRows() method to write the larger table and then adding the
smaller table to the document (document.add(table)). I ran in to issues where
PDF document looks bad, with few blank pages (they are of zero size, and the
document does not print).
Note: I am also adding several other small tables to the document as
document.add(table).
Is the approach I'm taking wrong? Can you please suggest ways to implement what
I want to do? I have been banging my head against the wall with no luck.
I read on the site about using PdfTemplate to write the table and then cutting
the PdfTemplate whichever way I want, but I do not know how to cut the
PdfTemplate. Any help would be greatly appreciated as I am working against
strict timelines.
Thanks a zillion in advance!
Regards
Hareesh
Send instant messages to your online friends http://uk.messenger.yahoo.com
Send instant messages to your online friends http://uk.messenger.yahoo.com
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
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/