Hi, is there anyone who can give me a answer to this simple question? Our 
project is going into production in month and there is this new requirement 
that can prevent it. I know that the Table class shoud not be used anymore. 
Project has started over three years ago so some of the technical issues can be 
out of time. iText is totally new "component" for me and seems that it has no 
support over Orphan rows. I have use to work with FOP and there was pretty 
simple support for orphan rows. So shoud I change everything and start to use 
FOP or is there some simple way to do this in iTExt?

- Cruze - 





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. 
So there should be mechanism that while rows are splitted there will be at 
least two rows on the next page. 

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