Op 3/01/2011 23:56, va schreef:
> thanks in advance, expecially to 1T3XT BVBA that helped me in the first
> part. you are the welcomed here!
I think this isn't something you can solve in an onEndPage method.
I think you should go for a solution where you take control over the 
distribution of the content yourself.
I'd create two ColumnText objects: one for the main content, one for the 
notes.
Add content to the first column, and fill the second column accordingly 
with the notes.
Add the columns to a page in SIMULATION MODE on a regular basis.
This allows you to get information about the number of lines and the Y 
positions of each column.
Add content as long as both columns fit on one page.
As soon as the content doesn't fit, go one step back, fill the page and 
go to a new page.
Plenty of iterations will be necessary. You'll also need to fill the 
Column anew after every simulation.

------------------------------------------------------------------------------
Learn how Oracle Real Application Clusters (RAC) One Node allows customers
to consolidate database storage, standardize their database environment, and, 
should the need arise, upgrade to a full multi-node Oracle RAC database 
without downtime or disruption
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Many questions posted to this list can (and will) be answered with a reference 
to the iText book: http://www.itextpdf.com/book/
Please check the keywords list before you ask for examples: 
http://itextpdf.com/themes/keywords.php

Reply via email to