[Libreoffice] Eclipse: Libre Office integration help

Cedric Bosdonnat cedric.bosdonnat.ooo at free.fr
Mon Nov 28 01:11:23 PST 2011


Hello,

On Sun, 2011-11-27 at 17:29 +0530, deenadayalan k wrote:
> Can anybody provide some information on how to integrate libre Office
> SDK source (LGPL license) in my own Eclipse RCP application? 

You asked me the same question privately and I see no reason to answer
it privately. I worked on that years ago for Nuxeo, but I fear the code
is no longer available.

Here are some blog posts I wrote at that time who could help you:
http://blogs.nuxeo.com/dev/2006/06/openoffice-org-editor-in-eclipse-first-version.html
http://blogs.nuxeo.com/dev/2006/06/embedding-ooo-and-msoffice-in-eclipse-part-3.html

The main problem is that you need to setup the proper classpath at
runtime as each Eclipse plugin has its own classpath and you don't know
for sure the path to LO jars on the machine.

You can also find some similar code in OOEclipse:
http://cgit.freedesktop.org/libreoffice/contrib/ooeclipse/tree/core/source/org/openoffice/ide/eclipse/core/office

I hope this could help you.

-- 
Cédric Bosdonnat
LibreOffice hacker
http://documentfoundation.org
OOo Eclipse Integration developer
http://cedric.bosdonnat.free.fr



More information about the LibreOffice mailing list