Margins are tricky. Change the margin changes just before a newPage() or in a onEndPage() event.
Best Regards,
Paulo Soares
-----Original Message-----
From: [EMAIL PROTECTED] [SMTP:[EMAIL PROTECTED] On Behalf Of Javi
Sent: Friday, January 16, 2004 9:20
To: [EMAIL PROTECTED]
Subject: [iText-questions] Problem with different margins in multi-page documents
I am writing a pdf document from a jsp using a bean and I want the second and
next pages to have a different upper margin from the first page. I have used
the onStartPage() event, but when it happens, the new margin appears but the
text is upside down. I am writing tables with text inside but text and border
tables don't fit.
I've tried to do the same outside the eventManager, setting the new margin
manually after writing something in the first page, but although the margins
work properly, text and table borders don't.
Anyone can help?
Thanks a lot.
-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions
