Thanks for the answer Bruno.

I did research and found that i should use
MultiColumnText to automatically create new pages if
my html data is to large to fit on one page.
Furthermore i added a page event handler onstartpage()
to add a background graphic.

I believe that is the best approach.

--- Bruno Lowagie <[EMAIL PROTECTED]> wrote:

> Harakiri wrote:
> > Also go(true) seems to reset every added element
> 
> go 'consumes' the content of the column.
> This is by design.
> It is explained in chapter 7 of the book.
> 
> > A function like isOverflow(Element e) would
> > be very helpful for the ColumnText.
> 
> I don't understand your code snippet.
> Where did you find it?
> There are better examples available on the net.
> 
> > The problem is i also want to add a background
> graphic at
> > each page and when i do not have control over the
> > columntext element i cant achieve that on the
> second page.
> 
> I don't know if you've read the book, but there are
> different ways to solve this.
> 
> You should do some more reading about ColumnText.
> and also simplify your design. This combination
> will solve most (if not all) of your problems.
> br,
> Bruno
> 
>
-------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get
> the chance to share your
> opinions on IT & business topics through brief
> surveys-and earn cash
>
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> _______________________________________________
> iText-questions mailing list
> [email protected]
>
https://lists.sourceforge.net/lists/listinfo/itext-questions
> Buy the iText book:
> http://itext.ugent.be/itext-in-action/
> 



       
____________________________________________________________________________________
Looking for earth-friendly autos? 
Browse Top Cars by "Green Rating" at Yahoo! Autos' Green Center.
http://autos.yahoo.com/green_center/

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions
Buy the iText book: http://itext.ugent.be/itext-in-action/

Reply via email to