My task is this: create a pdf report document of many pages where each page
has a header with both fixed content and dynamic content (the value changes
periodically throughout the report).
I have been unable to accomplish this. I have a class that builds the
report and a class that builds the header which extends PdfPageEventHelper.
The PdfPageEventHelper class has access to the attributes that periodically
change in the report class. I initialize the variables that need to display
in the onStartPage method, and display the header information in the
onEndPage method. Whatever the LAST variable values are for the report is
what gets printed in the header of every page. So, it looks like the
PdfPageEventHelper methods do not execute until the entire document is
complete - by which time I have lost the ability to capture the values I
need. Is there a way to do this?
Clair W. Cabal
Nelson & Associates
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions
Buy the iText book: http://itext.ugent.be/itext-in-action/