Disable CDATA in XSSF workbook 5.0.0
Jeremy Pennington <[email protected]>
| Newsgroups | gmane.comp.jakarta.poi.user |
|---|---|
| Message-ID | <pony-8e1025e7751f5fcc9eb8896ed34cc1b3032afc7a-c6b980da5a629909adb35ada25b38a966b81c8d5@user.poi.apache.org> |
I have some long formulas that are turned into CDATA (they have 5+ &'s in them) but I would like to disable that. I found an old comment from Yegor Kozlov with a way to disable CDATA as a workaround for a bug (https://bz.apache.org/bugzilla/show_bug.cgi?id=48936). I attempted this method in 5.0.0 with no success. I'm not sure if that's in part due to DEFAULT_XML_OPTIONS no longer being in POIXMLDocumentPart or not (I tried passing nothing to the XmlOptions constructor as well as POIXMLTypeLoader.DEFAULT_XML_OPTIONS). Thanks, Jeremy