Issue 70265 - .DOC opened slowly. OLE object (MS Visio) corrupted
Summary: .DOC opened slowly. OLE object (MS Visio) corrupted
Alias: None
Product: General
Classification: Code
Component: code (show other issues)
Version: OOo 2.0.3
Hardware: All Windows XP
: P3 Trivial (vote)
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
Keywords: needhelp, oooqa
Depends on:
Reported: 2006-10-10 14:03 UTC by gtimur
Modified: 2013-08-07 15:31 UTC (History)
4 users (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---

the document is slow to open and the picture is garbled (395.85 KB, application/msword)
2006-10-10 14:05 UTC, gtimur
no flags Details
the documents opens normally with the same drawing (491.00 KB, application/msword)
2006-10-10 15:45 UTC, gtimur
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description gtimur 2006-10-10 14:03:01 UTC
I have MS Word 97-XP .DOC with 2 drawings inside.
I was able to open an old version of the document, but I cannot open a new
version with the comments. The documents is slow to open and one of the drawings
cannot be displayed at the end.
Comment 1 gtimur 2006-10-10 14:05:22 UTC
Created attachment 39664 [details]
the document is slow to open and the picture is garbled
Comment 2 Rainer Bielefeld 2006-10-10 15:41:54 UTC
I checked with "2.0.2  German version WIN XP: [680m5(Build9011)]" (also with
"1.1.4 (German) WIN XP: [645m52 (Build 8824)]" and can confirm the problems.

It seems that the is caused by the Microsoft Visio 11.0 objects in the document.
Both OOo version need several minutes to open the document (100% processor
load), the first one will be shown correctly in 2.0 and 1.1.4, for the second
one I only see a placeholder in 2.0 (it's shown correctly in 1.1.4).

Even after I deleted the visible drawings in WORD2000, the load problem remains,
it seems that only a visible image will be deleted, but not the complete object:
When I open the modified document in OOo, I still see 2 OLE objects in the
navigator, but they are greyed out.

I can't decide whether the problem really is caused by the Visio objects.
Comment 3 gtimur 2006-10-10 15:45:28 UTC
Created attachment 39669 [details]
the documents opens normally with the same drawing
Comment 4 michael.ruess 2006-10-13 11:19:25 UTC
MRU->MAV: at the end of the attached document, there is an MS Vision object
which is currupted (error picture instead of metafile; was shown correct in OO
1.1.x.). Furthermore the document needs a long time to be opened; looks that
this is also a problem with the object referring to the progress bar; was the
same in OO 1.1.x).
Please have a look wether this is a problem in the OLE area or if it is more the
Thanks a lot!
Comment 5 mikhail.voytenko 2007-01-26 10:02:34 UTC
The problem is triggered by the replacement image of the second object. After it
is provided to the helper class controlling the object, the implementation tries
to use Graphic::ExportNative() to store the graphic. This call fails, so the
replacement image is not used while importing.

BTW, the main time of the loading seems to be taken by the conversion of the
image from WMF to GDI metafile.

MAV->SJ: Could you please take a look why the graphic can not be stored to the
Comment 6 Mathias_Bauer 2007-12-04 09:39:40 UTC
target 3.0
Comment 7 sven.jacobi 2008-06-02 15:43:17 UTC
changed target.
Comment 8 gtimur 2010-11-26 09:00:42 UTC
When I open this attachment with OO 3.2.1, it previews fine. It may have
been fixed in some other issue? If so, please mark this one as solved.