http://poi.apache.org/apidocs/org/apache/poi/hssf/usermodel/
http://poi.apache.org/apidocs/org/apache/poi/ss/util/CellRangeAddress.html
http://poi.apache.org/apidocs/org/apache/poi/hssf/usermodel/HSSFSheet.html
http://poi.apache.org/apidocs/org/apache/poi/ss/usermodel/Row.html#createCell(int)
Cell createCell(int column)
Use this to create new cells within the row and return it.
The cell that is returned is a Cell.CELL_TYPE_BLANK
. The type can be changed either through calling setCellValue
or setCellType
.
-
Parameters:
-
column
- - the column number this cell represents
Returns:
- Cell a high level representation of the created cell. Throws:
-
java.lang.IllegalArgumentException
- if columnIndex < 0 or greater than the maximum number of supported columns (255 for *.xls, 1048576 for *.xlsx)