Hi Roman,
this control is a light ActiveX control that is only intended to be used
in MSIE to view the OOo documents. Of course you could try to use it in
your implementation, but that is not an officially supported scenario
and the control itself provides only the functionality that is necessary
to view documents.
If you would like to embed an OOo Writer document in your
implementation, please connect the office directly. You can use the OOo
ActiveX control implementation to see how it could be done using the
OLE-Automation bridge. The control implementation can be found using the
following link
http://svn.services.openoffice.org/ooo/trunk/extensions/source/activex
For details please take a look to the Developers Guide, especially to
the following part
http://wiki.services.openoffice.org/wiki/Documentation/DevGuide/ProUNO/UNO_Language_Bindings
Best regards,
Mikhail.
On 04/02/09 09:11, Курских Роман wrote:
Hi!
I create WinForms Project? Then I add to toolbox COM-object so_activex.dll.
Tnen I drag ole-control on form.
Visual Studio 2008 was add references to AxInterop.SO_ACTIVEXLib and
Interop.SO_ACTIVEXLib, conntrol on form also added with name axSOActiveX1/
I get a reference to ActiveX object by code
Object obj_com = this.axSOActiveX1.GetOcx();
Questions: How I can load *.odt document in ActiveX-control ? How I can get
interfaces for work with OpenOffice.org Writer ?
Thanks,
Roman N Kurskikh
--
Sun Microsystems GmbH Mikhail Voytenko
Nagelsweg 55 Software Engineer
20097 Hamburg Phone: (+49 40)23646 500
Germany Fax: (+49 40)23646 550
http://www.sun.de mailto:[email protected]
Sitz der Gesellschaft: Sonnenallee 1, D-85551 Kirchheim-Heimstetten
Amtsgericht München: HRB 161028
Geschäftsführer: Thomas Schröder, Wolfgang Engels, Dr. Roland Bömer
Vorsitzender des Aufsichtsrates: Martin Häring
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]