On Thu, 11 Sep 2008, Thorsten Bux wrote:
does anybody know how to set the width and height of an excel cell to a specific size in pixel?

I think the two methods you'll want are:
http://poi.apache.org/apidocs/org/apache/poi/hssf/usermodel/HSSFRow.html#setHeightInPoints(float)
http://poi.apache.org/apidocs/org/apache/poi/hssf/usermodel/HSSFSheet.html#setColumnWidth(short,%20short)

also i would like to know how to set a cell to the max. possible height and width.

Try giving those two methods really large values? (Not sure, haven't tried)

Nick

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to