Writing an OpenOffice.org extension (.oxt)

As already mentioned in my last post I just finished an open source project called Jitenize, which is an extension for OpenOffice.org Writer. Looking back I must say, the complexity and the capabilities of the framework for the extensions is impressive. Which means either you take the time to go through the more than 1600 pages of the developers manual or the corresponding Wiki plus the more than 500 pages of Andrew Pitonyak’s Useful Macro Information for OpenOffice.org document or you do what I did: Put these documents in your bookshelf for later usage (you will definitely need them!), use Google to find a few basic programming examples and start developing your code by modifying and extending the examples.

Well, with OpenOffice.org extensions it turned out to be not as easy as usual. There are no so many examples available as for example for Microsoft Office, so sometimes you need to spend quite some time until you find an example of how to program a certain feature. Moreover I found quite often code that for whatever reasons simply did not work with my OpenOffice.org installation (version 3.2). Also the framework is so huge that different people sometimes recommend different ways with very different complexities to accomplish the same goal. Therefore it’s often a good idea to read through more than one forum article, blog post etc. before starting your own implementation.

Therefore I decided to write a small series of post in this blog about certain aspects of the Jitenize sofware, what I did and how I did it, to increase the number of working code examples for OpenOffice.org extension at least a little bit.

Stay tuned!


Leave a Reply

Your email address will not be published. Required fields are marked *