interface XPropertyAccess in module com::sun::star::beans::

(Global Index)

Syntax

interface XPropertyAccess : com::sun::star::uno::XInterface ;

Description

makes it possible to access all property values and to set them at once.

In most cases this interface will be in addition to XPropertySet . It is especially useful for remote communication because it lessens the number of calls for getting property values; that is especially important because these calls are necessarily synchronous.

Another advantage of this method is that conflicts are avoided if property value restrictions depend on the value of other properties.

Method Summary

getPropertyValues

setPropertyValues sets the values of given properties.

Method Details



getPropertyValues

Syntax

sequence< com::sun::star::beans::PropertyValue > getPropertyValues ();

Description

Returns

a sequence of all property values within the object in a single call.

setPropertyValues

Syntax

void setPropertyValues (
sequence< com::sun::star::beans::PropertyValue > aProps )
raises ( com::sun::star::beans::UnknownPropertyException , com::sun::star::beans::PropertyVetoException , com::sun::star::lang::IllegalArgumentException , com::sun::star::lang::WrappedTargetException );

Description

sets the values of given properties.

All properties which are not contained in the sequence aProps will be left unchanged.

Top of Page