Gaet wrote:
maybe I have be banned of the list?
No, you weren't banned ;-)
Maybe you could answer me quickly : Hi, Is there a methode to get the width of a PdfPCell ?
That depends on the way you create your table. Sometimes you just create a dimensionless table and add it to the page. Only when the table is added, it gets its dimension based on the available width on the page. It's like looking at the water in a lake and asking for the 'width of the water'; only when you pour some water in a glass, you can say: in this glass the water has a width of 5 cm; in that bowl it has a width of 20 cm. That's why your question wasn't answered. Any answer is kind of absurd.
I would like to know how long characters my cell could contain?
I'm sorry, but that's also a rather absurd question. The number of characters that fits in a certain width depends on the type and the size of the font.
Like this I will be able to trunk the part of text that could not be displayed (by replacing it by "(...)" for instance) and I will also be able to give the right with to my table.
That's a better question: is it possible to truncate part of the content of a cell. Yes, if you use setFixedHeight, but the text will just be truncated. It won't be replaced with (...) br, Bruno ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ iText-questions mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/itext-questions
