I'm working with HSSF to read Excel data into my own data structure, using the 
high level API (hssf.usermodel).  There seems, however, to be a problem calling 
HSSFCell.getBooleanCellValue() for cells of type CELL_FORMULA.  Rather than 
reading the data, an exception is thrown.  In contrast, 
HSSFCell.getStringCellValue() and HSSFCell.getNumericCellValue() work fine in 
this context.  Further, HSSFCell.getBooleanCellValue() works correctly for 
cells of type CELL_BOOLEAN.  

The following seems to indicate that this issue has been resolved:
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=13078

Is it simply the case that this fix applies only to the event API and these 
changes have not propagated to the high-level API?  Are there workarounds that 
avoid having to reimplement the existing code using the Event API or fixing the 
POI sourcecode(if this really is a bug)?

Thanks.
-Zac


  



----- End forwarded message -----




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to