Hi all,
 
I'm able to set the desired column width in pixels using this:
myHSSFSheet.setColumnWidth(columnIndex, (short) (widthInPixels * 37))
but how can I set a column to adjust to its content width?
 
Is there some kind of "setShrinkToFit" method like in JExcel API, or how can
I check the largest value in the column to do it manually (I saw that we can
use FOP font metrics, but do I really need an extern framework, and has
someone a code example)?
 
 
TIA,
 

Jeremie.

Reply via email to