You would probably want to use a different table for each row.  iText tables have 
columns with a
fixed width for the entire table.

We wanted to do something similar to what you demonstrated and experimented with one 
other idea, but
decided it was too goofy.  We had a list of cell widths that needed to total 100%, but 
individual
cell widths could vary on different rows.  We defined a large number of narrow columns 
(like 100
columns) and used column-span to set the widths (span 34 columns for 34% width).  This 
works but is
very inefficient.  We now just break into multiple concatenated tables when we need 
differing cell
widths.

Good luck
----- Original Message ----- 
From: "Mayank Mishra" <[EMAIL PROTECTED]>
To: "Paulo Soares" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Monday, October 18, 2004 1:45 PM
Subject: Re: [iText-questions] Re: cellWidths and RowHeights


> How do I create a Table structure like the one in attached pdf file
> from iText?I am using PdfPXXX components but I dont know how to change
> cell sizes for each row .
>
> Thanks
> Mayank
>
>




-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
_______________________________________________
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Reply via email to