Joined: 23 Jul 2005
|Posted: Sat Jul 23, 2005 11:19 am Post subject: Using the OO 2.0 so_activex.dll as ActiveX control in C#
|I want to use OpenOffice 2.0 beta as an embedded control in a .net form using c#.
When i add the activex control (so_activex.dll) to the .net form, the following variable is created:
private AxSO_ACTIVEXLib.AxSOActiveX axSOActiveX1;
I read http://www.oooforum.org/forum/viewtopic.phtml?t=9815 but this creates a new OpenOffice Window and modifies a writer object contained in that window.
How can i do this with the object embedded in the .Net form? I would like to access the methods of that embedded writer object to open a document, change the zoom level and modify the toolbars...
One thing I do not understand is - of what type is the embedded object - is it a com.sun.star.ServiceManager, or a com.sun.star.frame.Desktop ?
Thanks in advance,