Language

The Free and Open Productivity Suite
Released: Apache OpenOffice 4.1.10

API

SDK

Tips ‘n’ Tricks

Miscellaneous


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

service LayerUpdateMerger
Description
applies updates to a configuration layer.

The configuration layer data is read from a XLayer and the changed layer is provided as XLayer again or described to a XLayerHandler.

Since
OOo 1.1.2
See also
UpdatableLayer
Service describes a layer and accepts a changed layer..

Exported Interfaces - Summary
XUpdateHandler

accepts events describing the changes.

::com::sun::star::lang::XInitialization

allows initializing layer data source and target. (details)

Exported Interfaces - Details
XUpdateHandler
Description
accepts events describing the changes.
::com::sun::star::lang::XInitialization
Description
allows initializing layer data source and target.

Both source and target of the update can be provided by passing a XUpdatableLayer object. Alternatively they can be provided individually by providing a XLayer object as data source and an XLayerHandler object to receive the updated data.

Implementations can provide more arguments to finetune the behavior. Such arguments are provided as ::com::sun::star::beans::NamedValue. Implementations should support the following named arguments:

Overwrite : boolean
If false, specifies that changes should be applied only if the existing layer is empty.
Truncate : boolean
If true requests that changes should not be merged onto existing data, but that the changes should be applied to a layer that is completely empty.


 
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.