I don't understand a thing of what you are saying. 

> -----Original Message-----
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of leo
> Sent: Thursday, April 28, 2005 12:06 AM
> To: itext-questions@lists.sourceforge.net
> Subject: [iText-questions] Help with Page numbering
> 
> Hi,
> 
> I am using PDFPTable to print data on the document. I want to 
> print the page 
> number on the page footer. I am not using any iText API methods 
> (document,pdfwriter methods) for that. Reason behind is I 
> have to break the 
> table to the new page if the number of columns on a page 
> exceeds from 8. So if 
> I try to use existing methods I get strange page numbers. So 
> I am creating the 
> page numbers myself in the following method (PdfPageEventHelper):
> 
> public void onEndPage(PdfWriter writer, Document document)
> 
> which gets called when a page ends.
> 
> But Now I have got one problem, which is : Suppose that I 
> have normal data say 
> 6 columns on a page and I don't have to break the table. Now 
> the number of rows 
> are more than the limit a page can show, so iText will put 
> the remaining rows  
> to a new page automatically. at this point onEndPage method 
> do gets called and 
> the pageNumner variable gets incremented, but the page number 
> in the footer on 
> the page does not get updated. Do I need to flush some data?
> 
> Please help as soon as possible.
> 
> Thanks.
> 
> 
> 
> -------------------------------------------------------
> SF.Net email is sponsored by: Tell us your software development plans!
> Take this survey and enter to win a one-year sub to SourceForge.net
> Plus IDC's 2005 look-ahead and a copy of this survey
> Click here to start!  http://www.idcswdc.com/cgi-bin/survey?id=105hix
> _______________________________________________
> iText-questions mailing list
> iText-questions@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/itext-questions
> 


-------------------------------------------------------
SF.Net email is sponsored by: Tell us your software development plans!
Take this survey and enter to win a one-year sub to SourceForge.net
Plus IDC's 2005 look-ahead and a copy of this survey
Click here to start!  http://www.idcswdc.com/cgi-bin/survey?id5hix
_______________________________________________
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions

Reply via email to