poi-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Beardsley <markbrd...@tiscali.co.uk>
Subject Re: How to set the cell shrink to fit?
Date Thu, 13 Jan 2011 13:15:46 GMT

Er, forgive me if I am being a bot thick but have you looked at the
autoSizeColumn(int) method yet? I guess most people use it to ensure the
colunms are large enough but I would imagine that it can adjust the size
both ways, up and down.


Mark B

PS The method is defined on the Sheet interface and should be accessible for
both HSSFSheet and XSSFSheet instances.
View this message in context: http://apache-poi.1045710.n5.nabble.com/How-to-set-the-cell-shrink-to-fit-tp3304220p3339748.html
Sent from the POI - Dev mailing list archive at Nabble.com.

To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org

View raw message