API/Samples/Java/Office/OokScriptProvider
From Apache OpenOffice Wiki
The OokScriptProvider is a sample extension that shows how to integrate a new macro scripting language (in this case the esotheric language Ook) into OpenOffice.org.
You can find the source code within the OpenOffice.org repository in /contrib/sdk/examples/java/OokScriptProvider
You can find a binary version here.