1 /************************************************************** 2 * 3 * Licensed to the Apache Software Foundation (ASF) under one 4 * or more contributor license agreements. See the NOTICE file 5 * distributed with this work for additional information 6 * regarding copyright ownership. The ASF licenses this file 7 * to you under the Apache License, Version 2.0 (the 8 * "License"); you may not use this file except in compliance 9 * with the License. You may obtain a copy of the License at 10 * 11 * http://www.apache.org/licenses/LICENSE-2.0 12 * 13 * Unless required by applicable law or agreed to in writing, 14 * software distributed under the License is distributed on an 15 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 16 * KIND, either express or implied. See the License for the 17 * specific language governing permissions and limitations 18 * under the License. 19 * 20 *************************************************************/ 21 22 23 #ifndef __FRAMEWORK_XML_TOOLBOXCONFIGURATIONDEFINES_HXX_ 24 #define __FRAMEWORK_XML_TOOLBOXCONFIGURATIONDEFINES_HXX_ 25 26 #define XMLNS_TOOLBAR "http://openoffice.org/2001/toolbar" 27 #define XMLNS_XLINK "http://www.w3.org/1999/xlink" 28 #define XMLNS_TOOLBAR_PREFIX "toolbar:" 29 #define XMLNS_XLINK_PREFIX "xlink:" 30 31 #define XMLNS_FILTER_SEPARATOR "^" 32 33 #define ELEMENT_TOOLBAR "toolbar" 34 #define ELEMENT_TOOLBARITEM "toolbaritem" 35 #define ELEMENT_TOOLBARSPACE "toolbarspace" 36 #define ELEMENT_TOOLBARBREAK "toolbarbreak" 37 #define ELEMENT_TOOLBARSEPARATOR "toolbarseparator" 38 39 #define ELEMENT_TOOLBARLAYOUTS "toolbarlayouts" 40 #define ELEMENT_TOOLBARLAYOUT "toolbarlayout" 41 #define ELEMENT_TOOLBARCONFIGITEMS "toolbarconfigitems" 42 #define ELEMENT_TOOLBARCONFIGITEM "toolbarconfigitem" 43 44 #define ATTRIBUTE_UINAME "uiname" 45 46 #define ATTRIBUTE_BITMAP "bitmap" 47 #define ATTRIBUTE_TEXT "text" 48 #define ATTRIBUTE_URL "href" 49 #define ATTRIBUTE_ITEMBITS "property" 50 #define ATTRIBUTE_VISIBLE "visible" 51 #define ATTRIBUTE_WIDTH "width" 52 #define ATTRIBUTE_USER "userdefined" 53 #define ATTRIBUTE_HELPID "helpid" 54 #define ATTRIBUTE_TOOLTIP "tooltip" 55 #define ATTRIBUTE_ITEMSTYLE "style" 56 57 #define ATTRIBUTE_ID "id" 58 #define ATTRIBUTE_FLOATINGPOSLEFT "floatingposleft" 59 #define ATTRIBUTE_FLOATINGPOSTOP "floatingpostop" 60 #define ATTRIBUTE_TOOLBARNAME "toolbarname" 61 #define ATTRIBUTE_CONTEXT "context" 62 #define ATTRIBUTE_FLOATINGLINES "floatinglines" 63 #define ATTRIBUTE_DOCKINGLINES "dockinglines" 64 #define ATTRIBUTE_ALIGN "align" 65 #define ATTRIBUTE_FLOATING "floating" 66 #define ATTRIBUTE_BUTTONTYPE "style" 67 #define ATTRIBUTE_USERDEFNAME "userdefname" 68 69 #define ELEMENT_NS_TOOLBAR "toolbar:toolbar" 70 #define ELEMENT_NS_TOOLBARITEM "toolbar:toolbaritem" 71 #define ELEMENT_NS_TOOLBARSPACE "toolbar:toolbarspace" 72 #define ELEMENT_NS_TOOLBARBREAK "toolbar:toolbarbreak" 73 #define ELEMENT_NS_TOOLBARSEPARATOR "toolbar:toolbarseparator" 74 75 #define ELEMENT_NS_TOOLBARLAYOUTS "toolbar:toolbarlayouts" 76 #define ELEMENT_NS_TOOLBARLAYOUT "toolbar:toolbarlayout" 77 #define ELEMENT_NS_TOOLBARCONFIGITEMS "toolbar:toolbarconfigitems" 78 #define ELEMENT_NS_TOOLBARCONFIGITEM "toolbar:toolbarconfigitem" 79 80 #define ATTRIBUTE_XMLNS_TOOLBAR "xmlns:toolbar" 81 #define ATTRIBUTE_XMLNS_XLINK "xmlns:xlink" 82 83 #define ATTRIBUTE_TYPE_CDATA "CDATA" 84 85 #define ATTRIBUTE_BOOLEAN_TRUE "true" 86 #define ATTRIBUTE_BOOLEAN_FALSE "false" 87 88 #define ATTRIBUTE_ALIGN_LEFT "left" 89 #define ATTRIBUTE_ALIGN_RIGHT "right" 90 #define ATTRIBUTE_ALIGN_TOP "top" 91 #define ATTRIBUTE_ALIGN_BOTTOM "bottom" 92 93 #define ATTRIBUTE_STYLE_TEXT "text" 94 #define ATTRIBUTE_STYLE_SYMBOL "symbol" 95 #define ATTRIBUTE_STYLE_SYMBOLTEXT "symboltext" 96 #define ATTRIBUTE_STYLE_SYMBOLPLUSTEXT "symbol+text" 97 98 #define ATTRIBUTE_ITEMSTYLE_RADIO "radio" 99 #define ATTRIBUTE_ITEMSTYLE_AUTO "auto" 100 #define ATTRIBUTE_ITEMSTYLE_LEFT "left" 101 #define ATTRIBUTE_ITEMSTYLE_AUTOSIZE "autosize" 102 #define ATTRIBUTE_ITEMSTYLE_DROPDOWN "dropdown" 103 #define ATTRIBUTE_ITEMSTYLE_REPEAT "repeat" 104 #define ATTRIBUTE_ITEMSTYLE_TEXT "text" 105 #define ATTRIBUTE_ITEMSTYLE_DROPDOWNONLY "dropdownonly" 106 #define ATTRIBUTE_ITEMSTYLE_IMAGE "image" 107 108 #endif // __FRAMEWORK_XML_TOOLBOXCONFIGURATIONDEFINES_HXX_ 109