/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*
* This file is part of the LibreOffice project.
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*
* This file incorporates work covered by the following license notice:
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed
* with this work for additional information regarding copyright
* ownership. The ASF licenses this file to you under the Apache
* License, Version 2.0 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
#ifndef __com_sun_star_configuration_backend_XLayerHandler_idl__
#define __com_sun_star_configuration_backend_XLayerHandler_idl__
#include Subsequent calls describe the contents of the layer
until a matching call to XLayerHandler::endLayer()
is encountered.
Must match a previous call to XLayerHandler::startLayer().
Not every implementation can detect each condition Subsequent calls describe overrides to properties and members
or items of the node until a matching call to
XLayerHandler::endNode()is encountered.
The value is a combination of
NodeAttribute flags.
The attributes are combined cumulatively with those
set on lower layers.
Not every implementation can detect each condition The current node must be a set and
a preexisting item (if any) must be removable.
The new item will be created from the default template
of the set.
Subsequent calls describe the difference from the template
of properties and members or items of the node until
a matching call to XLayerHandler::endNode()
is encountered.
The value is a combination of
NodeAttribute flags. Note that
NodeAttribute::FUSE has an impact on the
semantics of this method.
Not every implementation can detect each condition The current node must be a set and
a preexisting item (if any) must be removable.
Subsequent calls describe the difference from the template
of properties and members or items of the node until
a matching call to XLayerHandler::endNode()
is encountered.
The value is a combination of
NodeAttribute flags. Note that
NodeAttribute::FUSE has an impact on the
semantics of this method.
Not every implementation can detect each condition Must match the last open call to
XLayerHandler::overrideNode(),
XLayerHandler::addOrReplaceNode() or
XLayerHandler::addOrReplaceNodeFromTemplate().
Not every implementation can detect each condition The current node must be a set and
the item must be removable.
Not every implementation can detect each condition Subsequent calls describe new value(s) for the property until a
matching call to XLayerHandler::endProperty()
is encountered.
The value is a combination of
NodeAttribute flags.
The attributes are combined cumulatively with those
set on lower layers.
This must be the same type as is already defined in the schema
or lower layers, unless the previous type was unspecified
(as indicated by
com::sun::star::uno::TypeClass::ANY.)
A `VOID` type indicates that the type is unspecified
in this layer.
In this case any subsequent value may be of a generic type
(e.g. `string` or - for list values -
`string[]`.) Such values may be
converted to the type defined in the schema by
the implementation.
Not every implementation can detect each condition The value must match the type of the current property.
If the property does not have the
SchemaAttribute::REQUIRED flag set,
the value can be `VOID`.
If the current property is localized, this value applies
to the default locale.
Not every implementation can detect each condition The value must match the type of the current property.
If the property does not have the
SchemaAttribute::REQUIRED flag set,
the value can be `VOID`.
Not every implementation can detect each condition Must match an open call to
XLayerHandler::overrideProperty(),
Not every implementation can detect each condition The current node must be extensible.
The value is a combination of
NodeAttribute flags and may also contain the
SchemaAttribute::REQUIRED flag.
NodeAttribute::MANDATORY need not be set,
as dynamically added properties always are mandatory
in subsequent layers.
Not every implementation can detect each condition The current node must be extensible.
The value is a combination of
NodeAttribute flags and may also contain the
SchemaAttribute::REQUIRED flag.
NodeAttribute::MANDATORY need not be set, as dynamic properties always are mandatory in subsequent layers.
@param aValue specifies the value of the new property.The value also determines the type. Therefore the value must not be `VOID`.
@throws com::sun::star::configuration::backend::MalformedDataExceptionNot every implementation can detect each condition
@throws com::sun::star::lang::WrappedTargetException if an error occurs processing the event. @see com::sun::star::configuration::backend::SchemaAttribute */ void addPropertyWithValue( [in] string aName, [in] short aAttributes, [in] any aValue ) raises( MalformedDataException, com::sun::star::lang::WrappedTargetException ); }; }; }; }; }; }; #endif /* vim:set shiftwidth=4 softtabstop=4 expandtab: */