Bug 79523 - FILEOPEN: MSO ODT - OLE object not rendered and fallback image not useful
Summary: FILEOPEN: MSO ODT - OLE object not rendered and fallback image not useful
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
4.1.6.2 release
Hardware: Other All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: OLE-Objects
  Show dependency treegraph
 
Reported: 2014-06-02 03:21 UTC by Yousuf Philips (jay) (retired)
Modified: 2017-10-31 06:23 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
pdf output of the file from word 2013 (1.63 MB, application/pdf)
2014-06-02 03:21 UTC, Yousuf Philips (jay) (retired)
Details
MS Word 2013 vs LibO 4.2 (131.33 KB, image/png)
2014-06-02 03:23 UTC, Yousuf Philips (jay) (retired)
Details
Formula - Question marks "¿" (90.12 KB, image/png)
2014-06-05 17:51 UTC, Firas Hanife
Details
trimmed sample (31.97 KB, application/vnd.oasis.opendocument.text)
2017-10-07 14:02 UTC, Yousuf Philips (jay) (retired)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Yousuf Philips (jay) (retired) 2014-06-02 03:21:21 UTC
Created attachment 100262 [details]
pdf output of the file from word 2013

When examining from attachment 93106 [details] bug 74262, i noticed that an image didnt appear in LibO. Not sure if this is an MSO fault as i wasnt able to load the file in Calligra Words because it would crash trying to open it. Tested on Linux Mint with LibO 3.6.7, 4.2.4 and 4.3 beta.
Comment 1 Yousuf Philips (jay) (retired) 2014-06-02 03:23:48 UTC
Created attachment 100263 [details]
MS Word 2013 vs LibO 4.2
Comment 2 Firas Hanife 2014-06-05 17:50:28 UTC
Reproduced with 4.1.6.2, 4.2.4.2 and 4.3.0.0.beta1
So I'm changing affected LibreOffice version.

The image located on page 67 is not rendered and a red cross is shown.
I also noticed that on page 29 and 30 some formulas are not recognized by LibreOffice, instead "¿" are shown (I'm adding a screenshot). Probably those formulas were not created by LibreOffice (Word 2013?).
Comment 3 Firas Hanife 2014-06-05 17:51:25 UTC
Created attachment 100478 [details]
Formula - Question marks "¿"
Comment 4 Yousuf Philips (jay) (retired) 2014-06-05 18:02:18 UTC
It should be noted that in office 2007 and 2010, the same red cross appears.
Comment 5 QA Administrators 2015-06-08 14:42:24 UTC Comment hidden (obsolete)
Comment 6 Yousuf Philips (jay) (retired) 2015-06-10 06:49:32 UTC
Still present. The image style is set to 'Graphic' but the OLE-Object toolbar appears when it is selected.

Version: 5.1.0.0.alpha1+
Build ID: 782c116b5ac39aef27c3a00f7fc145c9f755e3a3
TinderBox: Linux-rpm_deb-x86@45-TDF, Branch:master, Time: 2015-06-09_23:59:00
Comment 7 QA Administrators 2016-09-20 10:01:32 UTC Comment hidden (obsolete)
Comment 8 Yousuf Philips (jay) (retired) 2017-10-07 13:49:07 UTC
So the odt was created with word 2013 and LO is displaying the fallback image (/ObjectReplacements/Object 213) of the ole object (/Object 213), just like word 2007 and 2010, so there isnt much that LO can do about this if it cant render the OLE object itself.

The relevant XML is.

<draw:frame draw:z-index="251659264" draw:id="id28" ...>
  <draw:object-ole ... xlink:href="Object 213" xlink:type="simple" xlink:show="embed" xlink:actuate="onLoad" />
  <draw:image xlink:href="ObjectReplacements/Object 213" xlink:type="simple" xlink:show="embed" xlink:actuate="onLoad" />
  <svg:title />
  <svg:desc>OLE-объект</svg:desc>
</draw:frame>
Comment 9 Yousuf Philips (jay) (retired) 2017-10-07 14:02:11 UTC
Created attachment 136831 [details]
trimmed sample