poi-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 56745] POIXMLException raised when saving workbook if workbook is opened with XSSFWorkbook(String) constructor
Date Mon, 21 Jul 2014 21:06:30 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=56745

--- Comment #4 from Nick Burch <apache@gagravarr.org> ---
Try any other operating system other than Windows, and it should work just
fine...

The underlying OpenXML code supports in-place write, but XSSF does not, so your
options are:
 * Use another OS
 * Write to a different file
 * Write a pile of code to allow XSSF to do an in-place update of the
OPCPakcage

Historically, HSSF only supported writing to a new outputstream because
POIFSFileSystem didn't support updating streams within the OLE2 structure.
These days, the replacement NPOIFSFileSystem does support it, as does the OPC
code, but no-one has been bothered to spend the not insignificant amount of
time to update HSSF and XSSF to do in-place updates of streams within open
packages

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