Difference between revisions of "Documentation/DevGuide/Scripting/Writing a LanguageScriptProvider UNO Component using the Java Helper Classes"
From Apache OpenOffice Wiki
< Documentation | DevGuide
m (1 revision(s)) |
OOoWikiBot (Talk | contribs) m (Robot: Changing Category:Scripting) |
||
Line 14: | Line 14: | ||
{{PDL1}} | {{PDL1}} | ||
− | [[Category: Scripting]] | + | |
+ | [[Category:Documentation/Developers Guide/Scripting]] |
Revision as of 10:13, 4 June 2008
- 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). |