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
Ingo R. Homann - 04 Oct 2007 12:18 GMT
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:
[quoted text clipped - 11 lines]
> 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