Top   Module   Use   Manual   Index 
 EXPORTING SERVICES | METHODS' SUMMARY | METHODS' DETAILS 

com :: sun :: star :: beans ::

interface XFastPropertySet

Base Interface
com::sun::star::uno::XInterface

Description
provides a fast way of accessing and changing property values.

This interface is an extension to the XPropertySet interface. The get and set methods use handles to access the property values instead of character strings.



Known Services which Export this Interface

com::sun::star::beans::PropertySet specifies an abstract service which gives some hints which interfaces belong to a proper property set implementation.
com::sun::star::beans::PropertySet specifies an abstract service which gives some hints which interfaces belong to a proper property set implementation.
com::sun::star::document::DocumentInfo This service provides document-specific information like the author, creation date and user fields.
com::sun::star::form::FormControlModel specifies a control model within a form.
com::sun::star::linguistic2::LinguProperties the set of linguistic relevant properties.

Methods' Summary

setFastPropertyValue sets the value to the property with the specified name.
getFastPropertyValue

Methods' Details

setFastPropertyValue
 
void
setFastPropertyValue(
[ in ] long nHandle,
[ in ] any aValue )
raises ( com::sun::star::beans::UnknownPropertyException, com::sun::star::beans::PropertyVetoException, com::sun::star::lang::IllegalArgumentException, com::sun::star::lang::WrappedTargetException );

Description
sets the value to the property with the specified name.
Parameter nHandle
contains the implementation handle of the implementation for the property.
Parameter aValue
contains the new value of the property.
Throws
UnknownPropertyException if the property does not exist.
Throws
PropertyVetoException if a vetoable listener does not approve the change of a property value.
Throws
IllegalArgumentException if the new value cannot be converted to the type of the underlying property by an identity or widening conversion.
Throws
stardiv::uno::lang::WrappedTargetException if the implementation has an internal reason for the exception. In this case the original exception is wrapped into this WrappedTargetException .
getFastPropertyValue
 
any
getFastPropertyValue(
[ in ] long nHandle )
raises ( com::sun::star::beans::UnknownPropertyException, com::sun::star::lang::WrappedTargetException );

Returns
the value of the property with the name PropertyName.
Parameter nHandle
contains the implementation handle of the implementation for the property.
Throws
UnknownPropertyException if the property does not exist.
Throws
com::sun::star::lang::WrappedTargetException if the implementation has an internal reason for the exception. In this case the original exception is wrapped into that WrappedTargetException .

Top of Page