Title: Re: [iText-questions] Nested tables always flattened out?
PdfPCell.addElement()


From: [EMAIL PROTECTED] on behalf of Tom Hjellming
Sent: Tue 14-Sep-04 18:57
To: [EMAIL PROTECTED]
Subject: Re: [iText-questions] Nested tables always flattened out?

Hi Paulo,

I see the following promising comment in changelog.txt for itext-paulo-133 (2004-08-04):

    - ColumnText and PdfPCell supports text only Paragraph, text only List,
      Image and PdfPTable.

But after downloading the itext-paulo-137.jar file as well as the itext-paulo-137.zip source to build javadoc, I do not see any new methods to support Lists in PdfPCell or PdfPTable.

What am I missing?

thanks,
Tom

Paulo Soares wrote:
> See http://itextpdf.sourceforge.net/changelog.txt. A lot of water has passed under the bridge since 1.02b.
>
> Best Regards,
> Paulo Soares
>
>
>>-----Original Message-----
>>From: [EMAIL PROTECTED]
>>[mailto:[EMAIL PROTECTED]] On
>>Behalf Of Tom Hjellming
>>Sent: Tuesday, September 14, 2004 4:53 PM
>>To: [EMAIL PROTECTED]
>>Subject: Re: [iText-questions] Nested tables always flattened out?
>>
>>Thanks Paulo.
>>
>>Looking at PdfPTable/PdfPCell, it looks like only these
>>objects can be placed inside a PdfPCell:  Image, PdfPCell
>>(deep copied), PdfPTable (nested table) and Phrase.  Chunks
>>can also be added via a Phrase.
>>
>>Is there anyway to add List objects?
>>
>>thanks,
>>Tom
>>
>>Paulo Soares wrote:
>>
>>
>>>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: thawte's Crypto Challenge Vl
>>Crack the code and win a Sony DCRHC40 MiniDV Digital Handycam
>>Camcorder. More prizes in the weekly Lunch Hour Challenge.
>>Sign up NOW http://ad.doubleclick.net/clk;10740251;10262165;m
>>_______________________________________________
>>iText-questions mailing list
>>[EMAIL PROTECTED]
>>https://lists.sourceforge.net/lists/listinfo/itext-questions
>>
>
>


-------------------------------------------------------
This SF.Net email is sponsored by: thawte's Crypto Challenge Vl
Crack the code and win a Sony DCRHC40 MiniDV Digital Handycam
Camcorder. More prizes in the weekly Lunch Hour Challenge.
Sign up NOW http://ad.doubleclick.net/clk;10740251;10262165;m
_______________________________________________
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Reply via email to