merge the formfield patch from ooo-build
[ooovba.git] / offapi / com / sun / star / configuration / backend / NodeAttribute.idl
blob83aaa9a8bd0ad53237a689f976afaacb119dcd66
1 /*************************************************************************
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 *
5 * Copyright 2008 by Sun Microsystems, Inc.
7 * OpenOffice.org - a multi-platform office productivity suite
9 * $RCSfile: NodeAttribute.idl,v $
10 * $Revision: 1.8 $
12 * This file is part of OpenOffice.org.
14 * OpenOffice.org is free software: you can redistribute it and/or modify
15 * it under the terms of the GNU Lesser General Public License version 3
16 * only, as published by the Free Software Foundation.
18 * OpenOffice.org is distributed in the hope that it will be useful,
19 * but WITHOUT ANY WARRANTY; without even the implied warranty of
20 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21 * GNU Lesser General Public License version 3 for more details
22 * (a copy is included in the LICENSE file that accompanied this code).
24 * You should have received a copy of the GNU Lesser General Public License
25 * version 3 along with OpenOffice.org. If not, see
26 * <http://www.openoffice.org/license.html>
27 * for a copy of the LGPLv3 License.
29 ************************************************************************/
30 #ifndef __com_sun_star_configuration_backend_NodeAttribute_idl__
31 #define __com_sun_star_configuration_backend_NodeAttribute_idl__
33 //=============================================================================
35 module com { module sun { module star { module configuration { module backend {
37 //=============================================================================
39 /** These values are used to specify the behavior of a node or property
40 in a layer.
42 <p> The values were chosen so they can be combined with values from
43 <type>SchemaAttribute</type>
44 </p>
46 @see com::sun::star::configuration::backend::SchemaAttribute
47 During merging the values may be combined with static attributes
48 from the schema.
50 @since OOo 1.1.2
52 published constants NodeAttribute
54 //-------------------------------------------------------------------------
56 /** indicates that a node or property may not be changed or overridden
57 in subsequent layers
59 const short FINALIZED = 256;
61 //-------------------------------------------------------------------------
63 /** indicates that a set item may not be removed or replaced
64 in subsequent layers.
66 const short MANDATORY = 512;
68 //-------------------------------------------------------------------------
70 /** indicates that a node or property may not be changed
71 in this or subsequent layer.
73 const short READONLY = 1024;
75 //-------------------------------------------------------------------------
77 /** indicates that contents shall be fused.
79 <p>Used in <member>XLayerHandler::addOrReplaceNode</member>,
80 <member>XLayerHandler::addOrReplaceNodeFromTemplate</member>,
81 <member>XUpdateHandler::addOrReplaceNode</member>, and
82 <member>XUpdateHandler::addOrReplaceNodeFromTemplate</member>.</p>
84 @since OOo 2.0.3
86 const short FUSE = 2048;
88 //-------------------------------------------------------------------------
90 /** can be used to mask the node attributes from merged attributes
92 const short MASK = 32512; // 0xFF00, changed to 0x7F00 because only 3 bits
93 // are masked and fixing a bug in idlc
95 //-------------------------------------------------------------------------
96 };
98 //=============================================================================
100 }; }; }; }; };
102 //=============================================================================
104 #endif