LibreOffice
LibreOffice 24.2 SDK API Reference
|
provides access to additional scripting code. More...
import"XLibraryAccess.idl";
Public Member Functions | |
boolean | isFunction ([in] string aFunctionName) |
returns TRUE , if the function is accessible through this library; otherwise it returns FALSE . More... | |
boolean | isValidPath ([in] string aPathName) |
returns TRUE if a fully qualified function name begins with this name. More... | |
sequence< string > | getModuleNames () |
Return all module names which contain code. More... | |
string | getModuleSource ([in] string aModulName) |
get the source code of a module. More... | |
sequence< byte > | getModuleCode ([in] string aModuleName) |
Get the whole compiled code of a module. More... | |
string | getFunctionSource ([in] string aFunctionName) |
get the source code of a function. More... | |
sequence< byte > | getFunctionCode ([in] string FunctionName) |
Get the compiled code of a function. More... | |
Public Member Functions inherited from XInterface | |
any | queryInterface ([in] type aType) |
queries for a new interface to an existing UNO object. More... | |
void | acquire () |
increases the reference counter by one. More... | |
void | release () |
decreases the reference counter by one. More... | |
provides access to additional scripting code.
This code is organized in modules and these modules contain the functions. It is possible to get just the code from a function, but you can also get the whole code of a module with all functions in it.
sequence<byte> getFunctionCode | ( | [in] string | FunctionName | ) |
Get the compiled code of a function.
FunctionName | the full qualified name of a function. (e.g., "UtilLibrary.ModuleDate.Function.CurrentDate") |
string getFunctionSource | ( | [in] string | aFunctionName | ) |
get the source code of a function.
sequence<byte> getModuleCode | ( | [in] string | aModuleName | ) |
Get the whole compiled code of a module.
aModuleName | the full qualified name of a module. (e.g., "UtilLibrary.ModuleDate") |
sequence<string> getModuleNames | ( | ) |
Return all module names which contain code.
e.g., { "UtilLibrary.ModuleDate", "UtilLibrary.Output", ... }
string getModuleSource | ( | [in] string | aModulName | ) |
get the source code of a module.
boolean isFunction | ( | [in] string | aFunctionName | ) |
returns TRUE
, if the function is accessible through this library; otherwise it returns FALSE
.
aFunctionName | the fully qualified name of a function. (e.g., "UtilLibrary.ModuleDate.FunctionCurrentDate") |
boolean isValidPath | ( | [in] string | aPathName | ) |
returns TRUE
if a fully qualified function name begins with this name.
aPathName | a part of a function name (e.g., "UtilLibrary"). |