Language

The Free and Open Productivity Suite
Released: Apache OpenOffice 4.1.15

API

SDK

Tips ‘n’ Tricks

Miscellaneous


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

interface XPropertyAccess
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.


Methods' Summary
getPropertyValues  
setPropertyValues sets the values of given properties.  
Methods' Details
getPropertyValues
sequence< PropertyValue >
getPropertyValues();

Returns
a sequence of all property values within the object in a single call.
setPropertyValues
void
setPropertyValues( [in] sequence< PropertyValue >  aProps )
raises( UnknownPropertyException,
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

Apache Software Foundation

Copyright & License | Privacy | Contact Us | Donate | Thanks

Apache, OpenOffice, OpenOffice.org and the seagull logo are registered trademarks of The Apache Software Foundation. The Apache feather logo is a trademark of The Apache Software Foundation. Other names appearing on the site may be trademarks of their respective owners.