----- Original Message -----
From: "Tom Kofford" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, July 18, 2003 23:19
Subject: [iText-questions] Header/footer on every page but last?


> How can I get a footer to print on every page but the last on a
> variable-length pdf?  I looked at the page events, templates, tutorials,
>
> examples, and can't seem to find a way to do this.  If I add it to every
>
> page in the onEndPage() event, is there a way to remove it from the last
>
> page in the onCloseDocument() event?  Or is there a way in the

No.

> onEndPage()
> event to determine whether or not this is last page?

Set some flag before document.close() and if the flag is set in onEndPage()
do nothing.

Best Regards,
Paulo Soares

>
> Thanks,
> Tom
>
> _________________________________________________________________
> The new MSN 8: advanced junk mail protection and 2 months FREE*
> http://join.msn.com/?page=features/junkmail
>
>
>
> -------------------------------------------------------
> This SF.net email is sponsored by: VM Ware
> With VMware you can run multiple operating systems on a single machine.
> WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the
> same time. Free trial click here: http://www.vmware.com/wl/offer/345/0
> _______________________________________________
> iText-questions mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/itext-questions
>



-------------------------------------------------------
This SF.net email is sponsored by: VM Ware
With VMware you can run multiple operating systems on a single machine.
WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the
same time. Free trial click here: http://www.vmware.com/wl/offer/345/0
_______________________________________________
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Reply via email to