Did you know that the OpenOffice.org Wiki has a WYSIWYG editor? See Help:FCKeditor
API/Samples/Java/Office/OokScriptProvider
From OpenOffice.org 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.

