[dev] Using OOo embedded in HTML with

Wed, 04 May 2005 10:18:27 -0700

Hello,
I am working on an intranet, and I have to manage OOo doc with JavaScript.
I can do that when the documents are created with :
OOoSM = new ActiveXObject("com.sun.star.ServiceManager");
OOoCR = OOoSM.createInstance("com.sun.star.reflection.CoreReflection");
OOoDT = OOoSM.createInstance("com.sun.star.frame.Desktop");
(There are a lot of try/catch)

But if I want to embed the OOo doc with the <object> tag, I don't know how 
to work with it :
I have tried :
<object MAYSCRIPT classid="clsid:67F2A879-82D5-4A6D-8CC5-FFB3C114B69D" 
width="100%" height="100%" id="myOOo" hspace="0">
<PARAM NAME="src" VALUE="private:factory/scalc">
<PARAM NAME="readonly" VALUE="false">
</object>

I can't do anything with myOOo and JavaScript.

I have searched for the web for long hours in vain.
Thanks for any help.

Daniel 




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to