I am using version .92.

I have a table which I set up these properties:

         table = new Table(numColumns); 
         table.setBorder(Rectangle.NO_BORDER);
         table.setPadding(1);
         table.setSpacing(1);
         table.setCellsFitPage(true);            
         table.setWidth(100.0f);

I have also attached PdfPageEventHelper to print a footer on each page, i.e. 1 of 2.

When adding rows in some cases I use PdfWriter.fitsPage(table) to test if row can be 
added to the page. 

I have a case in which the table broke at what it thought was the end of a page, but 
really was the middle of another page. I believe this is the case because my footer 
has a different page number than when I use PdfWriter.getPageNumber() at the point I 
am writing a row.

Is there a reason why this is happening? Do I have to add more page handling?

Thanks in advance.

_______________________________________________________________

Have big pipes? SourceForge.net is looking for download mirrors. We supply
the hardware. You get the recognition. Email Us: [EMAIL PROTECTED]
_______________________________________________
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Reply via email to