> Does anybody using iText to produce PDFs have an example of a complex
> header/footer??

well there's chapter 12 in the iText tutorial.  then there's the examples
found on itextpdf.sf.net, specifically head_foot.java. it looks like you'll
have to work w/PdfWriter's setPageEvent (PdfPageEvent: onStartPage &
onEndPage). might actually require you to write some java (might not i
haven't tried using this technique on headers/footers yet). btw this class
gives you a large amount of granular control of the PDF creation process.

> So far all I can do is add a simple phrase to the header (with the
> horizontal line under that).  It seems way to limited if you ask me....any
> thoughts?  I'm only about 4 or 5 days into messing with the package ;-)

no, the com.lowagie.text.HeaderFooter class is for your basic header/footer.
its dead simple to use but is limited in what you can control. i think that
might summarzie iText's style of doing things. easy classes for 99% of your
needs but they have more complex, more powerful classes when there's a need
for that kind of complexity.
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

Reply via email to