|
Syntax
- com::sun::star::beans::XIntrospectionAccess getIntrospection
();
Description
-
Returns
-
the introspection from this object or NULL
if the object
does not provide this information.
Syntax
- any invoke
(
- string aFunctionName,
- sequence< any > aParams,
- sequence< short > aOutParamIndex,
- sequence< any > aOutParam )
- raises ( com::sun::star::lang::IllegalArgumentException , com::sun::star::script::CannotConvertException , com::sun::star::reflection::InvocationTargetException );
Description
provides access to properties and methods exposed by an object.
Parameter aParams
- all parameters; pure out params are undefined in sequence,
i.e. the value has to be ignored by the callee
Parameter aOutParamIndex
- out indices
Parameter aOutParam
- out parameters
Syntax
- void setValue
(
- string aPropertyName,
- any aValue )
- raises ( com::sun::star::beans::UnknownPropertyException , com::sun::star::script::CannotConvertException , com::sun::star::reflection::InvocationTargetException );
Description
sets a value to the property with the specified name.
If the underlying object implements an
XNameContainer , then this method will insert the
value if there is no such aPropertyName .
Syntax
- any getValue
(
- string aPropertyName )
- raises ( com::sun::star::beans::UnknownPropertyException );
Description
-
Returns
-
the value of the property with the specified name.
Parameter aPropertyName
-
specifies the name of the property.
Syntax
- boolean hasMethod
(
- string aName );
Description
-
Returns
-
true>
if the method with the specified name exists.
This optimizes the calling sequence
( XInvocation::hasMethod , XInvocation::invoke )!
Parameter aName
-
specifies the name of the method.
Syntax
- boolean hasProperty
(
- string aName );
Description
-
Returns
-
true>
if the property with the specified name exists.
This optimizes the calling sequence
( XInvocation::hasProperty ,
XInvocation::getValue ) or
( XInvocation::hasProperty ,
XInvocation::setValue )!
Parameter aName
-
specifies the name of the property.
|