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