The problem has been recently reported in Bugzilla 46772 and fixed in r749054. Try the latest trunk. Daily builds can be downloaded from http://encore.torchbox.com/poi-svn-build/

Yegor

Hi,

I'm using POI again after an absence of several years -- it's great to
see how far it's come.

Question -- is the retrieval of number formats supported with XSSF?  I
have the following code:

Cell cell = cellIterator.next();
Object value = cell.getNumericCellValue();
String numberFormat = cell.getCellStyle().getDataFormatString();

Number format should be "0%" -- the number format for that cell in
Excel, but it's null.   I have this problem with XSSF but it works in
HSSF.

I'm using POI 3.5rc5.  Didn't see anything on this when I searched the
mailing list or Bugzilla.

Thanks in advance

Best, WILL

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]




---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to