Page 1 of 1

Embed as OLE not working after OO 2.0

Posted: Fri Oct 02, 2009 6:41 pm
by strausz
We have been embedding an OO draw file using OLE into a plot sheet of a GIS program which allows users with OO installed to view & edit the embedded file.

This has worked great, but with workstation OO updates we have discovered that we can no longer embed the Draw file correctly. It does not anchor correctly and the size is extremely small. We notice the same behavior trying to embed in Microsoft Word documents (MS Office 2003). It worked fine with OO vr. 2.0, but not in later versions (at least not 2.4, and we have also tried the latest 3.1.1). Once embedded with vr. 2.0. later versions will open it from the host software and edit correctly, but only version 2.0 seems to be able to embed correctly.

Newer versions of Draw will embed correctly in other OO programs (Write, Impress), but not anymore in other software.

Thanks for any clues, we would sure like to upgrade our OO.

Re: Embed as OLE not working after OO 2.0

Posted: Sat Oct 03, 2009 12:29 am
by Safway
What steps do you take to link and embed the Draw file into the GIS software?

Maybe bring the file into the GIS program a different way?
* Cut from OO.o and paste into the GIX software
* From within the GIS software could you "Insert from File"
* Click from OO.o and drag into the GIX software

Re: Embed as OLE not working after OO 2.0

Posted: Sat Oct 03, 2009 7:23 pm
by strausz
Thanks for response.

Normal procedure was to use the "Insert OLE object, from file" in host document. This worked fine with OO 2.0 as OLE server, but not with later versions, including, 3.1. Oddly, the problem seems to be with odg files only, odt documents still will embed correctly. Also, later versions can still embed odg documents in other OO documents (odt, odp, etc.).

We can replicate the problem with Insert OLE object into an MS Word document (MS Office 2003); works fine with OO 2.0 installed, but not with later versions. Because of this we wonder why we have not found other discussion of this on forums, maybe we have some other Windows configuration that is interferring with the OLE.

We have not tried drag and drop, or using clipboard, we will test that, but I think the problem is with the OO OLE server implementation, so I expect we will see the same problem.

On the same workstation, we can remove OO, reinstall OO 2.0, and the original functionality is restored, so again, we think something has changed in the OLE server implementation after version 2.0.

Re: Embed as OLE not working after OO 2.0

Posted: Wed Dec 09, 2009 10:59 pm
by bobh
Did you find a fix for this? I am also having the problem. Running Windows XP, Oo 3.0.0.
It will insert the document itself, albeit, the document is always sized horribly for some reason, but I can't get it to embed the document at all. I"m going to try upgrading and see if that fixes it.

Re: Embed as OLE not working after OO 2.0

Posted: Wed Dec 09, 2009 11:40 pm
by strausz
Sorry to report no resolution. Frankly we have been busy with other stuff, have not done much more testing. Our temporary solution now is to do the embedding with a workstation running OO 2.0. Luckily we had this installed on a workstation, we deleted our 2.0 installation package, and it is no longer available from the OO download site.

Re: Embed as OLE not working after OO 2.0

Posted: Thu Dec 10, 2009 12:31 am
by Safway
Here are some download sites if you need to download an older copy:

http://www.oldapps.com/openoffice.php?old_openoffice=12
http://download.openoffice.org/2.0.0/source.html