1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
3 * This file is part of the LibreOffice project.
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
9 * This file incorporates work covered by the following license notice:
11 * Licensed to the Apache Software Foundation (ASF) under one or more
12 * contributor license agreements. See the NOTICE file distributed
13 * with this work for additional information regarding copyright
14 * ownership. The ASF licenses this file to you under the Apache
15 * License, Version 2.0 (the "License"); you may not use this file
16 * except in compliance with the License. You may obtain a copy of
17 * the License at http://www.apache.org/licenses/LICENSE-2.0 .
22 #include <rtl/ustring.hxx>
28 inline constexpr OUString PROPERTY_CLASSID
= u
"ClassId"_ustr
;
29 inline constexpr OUString PROPERTY_ECHOCHAR
= u
"EchoChar"_ustr
;
30 inline constexpr OUString PROPERTY_MULTILINE
= u
"MultiLine"_ustr
;
31 inline constexpr OUString PROPERTY_NAME
= u
"Name"_ustr
;
32 inline constexpr OUString PROPERTY_GRAPHIC
= u
"Graphic"_ustr
;
33 inline constexpr OUString PROPERTY_LABEL
= u
"Label"_ustr
;
34 inline constexpr OUString PROPERTY_TARGETFRAME
= u
"TargetFrame"_ustr
;
35 inline constexpr OUString PROPERTY_TARGETURL
= u
"TargetURL"_ustr
;
36 inline constexpr OUString PROPERTY_TITLE
= u
"Tag"_ustr
;
37 inline constexpr OUString PROPERTY_DROPDOWN
= u
"Dropdown"_ustr
;
38 inline constexpr OUString PROPERTY_PRINTABLE
= u
"Printable"_ustr
;
39 inline constexpr OUString PROPERTY_READONLY
= u
"ReadOnly"_ustr
;
40 inline constexpr OUString PROPERTY_DEFAULT_STATE
= u
"DefaultState"_ustr
;
41 inline constexpr OUString PROPERTY_TABSTOP
= u
"Tabstop"_ustr
;
42 inline constexpr OUString PROPERTY_STATE
= u
"State"_ustr
;
43 inline constexpr OUString PROPERTY_ENABLED
= u
"Enabled"_ustr
;
44 inline constexpr OUString PROPERTY_ENABLEVISIBLE
= u
"EnableVisible"_ustr
;
45 inline constexpr OUString PROPERTY_MAXTEXTLENGTH
= u
"MaxTextLen"_ustr
;
46 inline constexpr OUString PROPERTY_LINECOUNT
= u
"LineCount"_ustr
;
47 inline constexpr OUString PROPERTY_TABINDEX
= u
"TabIndex"_ustr
;
48 inline constexpr OUString PROPERTY_COMMAND
= u
"Command"_ustr
;
49 inline constexpr OUString PROPERTY_DATASOURCENAME
= u
"DataSourceName"_ustr
;
50 inline constexpr OUString PROPERTY_FILTER
= u
"Filter"_ustr
;
51 inline constexpr OUString PROPERTY_ORDER
= u
"Order"_ustr
;
52 inline constexpr OUString PROPERTY_ALLOWDELETES
= u
"AllowDeletes"_ustr
;
53 inline constexpr OUString PROPERTY_ALLOWINSERTS
= u
"AllowInserts"_ustr
;
54 inline constexpr OUString PROPERTY_ALLOWUPDATES
= u
"AllowUpdates"_ustr
;
55 inline constexpr OUString PROPERTY_APPLYFILTER
= u
"ApplyFilter"_ustr
;
56 inline constexpr OUString PROPERTY_ESCAPEPROCESSING
= u
"EscapeProcessing"_ustr
;
57 inline constexpr OUString PROPERTY_IGNORERESULT
= u
"IgnoreResult"_ustr
;
58 inline constexpr OUString PROPERTY_SUBMIT_ENCODING
= u
"SubmitEncoding"_ustr
;
59 inline constexpr OUString PROPERTY_SUBMIT_METHOD
= u
"SubmitMethod"_ustr
;
60 inline constexpr OUString PROPERTY_COMMAND_TYPE
= u
"CommandType"_ustr
;
61 inline constexpr OUString PROPERTY_NAVIGATION
= u
"NavigationBarMode"_ustr
;
62 inline constexpr OUString PROPERTY_CYCLE
= u
"Cycle"_ustr
;
63 inline constexpr OUString PROPERTY_BUTTONTYPE
= u
"ButtonType"_ustr
;
64 inline constexpr OUString PROPERTY_DATAFIELD
= u
"DataField"_ustr
;
65 inline constexpr OUString PROPERTY_BOUNDCOLUMN
= u
"BoundColumn"_ustr
;
66 inline constexpr OUString PROPERTY_EMPTY_IS_NULL
= u
"ConvertEmptyToNull"_ustr
;
67 inline constexpr OUString PROPERTY_INPUT_REQUIRED
= u
"InputRequired"_ustr
;
68 inline constexpr OUString PROPERTY_LISTSOURCE
= u
"ListSource"_ustr
;
69 inline constexpr OUString PROPERTY_LISTSOURCETYPE
= u
"ListSourceType"_ustr
;
70 inline constexpr OUString PROPERTY_ECHO_CHAR
= u
"EchoChar"_ustr
;
71 inline constexpr OUString PROPERTY_STRICTFORMAT
= u
"StrictFormat"_ustr
;
72 inline constexpr OUString PROPERTY_AUTOCOMPLETE
= u
"Autocomplete"_ustr
;
73 inline constexpr OUString PROPERTY_MULTISELECTION
= u
"MultiSelection"_ustr
;
74 inline constexpr OUString PROPERTY_DEFAULTBUTTON
= u
"DefaultButton"_ustr
;
75 inline constexpr OUString PROPERTY_TRISTATE
= u
"TriState"_ustr
;
76 inline constexpr OUString PROPERTY_CONTROLLABEL
= u
"LabelControl"_ustr
;
77 inline constexpr OUString PROPERTY_STRING_ITEM_LIST
= u
"StringItemList"_ustr
;
78 inline constexpr OUString PROPERTY_VALUE_SEQ
= u
"ValueItemList"_ustr
;
79 inline constexpr OUString PROPERTY_DEFAULT_SELECT_SEQ
= u
"DefaultSelection"_ustr
;
80 inline constexpr OUString PROPERTY_SELECT_SEQ
= u
"SelectedItems"_ustr
;
81 inline constexpr OUString PROPERTY_DATE_MIN
= u
"DateMin"_ustr
;
82 inline constexpr OUString PROPERTY_DATE_MAX
= u
"DateMax"_ustr
;
83 inline constexpr OUString PROPERTY_TIME_MIN
= u
"TimeMin"_ustr
;
84 inline constexpr OUString PROPERTY_TIME_MAX
= u
"TimeMax"_ustr
;
85 inline constexpr OUString PROPERTY_VALUE_MIN
= u
"ValueMin"_ustr
;
86 inline constexpr OUString PROPERTY_VALUE_MAX
= u
"ValueMax"_ustr
;
87 inline constexpr OUString PROPERTY_EFFECTIVE_MIN
= u
"EffectiveMin"_ustr
;
88 inline constexpr OUString PROPERTY_EFFECTIVE_MAX
= u
"EffectiveMax"_ustr
;
89 inline constexpr OUString PROPERTY_DEFAULT_DATE
= u
"DefaultDate"_ustr
;
90 inline constexpr OUString PROPERTY_DATE
= u
"Date"_ustr
;
91 inline constexpr OUString PROPERTY_DEFAULT_TIME
= u
"DefaultTime"_ustr
;
92 inline constexpr OUString PROPERTY_TIME
= u
"Time"_ustr
;
93 inline constexpr OUString PROPERTY_DEFAULT_VALUE
= u
"DefaultValue"_ustr
;
94 inline constexpr OUString PROPERTY_VALUE
= u
"Value"_ustr
;
95 inline constexpr OUString PROPERTY_HIDDEN_VALUE
= u
"HiddenValue"_ustr
;
96 inline constexpr OUString PROPERTY_DEFAULT_TEXT
= u
"DefaultText"_ustr
;
97 inline constexpr OUString PROPERTY_TEXT
= u
"Text"_ustr
;
98 inline constexpr OUString PROPERTY_EFFECTIVE_VALUE
= u
"EffectiveValue"_ustr
;
99 inline constexpr OUString PROPERTY_EFFECTIVE_DEFAULT
= u
"EffectiveDefault"_ustr
;
100 inline constexpr OUString PROPERTY_REFVALUE
= u
"RefValue"_ustr
;
101 inline constexpr OUString PROPERTY_URL
= u
"URL"_ustr
;
102 inline constexpr OUString PROPERTY_FONT
= u
"FontDescriptor"_ustr
;
103 inline constexpr OUString PROPERTY_BACKGROUNDCOLOR
= u
"BackgroundColor"_ustr
;
104 inline constexpr OUString PROPERTY_MASTERFIELDS
= u
"MasterFields"_ustr
;
105 inline constexpr OUString PROPERTY_DETAILFIELDS
= u
"DetailFields"_ustr
;
106 inline constexpr OUString PROPERTY_COLUMNSERVICENAME
= u
"ColumnServiceName"_ustr
;
107 inline constexpr OUString PROPERTY_FORMATKEY
= u
"FormatKey"_ustr
;
108 inline constexpr OUString PROPERTY_ALIGN
= u
"Align"_ustr
;
109 inline constexpr OUString PROPERTY_BORDER
= u
"Border"_ustr
;
110 inline constexpr OUString PROPERTY_AUTOCONTROLFOCUS
= u
"AutomaticControlFocus"_ustr
;
111 inline constexpr OUString PROPERTY_APPLYDESIGNMODE
= u
"ApplyFormDesignMode"_ustr
;
112 inline constexpr OUString PROPERTY_FORMATSSUPPLIER
= u
"FormatsSupplier"_ustr
;
113 inline constexpr OUString PROPERTY_LOCALE
= u
"Locale"_ustr
;
114 inline constexpr OUString PROPERTY_FORMATSTRING
= u
"FormatString"_ustr
;
115 inline constexpr OUString PROPERTY_DATEFORMAT
= u
"DateFormat"_ustr
;
116 inline constexpr OUString PROPERTY_TIMEFORMAT
= u
"TimeFormat"_ustr
;
117 inline constexpr OUString PROPERTY_PERSISTENCE_MAXTEXTLENGTH
= u
"PersistenceMaxTextLength"_ustr
;
118 inline constexpr OUString PROPERTY_SCROLLVALUE_MIN
= u
"ScrollValueMin"_ustr
;
119 inline constexpr OUString PROPERTY_SCROLLVALUE_MAX
= u
"ScrollValueMax"_ustr
;
120 inline constexpr OUString PROPERTY_SCROLLVALUE
= u
"ScrollValue"_ustr
;
121 inline constexpr OUString PROPERTY_SCROLLVALUE_DEFAULT
= u
"DefaultScrollValue"_ustr
;
122 inline constexpr OUString PROPERTY_LINE_INCREMENT
= u
"LineIncrement"_ustr
;
123 inline constexpr OUString PROPERTY_BLOCK_INCREMENT
= u
"BlockIncrement"_ustr
;
124 inline constexpr OUString PROPERTY_REPEAT_DELAY
= u
"RepeatDelay"_ustr
;
125 inline constexpr OUString PROPERTY_SPINVALUE
= u
"SpinValue"_ustr
;
126 inline constexpr OUString PROPERTY_SPINVALUE_MIN
= u
"SpinValueMin"_ustr
;
127 inline constexpr OUString PROPERTY_SPINVALUE_MAX
= u
"SpinValueMax"_ustr
;
128 inline constexpr OUString PROPERTY_DEFAULT_SPINVALUE
= u
"DefaultSpinValue"_ustr
;
129 inline constexpr OUString PROPERTY_SPIN_INCREMENT
= u
"SpinIncrement"_ustr
;
130 inline constexpr OUString PROPERTY_ORIENTATION
= u
"Orientation"_ustr
;
131 inline constexpr OUString PROPERTY_TOGGLE
= u
"Toggle"_ustr
;
132 inline constexpr OUString PROPERTY_FOCUS_ON_CLICK
= u
"FocusOnClick"_ustr
;
133 inline constexpr OUString PROPERTY_VISUAL_EFFECT
= u
"VisualEffect"_ustr
;
134 inline constexpr OUString PROPERTY_IMAGE_POSITION
= u
"ImagePosition"_ustr
;
135 inline constexpr OUString PROPERTY_IMAGE_ALIGN
= u
"ImageAlign"_ustr
;
136 inline constexpr OUString PROPERTY_GROUP_NAME
= u
"GroupName"_ustr
;
138 inline constexpr OUString PROPERTY_BOUND_CELL
= u
"BoundCell"_ustr
;
139 inline constexpr OUString PROPERTY_LIST_CELL_RANGE
= u
"CellRange"_ustr
;
140 inline constexpr OUString PROPERTY_ADDRESS
= u
"Address"_ustr
;
141 inline constexpr OUString PROPERTY_FILE_REPRESENTATION
= u
"PersistentRepresentation"_ustr
;
142 inline constexpr OUString PROPERTY_RICH_TEXT
= u
"RichText"_ustr
;
145 inline constexpr OUString SERVICE_SPREADSHEET_DOCUMENT
= u
"com.sun.star.sheet.SpreadsheetDocument"_ustr
;
146 inline constexpr OUString SERVICE_CELLVALUEBINDING
= u
"com.sun.star.table.CellValueBinding"_ustr
;
147 inline constexpr OUString SERVICE_LISTINDEXCELLBINDING
= u
"com.sun.star.table.ListPositionCellBinding"_ustr
;
148 inline constexpr OUString SERVICE_CELLRANGELISTSOURCE
= u
"com.sun.star.table.CellRangeListSource"_ustr
;
149 inline constexpr OUString SERVICE_ADDRESS_CONVERSION
= u
"com.sun.star.table.CellAddressConversion"_ustr
;
150 inline constexpr OUString SERVICE_RANGEADDRESS_CONVERSION
= u
"com.sun.star.table.CellRangeAddressConversion"_ustr
;
152 // old service names (compatibility)
153 #define SERVICE_PERSISTENT_COMPONENT_FORM "stardiv.one.form.component.Form"
154 #define SERVICE_PERSISTENT_COMPONENT_EDIT "stardiv.one.form.component.Edit"
155 #define SERVICE_PERSISTENT_COMPONENT_LISTBOX "stardiv.one.form.component.ListBox"
156 #define SERVICE_PERSISTENT_COMPONENT_COMBOBOX "stardiv.one.form.component.ComboBox"
157 #define SERVICE_PERSISTENT_COMPONENT_RADIOBUTTON "stardiv.one.form.component.RadioButton"
158 #define SERVICE_PERSISTENT_COMPONENT_GROUPBOX "stardiv.one.form.component.GroupBox"
159 #define SERVICE_PERSISTENT_COMPONENT_FIXEDTEXT "stardiv.one.form.component.FixedText"
160 #define SERVICE_PERSISTENT_COMPONENT_COMMANDBUTTON "stardiv.one.form.component.CommandButton"
161 #define SERVICE_PERSISTENT_COMPONENT_CHECKBOX "stardiv.one.form.component.CheckBox"
162 #define SERVICE_PERSISTENT_COMPONENT_GRID "stardiv.one.form.component.Grid"
163 #define SERVICE_PERSISTENT_COMPONENT_IMAGEBUTTON "stardiv.one.form.component.ImageButton"
164 #define SERVICE_PERSISTENT_COMPONENT_FILECONTROL "stardiv.one.form.component.FileControl"
165 #define SERVICE_PERSISTENT_COMPONENT_TIMEFIELD "stardiv.one.form.component.TimeField"
166 #define SERVICE_PERSISTENT_COMPONENT_DATEFIELD "stardiv.one.form.component.DateField"
167 #define SERVICE_PERSISTENT_COMPONENT_NUMERICFIELD "stardiv.one.form.component.NumericField"
168 #define SERVICE_PERSISTENT_COMPONENT_CURRENCYFIELD "stardiv.one.form.component.CurrencyField"
169 #define SERVICE_PERSISTENT_COMPONENT_PATTERNFIELD "stardiv.one.form.component.PatternField"
170 #define SERVICE_PERSISTENT_COMPONENT_HIDDENCONTROL "stardiv.one.form.component.Hidden"
171 #define SERVICE_PERSISTENT_COMPONENT_IMAGECONTROL "stardiv.one.form.component.ImageControl"
172 #define SERVICE_PERSISTENT_COMPONENT_FORMATTEDFIELD "stardiv.one.form.component.FormattedField"
174 // new service names, the old ones are translated into this new ones
175 inline constexpr OUString SERVICE_FORM
= u
"com.sun.star.form.component.Form"_ustr
;
176 inline constexpr OUString SERVICE_EDIT
= u
"com.sun.star.form.component.TextField"_ustr
;
177 inline constexpr OUString SERVICE_LISTBOX
= u
"com.sun.star.form.component.ListBox"_ustr
;
178 inline constexpr OUString SERVICE_COMBOBOX
= u
"com.sun.star.form.component.ComboBox"_ustr
;
179 inline constexpr OUString SERVICE_RADIOBUTTON
= u
"com.sun.star.form.component.RadioButton"_ustr
;
180 inline constexpr OUString SERVICE_GROUPBOX
= u
"com.sun.star.form.component.GroupBox"_ustr
;
181 inline constexpr OUString SERVICE_FIXEDTEXT
= u
"com.sun.star.form.component.FixedText"_ustr
;
182 inline constexpr OUString SERVICE_COMMANDBUTTON
= u
"com.sun.star.form.component.CommandButton"_ustr
;
183 inline constexpr OUString SERVICE_CHECKBOX
= u
"com.sun.star.form.component.CheckBox"_ustr
;
184 inline constexpr OUString SERVICE_GRID
= u
"com.sun.star.form.component.GridControl"_ustr
;
185 inline constexpr OUString SERVICE_IMAGEBUTTON
= u
"com.sun.star.form.component.ImageButton"_ustr
;
186 inline constexpr OUString SERVICE_FILECONTROL
= u
"com.sun.star.form.component.FileControl"_ustr
;
187 inline constexpr OUString SERVICE_TIMEFIELD
= u
"com.sun.star.form.component.TimeField"_ustr
;
188 inline constexpr OUString SERVICE_DATEFIELD
= u
"com.sun.star.form.component.DateField"_ustr
;
189 inline constexpr OUString SERVICE_NUMERICFIELD
= u
"com.sun.star.form.component.NumericField"_ustr
;
190 inline constexpr OUString SERVICE_CURRENCYFIELD
= u
"com.sun.star.form.component.CurrencyField"_ustr
;
191 inline constexpr OUString SERVICE_PATTERNFIELD
= u
"com.sun.star.form.component.PatternField"_ustr
;
192 inline constexpr OUString SERVICE_HIDDENCONTROL
= u
"com.sun.star.form.component.HiddenControl"_ustr
;
193 inline constexpr OUString SERVICE_IMAGECONTROL
= u
"com.sun.star.form.component.DatabaseImageControl"_ustr
;
194 inline constexpr OUString SERVICE_FORMATTEDFIELD
= u
"com.sun.star.form.component.FormattedField"_ustr
;
197 #define EVENT_NAME_SEPARATOR "::"
198 inline constexpr OUString EVENT_TYPE
= u
"EventType"_ustr
;
199 inline constexpr OUString EVENT_LIBRARY
= u
"Library"_ustr
;
200 inline constexpr OUString EVENT_LOCALMACRONAME
= u
"MacroName"_ustr
;
201 inline constexpr OUString EVENT_SCRIPTURL
= u
"Script"_ustr
;
202 inline constexpr OUString EVENT_STAROFFICE
= u
"StarOffice"_ustr
;
203 #define EVENT_STARBASIC "StarBasic"
204 inline constexpr OUString EVENT_APPLICATION
= u
"application"_ustr
;
206 } // namespace xmloff
208 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */