service AddIn in module com::sun::star::sheet:: |
service AddIn;
is the base for AddIn services that supply functions which can be called by other components.
Any AddIn implementation must implement a service describing its specific set of functions. That service must contain the AddIn service, and the functions that are implemented, in one or more interfaces. The XServiceName interface must describe that service, and the XAddIn interface must describe the individual functions.
Each AddIn function can take parameters of the following types:
long
double
string
long[][]
double[][]
string[][]
any[][]
any
will contain a double
or a string
, depending on the data.
any
double
,
a string
, or an
any[][]
will be passed. If no argument is specified in the
function call, void
will be passed. This allows
for optional parameters.
any[]
any
above.
Each AddIn function must have one of the following return types:
long
double
string
long[][]
double[][]
string[][]
any[][]
any
The sequences must contain arrays as described above for the
parameter types.
An XVolatileResult return value must contain an object
implementing the VolatileResult service, that contains
a volatile result. Subsequent calls with the same parameters must
return the same object.
An any
return value can contain any of the other types.
Exported Interfaces |
identifies the object with a service name which can be used to create such an object by a factory.
gives access to function descriptions and user-visible names.
This optional interface gives access to compatibility names for the functions.
Copyright 2002 Sun Microsystems, Inc., 901 San Antonio Road, Palo Alto, CA 94303 USA.