poi-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 55796] cellType is not override by integer value zero.
Date Wed, 20 Nov 2013 11:47:36 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=55796

Bhargav <bhargav.ce86@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEEDINFO                    |NEW

--- Comment #2 from Bhargav <bhargav.ce86@gmail.com> ---
I mean to say that cellTyep is not proper set with value zero.
For example:
------------
//public static final int CELL_TYPE_NUMERIC = 0;

XSSFCell cell = row.createCell(1);
system.out.println("Before - " + getCellType();)
cell.setCellType(XSSFCell.CELL_TYPE_NUMERIC);
system.out.println("After - " + getCellType();)

OUTPUT of above program
------------------------
Before - 3
After - 3

I can't understand what this happened. I set cellType with
CELL_TYPE_NUMERIC(means zero) and when i get cellType, it will return value 3.
how could it is possible.This issued only happened after change the POI-HSSF TO
POI-XSSF.The HSSF Implimentation does not have this issue.


For more information read below link :
---------------------------------------
http://apache-poi.1045710.n5.nabble.com/XSSF-cellType-setting-to-number-td5710637.html

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org


Mime
View raw message