Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / October 2007

Tip: Looking for answers? Try searching our database.

IText MultiColumnText height problems

Thread view: 
Aaron - 02 Oct 2007 17:39 GMT
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


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.