https://issues.apache.org/bugzilla/show_bug.cgi?id=47559
Yegor Kozlov <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED --- Comment #21 from Yegor Kozlov <[email protected]> 2009-07-24 01:50:52 PST --- Leif, I fixed POI to generate files compatible with Excel 2008 Mac sp2. The fix was committed in r79735 ( https://svn.apache.org/viewcvs.cgi?view=rev&rev=79735 ). I hope that Microsoft will release a fix for Excel Mac soon. Meantime, you can patch existing files with the following code: XSSFWorkbook wb = new XSSFWorkbook(path); POIXMLProperties.ExtendedProperties ext = wb.getProperties().getExtendedProperties(); ext.getUnderlyingProperties().setAppVersion("Microsoft Excel"); FileOutputStream out = new FileOutputStream(path); wb.write(out); out.close(); 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]
