Issue 76240 - embeded MS draw objects not converted to OOo Draw format (odg)
Summary: embeded MS draw objects not converted to OOo Draw format (odg)
Status: CONFIRMED
Alias: None
Product: Writer
Classification: Application
Component: open-import (show other issues)
Version: OOo 2.2
Hardware: All All
: P3 Trivial (vote)
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-04-10 21:11 UTC by rpolach
Modified: 2013-02-07 22:42 UTC (History)
3 users (show)

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


Attachments
MS drawing elements directly placed: fully editable in OOo Writer (19.00 KB, application/msword)
2007-04-11 11:38 UTC, rpolach
no flags Details
MS drawing inside OLE object: NOT editable, NOT savable in OOo Writer (30.00 KB, application/msword)
2007-04-11 11:40 UTC, rpolach
no flags Details
Native OOo Drawing OLE object: OK: Editable, savable (13.18 KB, application/vnd.oasis.opendocument.text)
2007-04-11 11:41 UTC, rpolach
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description rpolach 2007-04-10 21:11:29 UTC
After opening msword's .doc with embeded ms drawing object,
that object is not converted to ooo drawing object, thus cannot
be edited and saved to separate .odg file in Writer.

This should work like math objects, which are converted correctly.
Also appropriate entry for drawing objects should be added to
Tools -> Options -> Load/Save -> Microsoft Office.
Comment 1 michael.ruess 2007-04-11 08:40:13 UTC
Currently these are converted to normal OOo drawing objects (which is the
counterpart to MS Drawing objects). These are not OLE objects thus they are not
converted like OLE's.

But what we could somehow do is to offer a possibility to save these in OO Draw
format (via context or sth. like that).
Comment 2 rpolach 2007-04-11 11:33:53 UTC
It does not seem that they are converted to normal OOo drawing objects.

When I create drawing object in OOo Writer, the object:
* can be saved to separate (.odg) file via context menu
* can be edited by OOo via context menu Edit item (both under Windows and Linux)

These embedded MS drawing object loaded in OOo (and even if saved in .odt)
* cannot be saved separately
* on Linux: cannot be edited at all!
* on Windows: MS Word is started when user select Edit/or/Open i context menu

Note: this is the problem only when the document is created with really embedded
OLE object containing MS drawing elements... directly placed drawing elements in
Word document are OK: they are fully editable in OOo Writer
Comment 3 rpolach 2007-04-11 11:38:45 UTC
Created attachment 44338 [details]
MS drawing elements directly placed: fully editable in OOo Writer
Comment 4 rpolach 2007-04-11 11:40:16 UTC
Created attachment 44339 [details]
MS drawing inside OLE object: NOT editable, NOT savable in OOo Writer
Comment 5 rpolach 2007-04-11 11:41:41 UTC
Created attachment 44340 [details]
Native OOo Drawing OLE object: OK: Editable, savable
Comment 6 Mathias_Bauer 2007-04-11 13:50:51 UTC
There is a confusion about words, I assume.

"Drawing" objects are not the same as "Draw" object.
A "Drawing" object is something like a single rectangle. It can't be saved as a
separate unit, it can only be a part of a document, e.g. a Writer document.
Such objects can be inserted into e.g. OOo Writer by using the Drawing toolbar.

A "Draw" object is a complete drawing document. Such objects can be inserted
into OOo Writer by using "Insert-Object-Drawing". That's what we usually call
"OLE objects". These "Draw" documents themselves consist of several "Drawing"
objects.

When a Word document is imported that contains some Word Drawing objects these
objects are converted into OOo's Drawing objects. And as explained above these
objects can't be saved separately as described above.

What mru talked about is that we could offer a function in the context menu of
Drawing objects that allows to convert it into a Draw object/document on the fly
and save it in odg format. At least that's what I understood. :-)

Comment 7 rpolach 2007-04-11 18:31:32 UTC
ok, thanks for explanation.
I have just changed summary to clarify
subject of this bug to "draw objects".

The main problem I feel is to convert OLE objects to be editable in OOo.
(ediable at all - for linux - and editable in OOo draw instead of MS word - in
windows)
I do not mean to ask to save separate drawing objects
(this could be achieved through copying all these object into new odg document
- even embeded - via clipboard)
Comment 8 Mathias_Bauer 2007-04-12 07:27:23 UTC
Can you tell us what kind of OLE object it is that you have inserted in your
second document? Is it Visio?
MSOffice itself does not have a drawing application AFAIK
Comment 9 rpolach 2007-04-12 08:34:33 UTC
No, not Visio, it is standard Microsoft Word Draw object
created by (menu) Insert -> Object -> Microsoft Word Picture
(may be the item is called not exactly this, because I use czech localisation
of MS Office and there is "Obrázek Aplikace Microsoft Word" object type,
so it can be "Microsoft Word Picture", "Microsoft Word Image", "Microsoft Word
Drawing" etc..)

Alternative steps to create document with this embedded OLE object is this:
1) create new MS Word document
2) make some drawing...
3) save as doc1.doc
4) create another MS Word document
5) menu: Insert -> Object -> From File (page) ... select "doc1.doc"
6) save as doc2.doc
7) start OOo and open doc2.doc
doc2.doc would behave the same way as through_ole.doc attached to this bug

Note: MS Word version is 2000 (9.0.6926 SP-3) run on Windows XP SP2