ApacheCon NA 2013

Portland, Oregon

February 26th – 28th, 2013

Register Now!

Wednesday 5:15 p.m.–6 p.m.

Scripting Apache OpenOffice

Rony G. Flatscher

Open Office
Audience level:


This talk introduces the AOO programming framework UNO which needs to be used to script AOO. Nutshell examples show howto interact with the AOO modules "swriter", "scalc" and "simpress" using UNO.


The fundamental Apache OpenOffice (AOO) programming framework "Universal Network Objects (UNO)" will be conceptually ("bird eye's view") introduced, such that interested (script) programmers can get a handle on how to program AOO. The introduced concepts will be demonstrated in small nutshell scripts which address the AOO modules "swriter" (word processor), "scalc" (spreadsheet) and "simpress" (presentation).

The depicted code will look like pseudo-code, such that anyone with a programming background can easily understand them. However, this "pseudo-code" can be executed with the opensource ooRexx interpreter on Linux, MacOSX and Windows, allowing the interested programmer to experiment with the nutshell scripts directly. Because the presented nutshell scripts appear to be like pseudocode it should be easy (and probably straightforward) to map the logic of these nutshell examples to any of the other programming languages people may want to use to script AOO (e.g. AOO Basic, BeanShell, C++, Java, JavaScript, Python).

Anyone who has not yet created scripts for AOO should attend this talk to learn and see how easy this could be, once one gets a conceptual overview of the UNO framework.