poi 导出excel 怎么让单元格长点 能包裹这一个cell所有的字
如题目 求大神们解答啊 小弟不胜感激
------解决方案--------------------public void setColumnWidth(int columnIndex,
int width)
Specified by:
setColumnWidth in interface Sheet
Parameters:
columnIndex - - the column to set (0-based)
width - - the width in units of 1/256th of a character width
Throws:
java.lang.IllegalArgumentException - if width > 255*256 (the maximum column width in Excel is 255 characters)