Apache OpenOffice (AOO) Bugzilla – Issue 36885
flat XML filters don't support OLE objects
Last modified: 2005-02-25 11:48:11 UTC
Currently flat XML filters of OOo or OASIS file formats don't support OLE objects, i.s. if you save any files with OLE objects (MSO Math, Chart, etc) to flat XML files of OOo or OASIS, you can't open these files and see those OLE objects again, although the binary data of these objects (base-64 encoded) are saved in the flat XML files already. Due to this bug, important features of importing MsWordXML files with OLE objects (e.g. Math, Chart, etc) are impossible to implement.
Created attachment 19115 [details] file with MSO Math OLE object
Created attachment 19116 [details] mso file with chart object
Gavin, I don't see any other features except Math and chart objects that cannot be imported and exported if OLE objects don't work. For this reason, P3 seems to be mor apropriate. However, it is not yet known wheter BASE64 enxoced OLE objects are compatible between WordProcessingML and Open Office XML.
I think other OLE objects native to MSO e.g. spreadsheet, or others can't be imported in until OOo supports importing MSO-base64-encoded OLE object in its flat XML filter. Perhaps there're something different between the base64-encoding style of OOo OLE objects and MSO OLE objects. But at least now, OOo can't readin/import its own saved flat XML files by its flat XML fitler, showing OLE objects correctly, it's a bug obviously, and fixing it is a first step to implement supporting OLE objects from MSO files.
MIB->MAV: There have been several issues in the XML filter implementation that prevented (internal and external) OLE objects from being loaded in the flat file format. I've resolved these issues in the CWS oasisbf4, but external OLE object still do not work. My assumption is that they are not inserted into the embedded object container at all, because some code is missing in SvXMLEmbeddedObjectHelper::ImplReadObject (svx/source/xml/xmleohlp.cxx)
Fixed.
reopened for reassign
.
To verify: Insert a math object and for instance a paintbrush object into a writer document, save it using a flat xml filter, and reload it. I will attach an XSLT stylesheet that can be registered as flat XML filter.
Created attachment 21856 [details] Flat XML XSLT styleshaeet
Now the OLE objects are included in the flat XML component.
close it.
QA will close that issue not development.
setting to fixed.
verified.
it has not been verified in the MASTER by the QA, reopening.
fixed
verified
SRC680m78 has a problem with external OLE objects. Can not test it in the MASTER. #i42331#
Tested with internal and external OLE objects and works fine (PwrPt 2003, Math) in m81.