The Free and Open Productivity Suite
QA Volunteers Needed -- Help us test OpenOffice

Developer's Guide

API

SDK

Tips 'n' Tricks

Miscellaneous

Content for Apache OpenOffice version 3.4.

:: com :: sun :: star :: configuration ::

service GroupUpdate
Description
provides write access to a predefined heterogeneous group of values and nested trees as part of a hierarchy.

This service extends GroupAccess to support modifying values.


Included Services - Summary
GroupAccess

is the basic service providing read access to a group element of the hierarchy. (details)

Exported Interfaces - Summary
::com::sun::star::container::XNameReplace

allows replacing values. (details)

Included Services - Details
GroupAccess
Description
is the basic service providing read access to a group element of the hierarchy.

Any child and descendant objects support modifying access as well, unless they represent a read-only tree element as indicated by PropertyAttribute::READONLY.

Exported Interfaces - Details
::com::sun::star::container::XNameReplace
Description
allows replacing values.

This service extends the interface ::com::sun::star::container::XNameAccess supported by service GroupAccess to allow changing values. This strongly overlaps with functionality available through PropertyHierarchy (from GroupAccess), so that xGroup.setPropertyValue( aName, aValue ) is equivalent to xGroup.replaceByName( aName, aValue ).

Changes can be observed by registering a listener with interface ::com::sun::star::beans::XPropertySet or ::com::sun::star::beans::XMultiPropertySet.

Elements of this group may be replaced only if they are of simple type. The type returned by ::com::sun::star::container::XElementAccess::getElementType() must not be an interface type. Replacing whole subtrees is not supported.


 
Top of Page

Apache Feather

Copyright & License | Privacy | Contact Us | Donate

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