poi-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gesnal <ges...@gmail.com>
Subject How to fit text in table cell of a ppt
Date Thu, 22 Apr 2010 15:45:28 GMT

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,

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

View raw message