LibreOffice
LibreOffice 25.8 SDK API Reference
|
allows generic access to all spreadsheet functions. More...
import "XFunctionAccess.idl";
Public Member Functions | |
any | callFunction ([in] string aName, [in] sequence< any > aArguments) raises ( com::sun::star::container::NoSuchElementException, com::sun::star::lang::IllegalArgumentException ) |
calls a function and returns the result of the call. | |
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. |
allows generic access to all spreadsheet functions.
any callFunction | ( | [in] string | aName, | |||
[in] sequence< any > | aArguments ) | |||||
raises | ( | com::sun::star::container::NoSuchElementException, | ||||
com::sun::star::lang::IllegalArgumentException ) |
calls a function and returns the result of the call.
aName | the (programmatic) name of the function. |
aArguments | the arguments for the function call. |
Each element must be of one of the following types:
for a numeric value.
for a textual value.
for an array of numeric values.
for an array of textual values.
for a mixed array, where each element must be of VOID, long, double or string type.
Possible types for the result are:
if no result is available.
for a numeric result.
for a textual result.
com::sun::star::container::NoSuchElementException | if the named function does not exist. |
com::sun::star::lang::IllegalArgumentException | if the function can not be called with these arguments. |