Hi,

I'm just a newbie on iText and have a question:

I want to add a phrase and a table to a paragraph. 
This is no problem...
Phrase and Table are displayed as long as
"setKeepTogether(true)" for the paragraph isn't called.

But if I use "setKeepTogether(true)" for the paragraph to
keep this paragraph on one page only the phrase will be
displayed.

Is it possible to show the table (which is added to a paragraph)
on the PDF-Document if "setKeepTogether(true)" is invoked???

Thank you in advance for your help!!

Katja

-------------------------------------------------------------------
Example:
---------
Paragraph p = new Paragraph();
Table table = new Table(3);
.
.
.       
p.add(new Phrase("bla bla bla"));       
p.add(new Phrase("\n bla bla bla"));       
p.add(table);       
p.setKeepTogether(true);       
document.add(p);

==> Phrase bla bla bla..... is shown but not the table!!!
--------------------------------------------------------------------
_______________________________________________________
WEB.DE Video-Mail - Sagen Sie mehr mit bewegten Bildern
Informationen unter: http://freemail.web.de/?mc=021199



-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
_______________________________________________
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Reply via email to