When a PdfPTable is set at an absolute position a page coordinate is given
that is not dependent on the margins. That why it's called absolute
positioning. In the code I sent you the top table position is
"document.top() + margin". document.top() is the official top margin and
"margin" is the offset you want above the official top margin to place the
table.

Best Regards,
Paulo Soares

> -----Original Message-----
> From: Justin [SMTP:[EMAIL PROTECTED]]
> Sent: Thursday, August 01, 2002 15:12
> To:   [EMAIL PROTECTED]
> Subject:      [iText-questions] overlapping text
> 
> I've been trying to work out a problem about overlapping text but I have
> not been successful so far. I've been using the onStartPage to display a
> Table at the beginning of each page(similar to a header) but when the pdf
> extends to 2 pages or more, the header Table(starting from the second page
> on) will squish(push) the text underneath down. The info underneath this
> header Table is also a table and what's happening is the text being
> squished, is pushed into the top row of the table underneath. So only the
> top row has the overlapping text. One of the solutions you suggested was
> to increase the top margin and change the header Table to a PdfPTable so
> that u can set the absolute positioning, but what I don't understand is if
> the top margin is increased the PdfPTable will be pushed down aswell,
> unless there is a way to set the PdfPTable above the top margin. 
> Any ideas?
> Thank you


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Reply via email to