-none- 2007-10-03 - By Bruno Lowagie (iText)
Back Aaron Baff wrote: > Bruno, > > I think I see what seems to be happening. With the height specified, > MultiColumnText will only go to that height, and not go onto another > page. The problem with using isOverflow() for me is I am iterating > over a list of objects each of which represents a 2 column table. So I > do not know easily how many rows each of these tables have before > outputting them to the MCT.
That's not an issue. The remaining tables are in the MultiColumnText object. No need to worry about that.
> My big problem is, I have a footer on the > page and the MCT at some points, on some columns (not consistantly) > the text is intermixing with the footer text. Basically, it seems to > me that MCT is honoring the document.bottomMargin(), but does not add > the height of any footer that the document has into how far down it > can go on the page before wrapping to the next column.
That's expected behavior. Make sure your header and footer remain inside the margins you defined when creating the Document object.
br, Bruno
-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ----- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ __ ____ ____ ____ ____ ____ ____ ____ ____ ____ iText-questions mailing list iText-questions@(protected) https://lists.sourceforge.net/lists/listinfo/itext-questions Buy the iText book: http://itext.ugent.be/itext-in-action/
|
|