GroovyForOpenOffice is an OpenOffice extension that adds the capability of writing and running macros (scripts) using the Groovy programming language.
The binary can be easily installed from it's page on the Extensions web site: http://extensions.services.openoffice.org/project/GroovyForOpenOffice.
The binary along with detailed installation instructions, code samples, instructions for building from source, and a copy of IFCX Wings is available from the IFCX download page on SF.net.
Additional samples are being posted here (and contributions invited!) in the API/Samples/Groovy section.