I'm building a pdf document using itext. The document has an header/footer I
added using page events (I was forced todo that because the header contains
images and other elements).
Every time I have to add a new page I manually add some blank rows to avoid
writing inside the header:

document.newPage();
document.add(new Paragraph(30, " "));

the problem I have is that, when the new page is created automatically (for
example when the page contains many long variable element), the blank lines
are not added so the first element of the new page is written inside the
header.
How can I manage this? Can you give me a hint?
Thanks, James
-- 
View this message in context: 
http://www.nabble.com/adding-empty-rows-on-the-top-of-each-page-tp19626335p19626335.html
Sent from the iText - General mailing list archive at Nabble.com.


-------------------------------------------------------------------------
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