-
- Compatibility of POI-generated .xlsx files with MS Office 2008 for Mac SP2
-
- Office 2008 for Mac SP2 version 12.2.0 introduced a serious bug causing some Open XML files to fail to open.
- This bug is affecting Open XML files from a variety of sources including the Apache POI project.
- The Apache POI project adjusted the XSSF module to produce "MS-compatible OOXML" by setting the Application extended property to "Microsoft Excel". This will allow users to produce OOXML documents that will work with Office 2008 for Mac SP2.
- Please see Bugzilla 47559 for more information.
-
-
- Users are advised to patch existing .xlsx files by the following code:
-
-
-
To unset the Application property use the following code:
-
-
- This is an effective workaround for a short-term bug which is likely to be removed in future versions of POI,
- when Microsoft returns to compliance with the standard. The proper value for Apache POI created documents would to be "Apache POI" and not "Microsoft Excel".
-
-