this is a small question. Is it possible from within the api to insert an ole object from file, just like it can be done using the "insert->object->insert object" ?
I've been looking around, and as far as I can see this is not easy to do. I've seen a workaround that uses the accessibility system that does this, but this workaround is from my point of view terrible. it is also possible to use the TextEmbedableObject but this require a clsid which I do not know (when using "insert->object->insert object" I don't have to enter any clsid), but I have had problem finding out how to get the external file "into" this object. the reason I need this is that I'm trying to convert some documents from microsoft office into openoffice and the microsoft office macros is using a very simple call to do this. Selection.InlineShapes.AddOLEObject _ Filename:=sFileName _ LinkToFile:=False, _ DisplayAsIcon:=True, _ IconFileName:=sIkonfil, _ IconLabel:="Label" so, is there a simple way to do this in OOo.org ? -- Christian Andersson - [EMAIL PROTECTED] Configuration and Collaboration for OpenOffice.org Open Framework Systems AS http://www.ofs.no --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
