On 28/06/2011 15:41, wellington.nunes wrote: > Hello, > > I'm doing a contract, and some cases paragraphs break between pages. > There is what to do for this not happening? > > For example, if the paragraph is broken, he will automatically go to the > next whole page.
If you need that level of control, use ColumnText, or put the paragraphs in PdfPCell objects in a PdfPTable where the rows may not be split, or look for KeepTogether (I'm not sure if that's still supported). PS: you have posted a mail to itext-questions@lists.sourceforge.net but you weren't subscribed. You are receiving this answer because I've added your mail address in Bcc: I will do this only once! Further answers will be sent to the mailing-list only (you won't receive them if you don't subscribe). Further questions to the mailing-list will be rejected unless you subscribe. Further questions sent to the 1t3xt address will be ignored. Please understand that, as long as you don't subscribe, somebody has to MANUALLY approve your mail among a huge load of SPAM. You can help us avoid this boring administrative job by following the rules: http://itextpdf.com/support.php ------------------------------------------------------------------------------ All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 _______________________________________________ iText-questions mailing list iText-questions@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/itext-questions iText(R) is a registered trademark of 1T3XT BVBA. Many questions posted to this list can (and will) be answered with a reference to the iText book: http://www.itextpdf.com/book/ Please check the keywords list before you ask for examples: http://itextpdf.com/themes/keywords.php