Difference between revisions of "Documentation/DevGuide/Scripting/Writing a LanguageScriptProvider UNO Component using the Java Helper Classes"
From Apache OpenOffice Wiki
< Documentation | DevGuide
OOoWikiBot (Talk | contribs) m (Robot: Changing Category:Documentation/Developers Guide/Scripting) |
OOoWikiBot (Talk | contribs) m (FINAL VERSION FOR L10N) |
||
Line 5: | Line 5: | ||
|NextPage=Documentation/DevGuide/Scripting/The ScriptProvider Abstract Base Class | |NextPage=Documentation/DevGuide/Scripting/The ScriptProvider Abstract Base Class | ||
}} | }} | ||
− | {{DISPLAYTITLE:Writing a LanguageScriptProvider UNO Component Using the Java Helper Classes}} | + | {{Documentation/DevGuideLanguages|Documentation/DevGuide/Scripting/{{SUBPAGENAME}}}} |
+ | {{DISPLAYTITLE: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: | 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: | ||
Latest revision as of 13:22, 15 May 2009
- 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). |