Maybe the solution is to have PdfPTable also work in html and rtf.

Best Regards,
Paulo Soares

> -----Original Message-----
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On 
> Behalf Of Tom Hjellming
> Sent: Tuesday, September 14, 2004 12:36 AM
> Cc: [EMAIL PROTECTED]
> Subject: [iText-questions] Nested tables always flattened out?
> 
> Hi,
> 
> I'm trying to generate PDFs that are layed out with nested 
> tables to get proper layout (similar to how you would use 
> HTML tables).
> 
> As an example, the outer-most table has a single row with two 
> columns (left and right).  The left column has an image and 
> another table.  The right column has some other text and it's 
> own nested table.  The nested tables are being added their 
> own cells (I'm not using the Table.insertTable() method).  
> 
> The resulting PDF has the two nested tables lining up row for 
> row -- and that is seriously messing up the outer two-column 
> layout.  I need to them to "flow" independently.
> 
> I've looked through the source code and can see the private 
> mergeInsertedTables() method.  It seems that method is only 
> called during the public complete() method and then only if 
> mTableInserted is set (which only seems to be set in the 
> insertTable() method).
> 
> Is there some trick to getting this to work?
> 
> Is this a drawback to the Table class?  Would I have better 
> luck with PdfTable?  I've been trying to use Table instead of 
> PdfTable because I'm anticipating a need to generate HTML 
> and/or RTF documents too in the future.  
> 
> Thank you,
> Tom
> 
> 
> 
> -------------------------------------------------------
> This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
> Project Admins to receive an Apple iPod Mini FREE for your 
> judgement on
> who ports your project to Linux PPC the best. Sponsored by IBM. 
> Deadline: Sept. 13. Go here: http://sf.net/ppc_contest.php
> _______________________________________________
> iText-questions mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/itext-questions
> 


-------------------------------------------------------
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 13. Go here: http://sf.net/ppc_contest.php
_______________________________________________
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Reply via email to