ApacheCon Europe 2012

Rhein-Neckar-Arena, Sinsheim, Germany

5–8 November 2012

Scripting Apache OpenOffice

Rony G. Flatscher

Audience level:
Beginner
Track:
OpenOffice

Thursday 12:30 p.m.–1:15 p.m. in Press Room

Description

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.

Abstract

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 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.