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/GullFOSS
Please don't reply to "[EMAIL PROTECTED]".
I use it for the OOo lists and only rarely read other mails sent to it.

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

Reply via email to