Quoting "John K. Watson" <[EMAIL PROTECTED]>:

> I have a similar odd thing happening with my tables.  It doesn't involve a
> header.  I have a big table followed by several smaller ones.  On the first
> page, everything looks great.  On subsequent pages, there is extra space
> between the big table and the smaller ones.  I have wracked my brains
> looking over my code to try and find something different between the pages,
> but I can't (the pages are generated in a loop, so it has to be identical).
> Anyone have any ideas?
>     John

There is an automatic offset between two tables.
This offset depends on the current leading.
If you haven't added anything yet before you
add your first table; the leading is 0 (I think,
I should check it, but I'm not working on my
own computer rightnow). After a newpage, the
default leading is set to 16.

I think you can avoid this problem by setting
the table offset to 0. table.setOffset(0)

Bruno

_______________________________________________________________

Don't miss the 2002 Sprint PCS Application Developer's Conference
August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm

_______________________________________________
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Reply via email to