fhomasp wrote:
> I was using the embedded tables to be able to calculate the height of a
> cell.  

Aren't there better ways to do that?
Anyway, this is a complex nested table:
http://tinyurl.com/2uyopzk
That's an example from section 4.2.4 of the second edition
(read "Nested tables" and "Complex table layouts").
The borders are removed, so... I don't see the problem.

> Now I created dummy PdfPTables with the same width as the main table,
> add the cell, get the totalsize from the dummy table and discard it.  Now
> the border problem is also gone.

I wouldn't use the dummy tables.
What do you need the height for anyway?
Maybe there's a better way to achieve what you want.

> I would however still like to know what I did wrong.

I tried putting your code sample into a standalone example, but I gave 
up. You didn't give us enought relevant parts of the code. You also 
shouldn't copy/paste code from your project, but instead provide a 
simple standalone example with dummy data that allows us to reproduce 
the problem.
-- 
This answer is provided by 1T3XT BVBA
http://www.1t3xt.com/ - http://www.1t3xt.info

------------------------------------------------------------------------------

_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Buy the iText book: http://www.itextpdf.com/book/
Check the site with examples before you ask questions: 
http://www.1t3xt.info/examples/
You can also search the keywords list: http://1t3xt.info/tutorials/keywords/

Reply via email to