Hi Слава Красильников

(as per 1T3Xt suggestion) If you use the writeSelectedRows(), perhaps you can 
work out in advance when the next trigger is going to occur?  If so you can 
work out how many row's to write, stop that table and then create the new one 
on the newPage.

All the best,
Matthew

-----Original Message-----
From: 1T3XT info [mailto:i...@1t3xt.info]
Sent: 13 April 2010 10:39
To: Post all your questions about iText here
Subject: Re: [iText-questions] adding a pagebreak to a table


Слава Красильников wrote:
> 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?

Add the table to the document.
Create a new one to start on the next page.

Or take over control, and add the table with writeSelectedRows(),
but that's way more difficult.
-- 
This answer is provided by 1T3XT BVBA
http://www.1t3xt.com/ - http://www.1t3xt.info

------------------------------------------------------------------------------
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
iText-questions@lists.sourceforge.net
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
iText-questions@lists.sourceforge.net
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