Created attachment 94799 [details] Document contains 3 ole objects Create document in Ms word by adding OLE objects. open that file in Libreoffice and save it back to docx (Roundtripping). Now open this file in MS word Expected: OLE objects should be there inside doc. Actual: OLE object not getting preserved during roundtripping.
Created attachment 95135 [details] Document contains single ole object
Created attachment 95136 [details] Document contains single ole object roundtripped after code fix
Created attachment 95137 [details] Document contains single ole object roundtripped before code fix
Document containing ole object if RoundTripped then after Roundtripping the OLE object was not working. Which means if doc contains .zip file as ole object then after RoundTripping that .zip object was not getting opened . Reason found that it was because of missing o:title attribute during RoundTrip for <v:imagedata> inside <v:shape>. Verified that code changes working for other ole objects as well which are: Equations ,Excel Sheet and .zip.
Tushar Bende committed a patch related to this issue. It has been pushed to "master": http://cgit.freedesktop.org/libreoffice/core/commit/?id=7b7b64f26b9ef4ed717506f689d6d870305cb2bb fdo#75557 : OLE Objects of type .zip not being preserved in RT The patch should be included in the daily builds available at http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: http://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.