2012-02-07 14:17:29 +10:30
|
|
|
This module provides the source code for the Scripting Framework.
|
2004-12-23 10:44:10 +00:00
|
|
|
|
2012-02-07 14:17:29 +10:30
|
|
|
For more information on the Scripting Framework, see the project web page:
|
2019-06-04 11:10:30 +00:00
|
|
|
[https://framework.openoffice.org/scripting/]
|
2012-02-07 14:17:29 +10:30
|
|
|
|
2014-09-25 15:50:05 +02:00
|
|
|
This module uses astyle to keep consistent java coding style. Please run
|
|
|
|
|
|
|
|
./Format_java_code.sh
|
|
|
|
|
|
|
|
before committing.
|
2012-02-07 14:17:29 +10:30
|
|
|
|
|
|
|
== Source Code Structure ==
|
2004-12-23 10:44:10 +00:00
|
|
|
|
|
|
|
The following directories contain the source code currently used
|
|
|
|
by the Scripting Framework:
|
|
|
|
|
|
|
|
- source/provider
|
|
|
|
|
|
|
|
C++ source for the implementations of the com.sun.star.script.provider.*
|
|
|
|
and com.sun.star.script.browse.* UNO types. These types are used for
|
|
|
|
browsing and executing scripts.
|
|
|
|
|
|
|
|
- source/protocolhandler
|
|
|
|
|
|
|
|
C++ for a ProtocolHandler implementation that handles vnd.sun.star.script
|
|
|
|
URIs and dispatches them for execution to the Scripting Framework.
|
|
|
|
|
|
|
|
- source/basprov
|
|
|
|
|
|
|
|
C++ implementation of the LanguageScriptProvider UNO service for Basic
|
|
|
|
|
|
|
|
- source/dlgprov
|
|
|
|
|
|
|
|
C++ implementation of the DialogProvider UNO service used for loading
|
|
|
|
UNO dialogs from various languages
|
|
|
|
|
2018-04-24 16:12:47 +02:00
|
|
|
- source/pyprov
|
|
|
|
|
|
|
|
LanguageScriptProvider for Python
|
|
|
|
|
2004-12-23 10:44:10 +00:00
|
|
|
- java/com/sun/star/script/framework/provider
|
|
|
|
|
|
|
|
Implementation of an abstract base class ScriptProvider which provides
|
2013-12-20 11:25:37 +01:00
|
|
|
core methods for implementing Java based LanguageScriptProvider implementations
|
2004-12-23 10:44:10 +00:00
|
|
|
|
|
|
|
- java/com/sun/star/script/framework/provider/*
|
|
|
|
|
|
|
|
BeanShell, JavaScript and Java LanguageScriptProvider implementations
|
|
|
|
|
|
|
|
- java/com/sun/star/script/framework/browse/*
|
|
|
|
|
|
|
|
BrowseNode implementations for the Java based LanguageScriptProviders
|
|
|
|
|
|
|
|
- java/com/sun/star/script/framework/io
|
|
|
|
- java/com/sun/star/script/framework/container
|
|
|
|
|
|
|
|
Classes for performing script IO
|
|
|
|
|
|
|
|
- examples
|
|
|
|
|
|
|
|
Example scripts in BeanShell, JavaScript, Java and Python
|
|
|
|
|
2012-02-07 14:17:29 +10:30
|
|
|
|
|
|
|
== Deprecated Code ==
|
2004-12-23 10:44:10 +00:00
|
|
|
|
|
|
|
- java/org/openoffice/*
|
|
|
|
|
|
|
|
Support for developing scripts in IDEs such as NetBeans.
|