BT
x Your opinion matters! Please fill in the InfoQ Survey about your reading habits!

UNO, OpenOffice, and MonoDevelop

by Jonathan Allen on Jun 23, 2008 |

Microsoft Office developers have long bragged about their ability to control pretty much anything in Office via COM automation. Without countless applications written in VBA ranging from the trivial to mission critical, it is often the reason many companies don't even consider trying OpenOffice.

But unbeknownst to most, OpenOffice developers have a few tricks up their sleeve. The cornerstone of OpenOffice development is the UNO component technology. Like COM, it is designed for both in-process and cross-process development. It does however have a few advantages over COM. For example, it supports exceptions and promises far less glue code for new APIs.

Like COM, UNO supports a wide variety of languages such as C++, Java, Delphi, Perl, even .NET and Mono. But though it was ported to Mono years ago, getting it setup was often more effort than it was worth.

Recently Michael Hutchinson added support for OpenOffice to MonoDevelop. Simply use the Add-in manager for MonoDevelop to download OpenOffice Automation Samples to get the necessary templates. Miguel de Icaza has more detailed instructions and screen shots.

Hello stranger!

You need to Register an InfoQ account or or login to post comments. But there's so much more behind being registered.

Get the most out of the InfoQ experience.

Tell us what you think

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread

Support for JVM languages? by Elisha Ezeugoh

It would be interesting to see if they'd provide support for JVM languages likey Groovy and Ruby.

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread

1 Discuss

Educational Content

General Feedback
Bugs
Advertising
Editorial
InfoQ.com and all content copyright © 2006-2014 C4Media Inc. InfoQ.com hosted at Contegix, the best ISP we've ever worked with.
Privacy policy
BT