Hi all-

I'm confused about why the top margin for document content on the
first page is slightly smaller than on subsequent pages while the
content I put in onEndPage() is slightly greater. Everything looks
fine from page 2 onward; only the first page has this particular
situation.

I see in the example on headers/footers in the book that the header is
only added after the first page; in my case I need the header on every
page (the resulting document is a bunch of individual invoices all
packaged up for the business folks).

I've been trying to manually adjust offsets for the header in
onEndPage() based on whether the current page is 1 or higher, and
likewise in the body of the document as well. It's gotten pretty
crazy, and still doesn't work right, and I figure that I'm just doing
something wrong and there's a command that I haven't found to set the
first page like all the rest.

Thanks for any assistance,

Tacho

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Buy the iText book: http://www.1t3xt.com/docs/book.php

Reply via email to