You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@poi.apache.org by bu...@apache.org on 2015/07/01 20:52:45 UTC

[Bug 58061] Switch to NPOIFS causes simple XLS created by POI to be corrupt

https://bz.apache.org/bugzilla/show_bug.cgi?id=58061

--- Comment #13 from Nick Burch <ap...@gagravarr.org> ---
I've spent quite a bit more time on this, but I'm still stumped as to what
we're doing wrong. OpenMcdf is able to read the files without error or issue,
but libgsf objects. If you open the file in OpenMcdf, save the Workbook stream,
then create a new file with OpenMcdf, Excel opens that file. (However, that
file is wrong in other ways, bugs reported to the OpenMcdf project!) If you
save the Workbook stream out using POIFSDump, then use python + ctypes + libgsf
to write it, then Excel is happy with the file, but in some situations libgsf
gives the same error about its file that it does for NPOIFS generated ones! Bug
reported to libgsf as well. And I still can't work out what NPOIFS is doing
that upsets Excel / OpenOffice...

-- 
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