Hello,
I try to define the layout of columns in POI.
Is there a way in POI to set the column to the optimal width?
In Excel you can achieve this by hand: Format-->Column-->Autofit Selection.
Does POI provide a method doing the same?
What I know is how to set a default width:
###
HSSFSheet sheet = wb.createSheet("Test");
....
sheet.setDefaultColumnWidth((short)20);
###
Is there a smarter way?
Many thanks in advanced!
Thomas
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
Mailing List: http://jakarta.apache.org/site/mail2.html#poi
The Apache Jakarta Poi Project: http://jakarta.apache.org/poi/