IText MultiColumnText height problems

A

Aaron

I'm having a problem with IText MultiColumnText object in java when I
set the height as part of the constructor. For example, I do:

MultiColumnText mct = new MultiColumnText(400f);

and this should result in there being plenty of space at the bottom of
each page, and there is, but there is only a SINGLE page of output
produced by this. Not the 70+ pages which result when I do:

MultiColumnText mct = new MultiColumnText();

The reason I am trying to set the height is I have a footer on the
document that the height seems of which almost seems to be ignored as
some of the columns end up with text covering the footer that I have.
Any help or ideas would be greatly appreciated!

--Aaron
 
I

Ingo R. Homann

Hi,
I'm having a problem with IText MultiColumnText object in java when I
set the height as part of the constructor. For example, I do:

MultiColumnText mct = new MultiColumnText(400f);

and this should result in there being plenty of space at the bottom of
each page, and there is, but there is only a SINGLE page of output
produced by this. Not the 70+ pages which result when I do:

MultiColumnText mct = new MultiColumnText();

The reason I am trying to set the height is I have a footer on the
document that the height seems of which almost seems to be ignored as
some of the columns end up with text covering the footer that I have.
Any help or ideas would be greatly appreciated!

Indeed, a footer is printed directly to the page and is not taken into
consideration when calculating the remaining space of a page. Therefore,
a footer and the real content of the page may overlap.

I think, setting the borders of the page will solve the problem.

Hth,
Ingo
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,012
Latest member
RoxanneDzm

Latest Threads

Top