Included Services - Summary |
HierarchyElement |
the basic service for accessing information about an element in the
hierarchy.
|
Exported Interfaces - Summary |
::com::sun::star::lang::XComponent |
allows controlling or observing the lifetime of the whole hierarchy.
(details)
|
::com::sun::star::util::XChangesNotifier |
allows registering listeners that observe the whole hierarchy.
(details)
|
::com::sun::star::lang::XLocalizable |
provides access to the locale that applies to locale-dependent data
in this hierarchy. [optional]
(details)
|
Included Services - Details |
HierarchyElement
- Description
- the basic service for accessing information about an element in the
hierarchy.
|
|
Exported Interfaces - Details |
::com::sun::star::lang::XComponent
- Description
- allows controlling or observing the lifetime of the whole hierarchy.
The owner of the hierarchy may dispose of this object
using ::com::sun::star::lang::XComponent::dispose().
As this object owns its child elements and, recursively, the whole hierarchy,
any descendant elements obtained, directly or indirectly, from this object
will also be disposed. Disposing of the object does not affect a persistent
representation of the hierarchy.
When an implementation is obtained from a factory or provider, ownership
of it is usually transferred to the client. See the documentation
of the particular provider or factory service for details.
The provider of this object may still dispose of this object, when the
lifetime of the provider ends or if these objects represent
the root of only a fragment of an enclosing hierarchy and
this fragment is removed from the complete hierarchy by an outside source.
Clients may register an ::com::sun::star::lang::XEventListener
to be notified when the object is disposed for either cause.
|
|
::com::sun::star::util::XChangesNotifier
- Description
- allows registering listeners that observe the whole hierarchy.
A client can register an
::com::sun::star::util::XChangesListener,
which will receive notifications for any changes within the
hierarchy (fragment) this object represents.
An implementation will collect as many changes as possible into a single
::com::sun::star::util::ChangesEvent. For Example:
If ::com::sun::star::beans::XMultiPropertySet::setPropertyValues()
or ::com::sun::star::beans::XMultiHierarchicalPropertySet::setHierarchicalPropertyValues()
is used on an element of the hierarchy to change multiple values within
the hierarchy, all changes will be notified with a single event.
If an outside source uses
::com::sun::star::util::XChangesBatch::commitChanges()
on an overlapping hierarchy access, all relevant changes will be notified
with a single event.
@ see UpdateRootElement
@ see com::sun::star::util::XChangesBatch
|
|
::com::sun::star::lang::XLocalizable
- Usage Restrictions
- optional
- Description
- provides access to the locale that applies to locale-dependent data
in this hierarchy. [optional]
This interface may be missing if the implementation does not support
locale-dependent data in the hierarchy or if the (partial) hierarchy rooted
in this object does not contain any locale-dependent elements.
Changing the locale is generally not supported. If it is supported,
there is no guarantee that values already loaded into the hierarchy, or an
application cache, are refreshed to reflect the new locale. Use of
::com::sun::star::lang::XLocalizable::setLocale()
is therefore not recommended.
|
|
Top of Page
Copyright © 2000, 2013 LibreOffice contributors and/or their affiliates. All rights reserved.
LibreOffice was created by The Document Foundation, based on OpenOffice.org, which is Copyright 2000, 2010 Oracle and/or its affiliates.
The Document Foundation acknowledges all community members, please find more info at our website.
Privacy Policy | Impressum (Legal Info) | Copyright information: The source code of LibreOffice is licensed under the GNU Lesser General Public License (LGPLv3). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.