Aaron Baff wrote:
> Anyone able to help me with this? Its really important that I get this fixed.

I had the impression the problem was solved.
Let me retry to rephrase the situation.

You have a header and a footer. This header and
footer is the same on every page. You add them
with a page event and it's a piece of cake to
find out their dimensions (Y-top and Y-bottom
are the relevant coordinates).

Now you want to add several columns. You can
do this with MultiColumnText or ColumnText.

If you use MultiColumnText, you can do this in
an automated mode that takes into account the
margins you defined (Y-top and Y-bottom).

You can also tell MultiColumnText where to
start the column (Y-top), but then you have
to work with isOverflow(). You have tried this,
but you answered you had a problem with that.
You say you don't know how many rows each of
these tables has before outputting them to the
MCT, but I don't see why this is an issue.
That should be completely irrelevant, unless
there's something you're not telling us.

If I had to do the job, I'd use ColumnText.
But that's my personal taste. MultiColumnText
is a convenience class built on top of ColumnText.
It is meant to make your life easier. And it does
for most people. If it doesn't make it easier for
you, you'll have to give a better explanation why
not because I don't see the problem. Honestly!

br,
Bruno

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions
Buy the iText book: http://itext.ugent.be/itext-in-action/

Reply via email to