https://issues.apache.org/bugzilla/show_bug.cgi?id=47889

Yegor Kozlov <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED

--- Comment #2 from Yegor Kozlov <[email protected]> 2009-09-26 04:05:23 PDT ---
Quite an interesting case. 

Firstly, Gnumeric seems to store strings in cells with type="str" which
according to the spec means "cached formula result". Both Excel and OpenOffice
tolerate it and detect such cells as of type 'string' even if the actual
formula is not assigned. I fixed POI to tolerate such worksheets too. 

The second problem is that workbooks created by Gnumeric  don't contain any
defined styles, that is, styles.xml is present but it is empty. This can crop
up in many places as cell.getCellStyle() is supposed to return a not-null
value. 
I made sure that XSSFCell.toString() works - there is a call of getCellStyle()
which resulted in exception.  

The fix was committed in r819106

Regards,
Yegor

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- 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]

Reply via email to