BT

New Early adopter or innovator? InfoQ has been working on some new features for you. Learn more

UNO, OpenOffice, and MonoDevelop

| by Jonathan Allen Follow 129 Followers on Jun 23, 2008. Estimated reading time: less than one minute |

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.

Rate this Article

Adoption Stage
Style

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

Login to InfoQ to interact with what matters most to you.


Recover your password...

Follow

Follow your favorite topics and editors

Quick overview of most important highlights in the industry and on the site.

Like

More signal, less noise

Build your own feed by choosing topics you want to read about and editors you want to hear from.

Notifications

Stay up-to-date

Set up your notifications and don't miss out on content that matters to you

BT