Groovy Scripting for OpenOffice

Primary tabs

Provider:
Code Builders, LLC
Maintainer:
cmarcum
Rating:
5

Average: 5 (1 vote)

Application:
OpenOffice.org
Tags:
scripting, macros, Groovy
Source code:
https://github.com/cbmarcum/openoffice-groovy
Post date:
Saturday, 26 December, 2020 - 15:25
Statistics
Week: Not tracked - Month: Not tracked - Year: Not tracked - Timeline
Download extension
System Independent version - All releases
Compatible with OpenOffice 4: Yes
User feedback:
Compatible with OpenOffice 4.x?

An Apache OpenOffice extension to add the Apache Groovy language to the Scripting Framework.

This extension includes the Apache Groovy language and the Groovy UNO Extension

The Groovy UNO Extension extends the Java UNO API's with convenience methods for Groovy Extensions and Client apps. It uses Groovy's Extension mechanism to extend the UNO API's and more information and it's usage can be found in the documentation.

This extension was influenced by the Beanshell scripting built into Apache OpenOffice. The big difference is script evaluation. In this case we're using GroovyShell to do the script evaluation. You can find out more about how all this works in the OpenOffice Developer Guide Scripting Framework section.

There is a companion extension project OpenOffice-Groovy-Macros [1] that is a collection of sample Beanshell and Javascript macros rewritten in Groovy. When installed in OpenOffice they can be run but not edited. You can however paste the code into macros you create to learn more about Groovy macros in OpenOffice. You can also get it on Bintray [2].

[1] https://github.com/cbmarcum/openoffice-groovy-macros
[2] https://bintray.com/cmarcum/openoffice-extensions/openoffice-groovy-macros

Happy Groovy Scripting :)

Groovy Scripting for OpenOffice

Version Operating system Compatibility Release date
0.5.2 System Independent 4.1 26/12/2020 - 15:30 More information Download