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