Perhaps he needs to clarify what he needs, as it seemed to me (and I'm often wrong ;-) ), that he would have a table spanning many pages, then at some point he needs it to start a new page mid page, as opposed to just writing a load of row's and the page's automatically splitting as such across multiple pages.
Happy to be wrong! :D Matthew -----Original Message----- From: 1T3XT info [mailto:i...@1t3xt.info] Sent: 13 April 2010 09:39 To: Post all your questions about iText here Subject: Re: [iText-questions] adding a pagebreak to a table Слава Красильников wrote: > 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? The table splits automatically; newPage() isn't needed. Unless you're adding your table with writeSelectedRows(). Did you read the chapter about tables? In the first edition: chapter 6 In the second edition: chapter 4 -- 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/