[iText-questions] Problem with the page event

2008-05-08 Thread Javier Del Amo
Good Morning. I have a problem and I would like sombody can help me. The question is: is possible cancel the event onEndPage, when the last page of the document is created? I am using onEndPage to create the header and footer of the document. The footer have the page number. But I create the

Re: [iText-questions] Problem with the page event

2008-05-08 Thread Bruno Lowagie
Javier Del Amo wrote: The question is: is possible cancel the event onEndPage, when the last page of the document is created? Add a boolean membervariable to your Page Event implementation, for instance: protected boolean lastPage = false; Also add a setter method: public void