Hi, is there gone be changes to prevent splitting of header and content? In 
following structure header and content is splitted on diffrent pages. Another 
problem is that also multiple content rows can be splitted on different page 
and in some cases it's leaving orphan content rows. 
com.lowagie.text.Document PDFdocument pDFdocument = new 
com.lowagie.text.Document(pageSize, lMargin, rMargin, tMargin, bMargin);
com.lowagie.text.Table table = new com.lowagie.text.Table(columnWidths.length);
chunk = new Chunk("SOME HEADERTEXT", font12B);
Cell cell = null;
cell = new Cell(chunk);
table.addCell(cell);
chunk = new Chunk(SOME CONTENT", font12);
Cell cell = null;
cell = new Cell(chunk);
aTable.addCell(cell);
pDFdocument .add(aTable);

- Cruze- 

-------------------------------------------------------------------------
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/

Reply via email to