Did you know that the OpenOffice.org Wiki has a WYSIWYG editor? See Help:FCKeditor
Writing a LanguageScriptProvider UNO Component Using the Java Helper Classes
From OpenOffice.org Wiki
< Documentation | DevGuide
Revision as of 13:22, 15 May 2009 by OOoWikiBot (Talk | contribs)
- Writing Macros
- How the Scripting Framework Works
- Writing a LanguageScriptProvider UNO Component using the Java Helper Classes
The Scripting Framework provides a set of Java Helper classes which make it easier to add support for scripting languages for which a Java interpreter exists. This set of classes will handle all of the UNO plumbing required to implement a LanguageScriptProvider, leaving the developer to focus on writing the code to execute their scripting language macros. The steps to add a new LanguageScriptProvider using Java are:
- Create a new ScriptProviderForYourLanguage by inheriting from the abstract ScriptProvider Java base class
- Implement the com.sun.star.script.provider.XScript UNO interface with code to run your scripting language interpreter from Java
- Optionally, add support for editing your scripting language macros by implementing the ScriptEditor Java interface
- Build and register your ScriptProvider
| Content on this page is licensed under the Public Documentation License (PDL). |

