I have already adapted the endpage example to add a header to the generated pdf.
What's not so nice in this example is that the complete page is created in the helper class.
Isn't it possible to only build the header at onPageEvent?

I want to show some kind of table in the header on each page. The pages content should be created in the 'main' class.

It should just behave as you expect for using document.setHeader(...);

I want to build the docuemnt's content and before I defined the header and just set it to the document so that it wil be placed at the top of each page. ...and it ensures that the document's content begins AFTER the header. How can I achieve this behaviour using onPageEnd?

Thank you,
Dirk



--
Mit freundlichen Grüßen

Dirk Ulrich
Jansenstraße 21
13437 Berlin
fon:0++49-(0)30-40 999 087
mobil:++49-(0)174/948 87 39

Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen!
Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions

Reply via email to