Yes, what I meant was embedding an OpenOffice Writer or Calc
process in
another Windows form.
Thanks a lot Matthias & Hubert for the fast answer
Wimpheling
Mathias Bauer wrote:
>
> wimpheling wrote:
>
>> Is it possible to use an embedded OpenOffice in
Visual c# or vbasic ? If
>> so,
>> is it possible to have access to the whole
OpenOffice API ?
>
> As the term "embedding" is quite unsharp I'm
not sure if that helps: OOo
> supports OLE embedding on Windows and you can embed it
into an OLE
> container. If you can access the COM object in this
container via CLI
> you can access the whole API with c#, but transferring
COM objects into
> the world of managed code sometimes can be a hard job.
>
> Accessing embedded OOo objects via OLE automation
bridge in C++ is
> possible but not recommended. Accessing the OOo API in
Visual Basic
> through that bridge is comparably easy but I lack the
knowledge about
> how to get hands on the object in VB. I assume it's not
complicated also.
>
>> PS : does an application that uses the OpenOffice
API or embeds an Open
>> Office fall under the GPL or can you do a standard
commercial program
>> with
>> these functions ?
>
> IANAL but as long as you don't modify the source code
of OOo the LGPL
> allows you to use all OOo components in a closed source
program (I think
> that's what you meant when you wrote
"commercial" program; commercial
> programs can be under (L)GPL also).
>
> Ciao,
> Mathias
>
> --
> Mathias Bauer (mba) - Project Lead OpenOffice.org
Writer
> OpenOffice.org Engineering at Sun: http://blogs.sun.com/Gu
llFOSS
> Please don't reply to "nospamformba gmx.de".
> I use it for the OOo lists and only rarely read other
mails sent to it.
>
>
------------------------------------------------------------
---------
> To unsubscribe, e-mail: dev-unsubscribe api.openoffice.org
> For additional commands, e-mail: dev-help api.openoffice.org
>
>
>
--
View this message in context: http://www.nabble.com/E
mbedding-OpenOffice-in-Visual-Studio-2005-tf4522724.html#a12
919835
Sent from the openoffice - api dev mailing list archive at
Nabble.com.
------------------------------------------------------------
---------
To unsubscribe, e-mail: dev-unsubscribe api.openoffice.org
For additional commands, e-mail: dev-help api.openoffice.org
|