You could add one row to the document at a time, or add effectively one table 
to the page at a time, emulating it as a row.  Then whilst in your loop you 
would simply check for your trigger to start a new page.  That way the document 
is always upto date and ready for 'newPage' at any time.

Be aware that it certainly isn't the most efficient of methods!  (There may be 
a more efficient way that someone else can suggest.)

-----Original Message-----
From: [email protected] [mailto:[email protected]]
Sent: 13 April 2010 10:33
To: Post all your questions about iText here
Subject: Re: [iText-questions] adding a pagebreak to a table


Matthew is right. I need to start table from a mew page in the mid of
the previous page.
So, i have to write some number of rows at one page, and i don't know
the exact number of them at the moment of creating document, and on
some trigger i need to start writing following rows from the next
page. Is there any way to split the table in the middle of the page?

thanks
-- 
С уважением
Вячеслав Красильников

------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Buy the iText book: http://www.itextpdf.com/book/
Check the site with examples before you ask questions: 
http://www.1t3xt.info/examples/
You can also search the keywords list: http://1t3xt.info/tutorials/keywords/

Land Registry's House Price Index is now live. www.landregistry.gov.uk

If you have received this e-mail and it was not intended for you, please let us 
know, and then delete it. Please treat our communications in confidence, as you 
would expect us to treat yours. Land Registry checks all mail and attachments 
for known viruses, however, you are advised that you open any attachments at 
your own risk.



The original of this email was scanned for viruses by the Government Secure 
Intranet virus scanning service supplied by Cable&Wireless in partnership with 
MessageLabs. (CCTM Certificate Number 2009/09/0052.) On leaving the GSi this 
email was certified virus free.
Communications via the GSi may be automatically logged, monitored and/or 
recorded for legal purposes.

------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Buy the iText book: http://www.itextpdf.com/book/
Check the site with examples before you ask questions: 
http://www.1t3xt.info/examples/
You can also search the keywords list: http://1t3xt.info/tutorials/keywords/

Reply via email to