LibreOffice
LibreOffice 5.0 SDK API Reference
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Included Services | List of all members
JavaScript Service Referencepublished

service is implementation of a JavaScript interpreter. More...

import "JavaScript.idl";

Inheritance diagram for JavaScript:
Engine XEngine XInterface

Included Services

service com::sun::star::script::Engine
 Parent service. More...
 

Additional Inherited Members

- Exported Interfaces inherited from Engine
interface com::sun::star::script::XEngine
 The only interface of this service. More...
 
- Public Member Functions inherited from XEngine
void setRoot ([in] com::sun::star::uno::XInterface xRoot)
 sets an interface to an object as a scripting root. More...
 
com::sun::star::uno::XInterface getRoot ()
 gets an interface to the object which is the scripting root. More...
 
void setLibraryAccess ([in] com::sun::star::script::XLibraryAccess Library)
 sets an access object to get external functions. More...
 
boolean compile ([in] string ModuleName,[in] string Script,[in] boolean CreateDebugInfo)
 compiles a script module in the scope of the root object. More...
 
any run ([in] string aScript,[in] com::sun::star::uno::XInterface xThis,[in] sequence< any > aArgs)
 runs a script specified by a string. More...
 
void runAsync ([in] string acript,[in] com::sun::star::uno::XInterface xThis,[in] sequence< any > args,[in] com::sun::star::script::XEngineListener xCallback)
 runs the script specified by a string and makes callbacks. More...
 
void cancel ()
 terminates the execution of the running script. More...
 
void addEngineListener ([in] com::sun::star::script::XEngineListener Listener)
 adds an engine listener. More...
 
void removeEngineListener ([in] com::sun::star::script::XEngineListener Listener)
 removes an engine listener. More...
 

Detailed Description

service is implementation of a JavaScript interpreter.

The interpreter should be similar to JavaScript 1.1. The exact behavior will be specified in future.

Deprecated:

Exported Interfaces

Parent service.


The documentation for this service was generated from the following file: