Language
Asturianu (ast)
Català (ca)
Čeština (cs)
Dansk (da)
Deutsch (de)
English [US] (en-US)
Español (es)
Esperanto (eo)
Eesti keel (et)
Euskara (eu)
Français (fr)
Gàidhlig (gd)
Galego (gl)
Italiano (it)
Lietuvių (lt)
Magyar (hu)
Nederlands (nl)
Norsk (no)
Polski (pl)
Português [do Brasil] (pt-BR)
Português [Europeu] (pt)
Română (ro)
Slovenčina (sk)
Slovenščina (sl)
Suomi (fi)
Svenska (sv)
Yкраїнська (uk)
Tiếng Việt (vi)
Türkçe (tr)
ኦሮሚኛ (om)
Հայերեն (hy)
Ελληνικά (el)
български език (bg)
Русский (ru)
Cрпски [ћирилицом] (sr)
עברית (he)
हिन्दी (hi)
ភាសាខ្មែរ (km)
தமிழ் (ta)
ภาษาไทย (th)
简体中文 (zh-CN)
正體中文 (zh-TW)
日本語 (ja)
한국어 (ko)
The Free and Open Productivity Suite
:: com :: sun :: star :: script ::
deprecated
interface XLibraryAccess
Usage Restrictions
deprecated
Description
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.
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 hole 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 funtion.
(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 hole compiled code of a module.
Parameter ModuleName
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 Copyright © 2013, The Apache Software Foundation, Licensed under the Apache License, Version 2.0. Apache, the Apache feather logo, Apache OpenOffice and OpenOffice.org are trademarks of The Apache Software Foundation. Other names may be trademarks of their respective owners.