Hi, document.newPage() should work.
Perhaps it's that you need to end the current table you're using (so that it doesn't try to write it to the the next available location), and create a new table for the new page? (I'm unsure if this works but very easy to code a new table to start adding data into). Matthew -----Original Message----- From: [email protected] [mailto:[email protected]] Sent: 13 April 2010 09:23 To: Post all your questions about iText here Subject: [iText-questions] adding a pagebreak to a table Hi. I have encountered a subj problem. I am constructing quite large pdfptable (from ) from an array of strings, which are taken from the database. And on some trigger i need the table to be continued on new page. I insert document.newPage(), but that doesn't seem to work. Are there any other methods to split the table between the pages? thank you -- С уважением Вячеслав Красильников ------------------------------------------------------------------------------ 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/
