Methods' Details
|
- setRoot
-  
- void
setRoot(
-
- Description
- sets an interface to an object as a scripting root.
If the root object implements the XInvocation interface,
then the engine uses this interface to set/get properties and
call methods.
|
- getRoot
-  
com::sun::star::uno::XInterface
getRoot();
- Description
- gets an interface to the object which is the scripting root.
|
- setLibraryAccess
-  
- void
setLibraryAccess(
-
- Description
- sets an access object to get external functions.
|
- compile
-  
- boolean
compile(
[ in ] string |
ModuleName, |
[ in ] string |
Script, |
[ in ] boolean |
CreateDebugInfo ); |
- Description
- compiles a script module in the scope of the root object.
|
- run
-  
- any
run(
-
- Description
- runs a script specified by a string.
The arguments given in aArgs can be ignored by
the engine. The Script is executed synchronously.
|
- runAsync
-  
- void
runAsync(
-
- Description
- runs the script specified by a string and makes callbacks.
The arguments given in aArgs can be ignored by
the engine. The script is executed asynchronously.
|
- cancel
-  
void
cancel();
- Description
- terminates the execution of the running script.
The waiting queue (see
) is
cleared too.
|
- addEngineListener
-  
- void
addEngineListener(
-
- Description
- adds an engine listener.
|
- removeEngineListener
-  
- void
removeEngineListener(
-
- Description
- removes an engine listener.
|
Copyright 2002 Sun Microsystems, Inc., 901 San Antonio Road, Palo Alto, CA 94303 USA.