You can put your footer in a template and set that template in onEndPage. Best Regards, Paulo Soares
----- Original Message ----- From: "Marc Lustig" <[EMAIL PROTECTED]> To: "iText list" <[EMAIL PROTECTED]> Sent: Monday, July 28, 2003 11:20 Subject: [iText-questions] how to avoid building the footer on each onEndPage call ? > Hi, > > I'm about to get started with an event-based footer. > I've only got one question: how do you avoid creating the same footer > each and every time onEndPage is called? > Is there a possibility to store a user object (such as a PdfPTable) into > the document or the writer object so that this object can be retrieved > in the onEndPage method? I couldn't find anything like storeTemp(). > The only solution that comes to my mind would be to retrieve the object > via a static method. Any idea? > > Regards > Marc > > > > ------------------------------------------------------- > This SF.Net email sponsored by: Free pre-built ASP.NET sites including > Data Reports, E-commerce, Portals, and Forums are available now. > Download today and enter to win an XBOX or Visual Studio .NET. > http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01 > /01 > _______________________________________________ > iText-questions mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/itext-questions > ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ iText-questions mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/itext-questions