You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@poi.apache.org by gesnal <ge...@gmail.com> on 2010/04/22 17:45:28 UTC
How to fit text in table cell of a ppt
Hi all,
I am tryng to write text inside a cell of a table located in a slide (I am
using hslf). My code is the following:
...
Table table = (Table)shpBloquesAvPro[s];
table .getCell(1, 0).setText("My Text");
...
But, the text goes out of the cell. I have tried to apply resizeToFitText()
method to the cell but it doesn't work.
What can I do for increase the cell size when the text is big?
Thank for your attention,
Gorka.
--
View this message in context: http://old.nabble.com/How-to-fit-text-in-table-cell-of-a-ppt-tp28330749p28330749.html
Sent from the POI - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@poi.apache.org
For additional commands, e-mail: user-help@poi.apache.org