http://community.csdn.net/Expert/TopicView.asp?id=3916716
POI操作Excel,如何让行与宽自动调整以适合最合适的高与宽?
类似于它的宏:
Cells.Select
Selection.Rows.AutoFit
Selection.Columns.AutoFit
jxl是:http://jexcelapi.sourceforge.net/
用类 jxl.SheetSettings 有方法 getFitHeight() Accessor for the fit height
getFitWidth() Accessor for the fit width 取得合适的高度,宽度