Embedding OOo and MSOffice in Eclipse (part 2)

Since my last post, I tried to create an Eclipse plugin embedding OOo and MS Office. However I had some surprises: a happy and a bad one.

  • The happy surprise: by using Eclipse on a windows machine with MS Office, I discovered that Eclipse already has an editor to open OLE objects. Implemented in the org.eclipse.ui.win32 fragment, it's not directly usable: it belongs to an Eclipse internal package. The only thing it needs is a IEditorInput returning an IFile.

  • The bad surprise: to use OpenOffice.org in a plugin, I need to add some OpenOffice.org JARS to the classpath. This is quite tricky to workaround and should be solved with a custom ClassLoader. See the attached links for some ideas on this topic. I still wonder how Ubion get it work in it's plugin...


Important announcement: Join the Nuxeo team and contribute to the Nuxeo project! We have open positions in France and the UK for open source Java EE developers and sales engineers, both junior and senior.

Like this post? Share it:


Trackback Pings

Trackback URL for this entry:
http://blogs.nuxeo.com/sections/blogs/cedric_bosdonnat/2006_02_17_embedding-ooo-and-msoffice-in-eclipse-part-2/tbping
Posted by Cedric Bosdonnat @ 02/17/2006 06:32 PM. - Categories: apogee, eclipse, openoffice -  0 comments

Nuxeo Bloggers: Log in!
Nuxeo - Indesko - Nuxeo 5 Project
All content is copyrighted by their author.
CPSSkins is Copyright © 2003-2006 by Jean-Marc Orliaguet. | CPS is Copyright © 2002-2006 by Nuxeo SAS.