List Info

Thread: Embedding OpenOffice in Visual Studio 2005




Embedding OpenOffice in Visual Studio 2005
user name
2007-09-26 09:34:07
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 ?

I'm asking this before starting coding my software so I
don't make a wrong
choice...

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 ?
-- 
View this message in context: http://www.nabble.com/E
mbedding-OpenOffice-in-Visual-Studio-2005-tf4522724.html#a12
902183
Sent from the openoffice - api dev mailing list archive at
Nabble.com.

------------------------------------------------------------
---------
To unsubscribe, e-mail: dev-unsubscribeapi.openoffice.org
For additional commands, e-mail: dev-helpapi.openoffice.org


Re: Embedding OpenOffice in Visual Studio 2005
user name
2007-09-26 10:34:11
On Wed, 2007-09-26 at 07:34 -0700, wimpheling wrote:
> 
> 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 ?

OpenOffice.org licence is LGPL, not GPL. This difference
really matters.


Hub

------------------------------------------------------------
---------
To unsubscribe, e-mail: dev-unsubscribeapi.openoffice.org
For additional commands, e-mail: dev-helpapi.openoffice.org


Re: Embedding OpenOffice in Visual Studio 2005
user name
2007-09-26 11:55:57
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 "nospamformbagmx.de".
I use it for the OOo lists and only rarely read other mails
sent to it.

------------------------------------------------------------
---------
To unsubscribe, e-mail: dev-unsubscribeapi.openoffice.org
For additional commands, e-mail: dev-helpapi.openoffice.org


Re: Embedding OpenOffice in Visual Studio 2005
user name
2007-09-27 07:04:30
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 "nospamformbagmx.de".
> I use it for the OOo lists and only rarely read other
mails sent to it.
> 
>
------------------------------------------------------------
---------
> To unsubscribe, e-mail: dev-unsubscribeapi.openoffice.org
> For additional commands, e-mail: dev-helpapi.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-unsubscribeapi.openoffice.org
For additional commands, e-mail: dev-helpapi.openoffice.org


[1-4]

about | contact  Other archives ( Real Estate discussion Medical topics )