Wendy Smoak wrote:
From: "Bruno" <[EMAIL PROTECTED]>
The layout of each cell can be done in the cell event.
This is not working.
That's simply not true, Wendy, you should know better than to blame iText for everything that goes wrong in your code. (Sorry if I sound angry, but your remark as well as your code really disappointed me.)
Please take a look at: http://itext.sourceforge.net/tutorial/objects/tables/pdfptable/index.html#cellevents http://itext.sourceforge.net/examples/com/lowagie/examples/objects/tables/pdfptable/FloatingBoxes.java http://itext.sourceforge.net/tutorial/objects/tables/pdfptable/FloatingBoxes.pdf I made this update especially for you.
If you need other spacing, leading,... just change some parameters and invoke some extra methods on the default cell (e.g. setLeading, setAscender, setDescender,...) as documented in the tutorial and javadoc API.
br, Bruno
------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ iText-questions mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/itext-questions
