First of all, I've been using POI for a few weeks now and I love it!

In Excel, I can select a region and do Format->Row->Autofix to automatically 
resize columns to conform to the widest cell value in the column.

I see how I can possibly do this by keeping track of the cell widths when I 
generate the sheet and then using HSSFSheet->setColumnWidth(col,width),
but I was wondering if there's an easier and more elegant way of doing it.

Any insight would be much appreciated.

thanks...
Hernan Silberman

-- 
Hernan Silberman


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

Reply via email to