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. | |
| boolean | isValidPath ([in] string aPathName) |
returns TRUE if a fully qualified function name begins with this name. | |
| sequence< string > | getModuleNames () |
| Return all module names which contain code. | |
| string | getModuleSource ([in] string aModulName) |
| get the source code of a module. | |
| sequence< byte > | getModuleCode ([in] string aModuleName) |
| Get the whole compiled code of a module. | |
| string | getFunctionSource ([in] string aFunctionName) |
| get the source code of a function. | |
| sequence< byte > | getFunctionCode ([in] string FunctionName) |
| Get the compiled code of a function. | |
Public Member Functions inherited from XInterface | |
| any | queryInterface ([in] type aType) |
| queries for a new interface to an existing UNO object. | |
| void | acquire () |
| increases the reference counter by one. | |
| void | release () |
| decreases the reference counter by one. | |
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.
@param 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.
@param aPathName
a part of a function name (e.g., "UtilLibrary").