OpenOffice.org macros

Example

RunMacro 
Document("C:\temp\fox.sxw"))
Macro("MyProject.MyModule.MyMacro");
Arg1 ("First parameter")
Arg2 ("Second parameter")
Arg3 ("Third parameter");

By default OpenOffice.org will search the macro in the global macro storages. If the macro is stored in the document itself, it should be specified as './MyProject.MyModule.MyMacro'.

Note

OpenOffice.org does not provide any feedback if it was unable to locate the macro.

The OpenOffice.org macro environment is interactive. Always provide an errorhandler to catch errors without interaction.