Paulo Soares wrote:

Right... that's not quite what I expected. :) That's fine.. I really didn't think of an array of Cells.

However it all cases (in what I'm doing) I already know at that point when I need to create the table, just how many cells are required (since that data is also in an array). What I don't get is, how do I get the number of cells that would fit in a table on a page?




I don't see how you can do it without creating an array with the full table and then 
filling the table from that array.

Best Regards,
Paulo Soares



-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Peter Lavender
Sent: Monday, September 06, 2004 11:42 AM
To: iText
Subject: [iText-questions] printing table contents top to bottom left to right


Hi Everyone,

I'm looking for some guidance on printing out a table where the cells are printed top to bottom, left to right.

The issue is, where I have the number of cells exceed the number of cells that would fit in a table for a page, it prints out the table, then moves to the next page.

Given that the size of a cell (height only) is going to be dynamic, I'll need to know how many rows will fit in a table. Where I have tried to get the cell height I only get 0.0 back.

I'm now using PdfPCell and PdfPTable, but can't see or find anything doco or otherwise that would assist, so I've probably been looking in the wrong place.

Thanks for any tips or pointers.

Pete.


-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click
_______________________________________________
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions







-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click
_______________________________________________
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Reply via email to