The simplest way is to put each group in a PdfPTable cell and make the table
split late.
----- Original Message -----
From: "sameer angadi" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Saturday, November 19, 2005 10:26 PM
Subject: [iText-questions] Implementing the page break logic for the PDF
document
Hi,
I am using iText for the generation of PDF reports. I am able to generate
the PDF reports. But we have a specific requirement for the page break logic
to be implemented in the report.
Consider the following scenario
Item1
Sub Item1
Msr1
Msr2
Msr3
Msr4
Msr4
Item2
Sub Item 2
Msr1
Msr2
Msr3
Item 3
Sub Item 3
Msr1
Msr2
Msr3
Now if the data for the "Item 3" is not fitting on single page that is
data is split across the page then the entire data for the Item 3 should be
displayed on the next page.
It will be really helpful if you can tell me the ways in which I can find
out whethere the data for the Item can fit into the remaining part of the
page. If not move the data for item to next page.
Thanks in advance.
Regards,
Sameer
---------------------------------
Yahoo! FareChase - Search multiple travel sites in one click.
-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc. Get Certified Today
Register for a JBoss Training Course. Free Certification Exam
for All Training Attendees Through End of 2005. For more info visit:
http://ads.osdn.com/?ad_id=7628&alloc_id=16845&op=click
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions