:: com :: sun :: star :: script ::

interface XLibraryAccess

Methods' Summary
isFunction returns `TRUE`, if the function is accessible through this library; otherwise it returns `FALSE`.  
isValidPath returns `TRUE` if a fully qualified function name begins with this name.  
getModuleNames Return all module names which contain code. e.g., { "UtilLibrary.ModuleDate", "UtilLibrary.Output", ... }  
getModuleSource get the source code of a module.  
getModuleCode Get the whole compiled code of a module.  
getFunctionSource get the source code of a function.  
getFunctionCode Get the compiled code of a function.  
Methods' Details
isFunction
boolean
isFunction( [in] string  aFunctionName );

Description
returns `TRUE`, if the function is accessible through this library; otherwise it returns `FALSE`.
Parameter aFunctionName
the fully qualified name of a function. (e.g., "UtilLibrary.ModuleDate.FunctionCurrentDate")
isValidPath
boolean
isValidPath( [in] string  aPathName );

Description
returns `TRUE` if a fully qualified function name begins with this name.
Parameter aPathName
a part of a function name (e.g., "UtilLibrary").
getModuleNames
sequence< string >
getModuleNames();

Description
Return all module names which contain code. e.g., { "UtilLibrary.ModuleDate", "UtilLibrary.Output", ... }
getModuleSource
string
getModuleSource( [in] string  aModulName );

Description
get the source code of a module.
getModuleCode
sequence< byte >
getModuleCode( [in] string  aModuleName );

Description
Get the whole compiled code of a module.
Parameter aModuleName
the full qualified name of a module. (e.g., "UtilLibrary.ModuleDate")
Returns
an empty sequence, if this module is not found or the code is not compiled.
getFunctionSource
string
getFunctionSource( [in] string  aFunctionName );

Description
get the source code of a function.
getFunctionCode
sequence< byte >
getFunctionCode( [in] string  FunctionName );

Description
Get the compiled code of a function.
Parameter FunctionName
the full qualified name of a function. (e.g., "UtilLibrary.ModuleDate.Function.CurrentDate")
Returns
an empty sequence, if this function is not found.
Top of Page