----- Original Message ----- From: "Thomas Bickel" <[EMAIL PROTECTED]> To: "Post all your questions about iText here" <[email protected]> Sent: Tuesday, June 19, 2007 8:04 PM Subject: [iText-questions] PdfPTable setKeepTogether does not always work
> Hi! > > When using spacing after/before with a PdfPTable setKeepTogether does not > always work. > See the attached pdf for a demonstration of the problem: tables 1 and 2 > are split while tables 3 and 4 are moved to the next page. > Source can be found below. > Is there any way I can make setKeepTogether always work? > No. Use a ColumnText to control the layout. > In addition to that: How do I properly vertically align the cell contents, > as you can see in the example pdf some characters overlap the cell border > which is something I would like to avoid. > PdfPCell.setUseDescender(true). Paulo ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ iText-questions mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/itext-questions Buy the iText book: http://itext.ugent.be/itext-in-action/
