https://issues.apache.org/bugzilla/show_bug.cgi?id=55796
Bug ID: 55796
Summary: cellType is not override by integer value zero.
Product: POI
Version: 3.9
Hardware: PC
Status: NEW
Severity: critical
Priority: P2
Component: XSSF
Assignee: [email protected]
Reporter: [email protected]
The following code fails to set the cell type by integer value zero. Other
types are properly set but zero number seems to have issues. The HSSF
Implimentation does not have this issue.
CODE
=====
//column is a short type variable set with 0,1,2,3,...
XSSFCell cell = row.createCell(column);
cell.setCellType(0)
system.out.println("cell type value : "+cell.getCellTyep);
OUTPUT
======
cell type value 3.
if we set cell type with integer value one.it will be override with one.
CODE
=====
XSSFCell cell = row.createCell(column);
cell.setCellType(1)
system.out.println("cell type value : "+cell.getCellTyep);
OUTPUT
======
cell type value 1.
please response me as soon as possible.
Thank you.
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]