Methods' Details |
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
- Description
- gets an interface to the object which is the scripting root.
|
|
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( |
[in] string |
aScript, |
| [in] ::com::sun::star::uno::XInterface |
xThis, |
| [in] sequence< any > |
aArgs ); |
- 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( |
[in] string |
acript, |
| [in] ::com::sun::star::uno::XInterface |
xThis, |
| [in] sequence< any > |
args, |
| [in] XEngineListener |
xCallback ); |
- 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
- Description
- terminates the execution of the running script.
The waiting queue is cleared too.
|
|
addEngineListener
- Description
- adds an engine listener.
It is suggested to allow multiple registration of the same listener,
thus for each time a listener is added, it has to be removed.
|
|
removeEngineListener
- Description
- removes an engine listener.
It is suggested to allow multiple registration of the same listener,
thus for each time a listener is added, it has to be removed.
|
|
Copyright © 2000, 2012 LibreOffice contributors and/or their affiliates. All rights reserved.
LibreOffice was created by The Document Foundation, based on OpenOffice.org, which is Copyright 2000, 2010 Oracle and/or its affiliates.
The Document Foundation acknowledges all community members, please find more info at our website.