Apache OpenOffice (AOO) Bugzilla – Issue 76240
embeded MS draw objects not converted to OOo Draw format (odg)
Last modified: 2013-02-07 22:42:35 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.
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).
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
Created attachment 44338 [details] MS drawing elements directly placed: fully editable in OOo Writer
Created attachment 44339 [details] MS drawing inside OLE object: NOT editable, NOT savable in OOo Writer
Created attachment 44340 [details] Native OOo Drawing OLE object: OK: Editable, savable
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. :-)
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)
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
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