1 /*************************************************************************
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5 * Copyright 2008 by Sun Microsystems, Inc.
7 * OpenOffice.org - a multi-platform office productivity suite
9 * $RCSfile: xmlstrings.hxx,v $
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 CONFIGMGR_XML_STRINGS_HXX_
31 #define CONFIGMGR_XML_STRINGS_HXX_
33 #include "strings.hxx"
35 //.........................................................................
38 //.........................................................................
42 // extern declaration for strings used in the XML format
44 DECLARE_CONSTASCII_USTRING(NS_PREFIX_OOR
);
45 DECLARE_CONSTASCII_USTRING(NS_PREFIX_XS
);
47 const sal_Unicode
k_NS_SEPARATOR(':');
50 DECLARE_CONSTASCII_USTRING(NS_URI_OOR
);
51 DECLARE_CONSTASCII_USTRING(NS_URI_XS
);
52 DECLARE_CONSTASCII_USTRING(NS_URI_XSI
);
55 DECLARE_CONSTASCII_USTRING(TAG_SCHEMA
);
56 DECLARE_CONSTASCII_USTRING(TAG_LAYER
);
57 DECLARE_CONSTASCII_USTRING(DEPRECATED_TAG_LAYER
);
59 DECLARE_CONSTASCII_USTRING(TAG_COMPONENT
);
60 DECLARE_CONSTASCII_USTRING(TAG_TEMPLATES
);
62 DECLARE_CONSTASCII_USTRING(TAG_NODE
);
63 DECLARE_CONSTASCII_USTRING(TAG_GROUP
);
64 DECLARE_CONSTASCII_USTRING(TAG_SET
);
65 DECLARE_CONSTASCII_USTRING(TAG_PROP
);
67 DECLARE_CONSTASCII_USTRING(TAG_IMPORT
);
68 DECLARE_CONSTASCII_USTRING(TAG_INSTANCE
);
69 DECLARE_CONSTASCII_USTRING(TAG_ITEMTYPE
);
70 DECLARE_CONSTASCII_USTRING(TAG_VALUE
);
71 DECLARE_CONSTASCII_USTRING(TAG_USES
);
74 DECLARE_CONSTASCII_USTRING(ATTR_NAME
);
75 DECLARE_CONSTASCII_USTRING(ATTR_CONTEXT
);
76 DECLARE_CONSTASCII_USTRING(ATTR_PACKAGE
);
77 DECLARE_CONSTASCII_USTRING(ATTR_COMPONENT
);
79 DECLARE_CONSTASCII_USTRING(ATTR_ITEMTYPE
);
80 DECLARE_CONSTASCII_USTRING(ATTR_ITEMTYPECOMPONENT
);
82 DECLARE_CONSTASCII_USTRING(ATTR_VALUETYPE
);
83 DECLARE_CONSTASCII_USTRING(ATTR_VALUESEPARATOR
);
85 DECLARE_CONSTASCII_USTRING(ATTR_FLAG_EXTENSIBLE
);
86 DECLARE_CONSTASCII_USTRING(ATTR_FLAG_FINALIZED
);
87 DECLARE_CONSTASCII_USTRING(ATTR_FLAG_READONLY
);
88 DECLARE_CONSTASCII_USTRING(ATTR_FLAG_MANDATORY
);
89 DECLARE_CONSTASCII_USTRING(ATTR_FLAG_NULLABLE
);
90 DECLARE_CONSTASCII_USTRING(ATTR_FLAG_LOCALIZED
);
92 DECLARE_CONSTASCII_USTRING(ATTR_OPERATION
);
94 // attributes defined elsewhere
95 DECLARE_CONSTASCII_USTRING(EXT_ATTR_LANGUAGE
);
96 DECLARE_CONSTASCII_USTRING(EXT_ATTR_NULL
);
100 DECLARE_CONSTASCII_USTRING(ATTR_VALUE_TRUE
);
101 DECLARE_CONSTASCII_USTRING(ATTR_VALUE_FALSE
);
103 // simple types names
104 DECLARE_CONSTASCII_USTRING(VALUETYPE_BOOLEAN
);
105 DECLARE_CONSTASCII_USTRING(VALUETYPE_SHORT
);
106 DECLARE_CONSTASCII_USTRING(VALUETYPE_INT
);
107 DECLARE_CONSTASCII_USTRING(VALUETYPE_LONG
);
108 DECLARE_CONSTASCII_USTRING(VALUETYPE_DOUBLE
);
109 DECLARE_CONSTASCII_USTRING(VALUETYPE_STRING
);
110 // Type: Sequence<bytes>
111 DECLARE_CONSTASCII_USTRING(VALUETYPE_BINARY
);
112 // Universal type: Any
113 DECLARE_CONSTASCII_USTRING(VALUETYPE_ANY
);
115 // modifier suffix for list types
116 DECLARE_CONSTASCII_USTRING(VALUETYPE_LIST_SUFFIX
);
118 // States for update actions
119 DECLARE_CONSTASCII_USTRING(OPERATION_MODIFY
);
120 DECLARE_CONSTASCII_USTRING(OPERATION_REPLACE
);
121 DECLARE_CONSTASCII_USTRING(OPERATION_FUSE
);
122 DECLARE_CONSTASCII_USTRING(OPERATION_REMOVE
);
124 // the default separator for strings
125 DECLARE_CONSTASCII_USTRING(SEPARATOR_WHITESPACE
);
127 // Needed for building attribute lists
128 DECLARE_CONSTASCII_USTRING(XML_ATTRTYPE_CDATA
);
132 } // namespace configmgr