> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of S G
> Sent: Thursday, October 13, 2005 6:20 PM
> To: [email protected]
> Subject: [iText-questions] table and cell question
>
> i'm generating a table that needs to be tightly
> formatted. i.e. fixed widths and text inside
> the cells have to fit.
>
> i'm using pdfptable
>
> 1. as i'm adding cells, can i find the height of
> the table so far?
>
setTotalWidth() and then getTotalHeight()
> 2. if the text inside a cell does not fit - i need to
> make the font smaller on a per cell basis. if the cell
> gets too small...then split across multiple lines etc.
>
> how do i do this...i assume cellevents...but haven't
> been able to figure it out exactly.
>
Not cellevents. celevents can't change the cell content. You make your
calculations outside the cell.
> 3. is there a way to set up the table structure
> (widths, format etc). and then add content on the same
> object on a per page basis.
>
> for example:
> - set up table object
> - for each page do
> set table.cell(1,1).setText("???");
>
No.
> thanks.
>
>
>
>
>
> __________________________________
> Start your day with Yahoo! - Make it your home page!
> http://www.yahoo.com/r/hs
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by:
> Power Architecture Resource Center: Free content, downloads,
> discussions,
> and more. http://solutions.newsforge.com/ibmarch.tmpl
> _______________________________________________
> iText-questions mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/itext-questions
>
-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions