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 .
19 #ifndef INCLUDED_SVX_SOURCE_INC_FMPROP_HXX
20 #define INCLUDED_SVX_SOURCE_INC_FMPROP_HXX
22 #include <rtl/ustring.hxx>
24 // PropertyIds, which have an assignment to a PropertyName, could continue
25 // to be WhichIds in the future -> Itemset
26 #define FM_ATTR_START 0
28 #define FM_ATTR_FILTER ( FM_ATTR_START + 1 )
29 #define FM_ATTR_FORM_OPERATIONS ( FM_ATTR_START + 2 )
31 inline constexpr OUString FM_PROP_NAME
= u
"Name"_ustr
;
32 inline constexpr OUString FM_PROP_CLASSID
= u
"ClassId"_ustr
;
33 inline constexpr OUString FM_PROP_ALIGN
= u
"Align"_ustr
;
34 inline constexpr OUString FM_PROP_ROWCOUNT
= u
"RowCount"_ustr
;
35 inline constexpr OUString FM_PROP_ROWCOUNTFINAL
= u
"IsRowCountFinal"_ustr
;
36 inline constexpr OUString FM_PROP_FETCHSIZE
= u
"FetchSize"_ustr
;
37 inline constexpr OUString FM_PROP_VALUE
= u
"Value"_ustr
;
38 inline constexpr OUString FM_PROP_VALUEMIN
= u
"ValueMin"_ustr
;
39 inline constexpr OUString FM_PROP_VALUEMAX
= u
"ValueMax"_ustr
;
40 inline constexpr OUString FM_PROP_VALUESTEP
= u
"ValueStep"_ustr
;
41 inline constexpr OUString FM_PROP_TEXT
= u
"Text"_ustr
;
42 inline constexpr OUString FM_PROP_LABEL
= u
"Label"_ustr
;
43 inline constexpr OUString FM_PROP_NAVIGATION
= u
"NavigationBarMode"_ustr
;
44 inline constexpr OUString FM_PROP_CYCLE
= u
"Cycle"_ustr
;
45 inline constexpr OUString FM_PROP_CONTROLSOURCE
= u
"DataField"_ustr
;
46 inline constexpr OUString FM_PROP_ENABLED
= u
"Enabled"_ustr
;
47 inline constexpr OUString FM_PROP_SPIN
= u
"Spin"_ustr
;
48 inline constexpr OUString FM_PROP_READONLY
= u
"ReadOnly"_ustr
;
49 inline constexpr OUString FM_PROP_FILTER
= u
"Filter"_ustr
;
50 inline constexpr OUString FM_PROP_AUTOINCREMENT
= u
"IsAutoIncrement"_ustr
;
51 inline constexpr OUString FM_PROP_WIDTH
= u
"Width"_ustr
;
52 inline constexpr OUString FM_PROP_SEARCHABLE
= u
"IsSearchable"_ustr
;
53 inline constexpr OUString FM_PROP_MULTILINE
= u
"MultiLine"_ustr
;
54 inline constexpr OUString FM_PROP_TARGET_URL
= u
"TargetURL"_ustr
;
55 inline constexpr OUString FM_PROP_DEFAULTCONTROL
= u
"DefaultControl"_ustr
;
56 inline constexpr OUString FM_PROP_MAXTEXTLEN
= u
"MaxTextLen"_ustr
;
57 inline constexpr OUString FM_PROP_DATE
= u
"Date"_ustr
;
58 inline constexpr OUString FM_PROP_TIME
= u
"Time"_ustr
;
59 inline constexpr OUString FM_PROP_STATE
= u
"State"_ustr
;
60 inline constexpr OUString FM_PROP_TRISTATE
= u
"TriState"_ustr
;
61 inline constexpr OUString FM_PROP_STRINGITEMLIST
= u
"StringItemList"_ustr
;
62 inline constexpr OUString FM_PROP_DEFAULT_TEXT
= u
"DefaultText"_ustr
;
63 inline constexpr OUString FM_PROP_DEFAULTCHECKED
= u
"DefaultState"_ustr
;
64 inline constexpr OUString FM_PROP_DEFAULT_DATE
= u
"DefaultDate"_ustr
;
65 inline constexpr OUString FM_PROP_DEFAULT_TIME
= u
"DefaultTime"_ustr
;
66 inline constexpr OUString FM_PROP_DEFAULT_VALUE
= u
"DefaultValue"_ustr
;
67 inline constexpr OUString FM_PROP_FORMATKEY
= u
"FormatKey"_ustr
;
68 inline constexpr OUString FM_PROP_FORMATSSUPPLIER
= u
"FormatsSupplier"_ustr
;
69 inline constexpr OUString FM_PROP_LISTSOURCETYPE
= u
"ListSourceType"_ustr
;
70 inline constexpr OUString FM_PROP_LISTSOURCE
= u
"ListSource"_ustr
;
71 inline constexpr OUString FM_PROP_SELECT_SEQ
= u
"SelectedItems"_ustr
;
72 inline constexpr OUString FM_PROP_VALUE_SEQ
= u
"ValueItemList"_ustr
;
73 inline constexpr OUString FM_PROP_DEFAULT_SELECT_SEQ
= u
"DefaultSelection"_ustr
;
74 inline constexpr OUString FM_PROP_DECIMAL_ACCURACY
= u
"DecimalAccuracy"_ustr
;
75 inline constexpr OUString FM_PROP_EDITMASK
= u
"EditMask"_ustr
;
76 inline constexpr OUString FM_PROP_ISREADONLY
= u
"IsReadOnly"_ustr
;
77 inline constexpr OUString FM_PROP_FIELDTYPE
= u
"Type"_ustr
;
78 inline constexpr OUString FM_PROP_REFVALUE
= u
"RefValue"_ustr
;
79 inline constexpr OUString FM_PROP_STRICTFORMAT
= u
"StrictFormat"_ustr
;
80 inline constexpr OUString FM_PROP_DATASOURCE
= u
"DataSourceName"_ustr
;
81 inline constexpr OUString FM_PROP_LITERALMASK
= u
"LiteralMask"_ustr
;
82 inline constexpr OUString FM_PROP_SHOWTHOUSANDSEP
= u
"ShowThousandsSeparator"_ustr
;
83 inline constexpr OUString FM_PROP_CURRENCYSYMBOL
= u
"CurrencySymbol"_ustr
;
84 inline constexpr OUString FM_PROP_DATEFORMAT
= u
"DateFormat"_ustr
;
85 inline constexpr OUString FM_PROP_DATEMIN
= u
"DateMin"_ustr
;
86 inline constexpr OUString FM_PROP_DATEMAX
= u
"DateMax"_ustr
;
87 inline constexpr OUString FM_PROP_DATE_SHOW_CENTURY
= u
"DateShowCentury"_ustr
;
88 inline constexpr OUString FM_PROP_TIMEFORMAT
= u
"TimeFormat"_ustr
;
89 inline constexpr OUString FM_PROP_TIMEMIN
= u
"TimeMin"_ustr
;
90 inline constexpr OUString FM_PROP_TIMEMAX
= u
"TimeMax"_ustr
;
91 inline constexpr OUString FM_PROP_LINECOUNT
= u
"LineCount"_ustr
;
92 inline constexpr OUString FM_PROP_BOUNDCOLUMN
= u
"BoundColumn"_ustr
;
93 #define FM_PROP_HASNAVIGATION "HasNavigationBar"
94 inline constexpr OUString FM_PROP_FONT
= u
"FontDescriptor"_ustr
;
95 #define FM_PROP_BACKGROUNDCOLOR "BackgroundColor"
96 #define FM_PROP_TEXTCOLOR "TextColor"
97 inline constexpr OUString FM_PROP_BORDER
= u
"Border"_ustr
;
98 inline constexpr OUString FM_PROP_DROPDOWN
= u
"Dropdown"_ustr
;
99 inline constexpr OUString FM_PROP_ROWHEIGHT
= u
"RowHeight"_ustr
;
100 inline constexpr OUString FM_PROP_HELPTEXT
= u
"HelpText"_ustr
;
101 #define FM_PROP_HELPURL "HelpURL"
102 #define FM_PROP_RECORDMARKER "HasRecordMarker"
103 inline constexpr OUString FM_PROP_BOUNDFIELD
= u
"BoundField"_ustr
;
104 inline constexpr OUString FM_PROP_EFFECTIVE_VALUE
= u
"EffectiveValue"_ustr
;
105 inline constexpr OUString FM_PROP_EFFECTIVE_DEFAULT
= u
"EffectiveDefault"_ustr
;
106 inline constexpr OUString FM_PROP_EFFECTIVE_MIN
= u
"EffectiveMin"_ustr
;
107 inline constexpr OUString FM_PROP_EFFECTIVE_MAX
= u
"EffectiveMax"_ustr
;
108 inline constexpr OUString FM_PROP_HIDDEN
= u
"Hidden"_ustr
;
109 inline constexpr OUString FM_PROP_FILTERPROPOSAL
= u
"UseFilterValueProposal"_ustr
;
110 inline constexpr OUString FM_PROP_FIELDSOURCE
= u
"FieldSource"_ustr
;
111 inline constexpr OUString FM_PROP_TABLENAME
= u
"TableName"_ustr
;
112 inline constexpr OUString FM_PROP_CONTROLLABEL
= u
"LabelControl"_ustr
;
113 inline constexpr OUString FM_PROP_CURSORCOLOR
= u
"CursorColor"_ustr
;
114 inline constexpr OUString FM_PROP_ALWAYSSHOWCURSOR
= u
"AlwaysShowCursor"_ustr
;
115 inline constexpr OUString FM_PROP_DISPLAYSYNCHRON
= u
"DisplayIsSynchron"_ustr
;
116 inline constexpr OUString FM_PROP_ISMODIFIED
= u
"IsModified"_ustr
;
117 inline constexpr OUString FM_PROP_ISNEW
= u
"IsNew"_ustr
;
118 inline constexpr OUString FM_PROP_PRIVILEGES
= u
"Privileges"_ustr
;
119 inline constexpr OUString FM_PROP_COMMAND
= u
"Command"_ustr
;
120 inline constexpr OUString FM_PROP_COMMANDTYPE
= u
"CommandType"_ustr
;
121 inline constexpr OUString FM_PROP_RESULTSET_CONCURRENCY
= u
"ResultSetConcurrency"_ustr
;
122 inline constexpr OUString FM_PROP_INSERTONLY
= u
"IgnoreResult"_ustr
;
123 inline constexpr OUString FM_PROP_RESULTSET_TYPE
= u
"ResultSetType"_ustr
;
124 inline constexpr OUString FM_PROP_ESCAPE_PROCESSING
= u
"EscapeProcessing"_ustr
;
125 inline constexpr OUString FM_PROP_APPLYFILTER
= u
"ApplyFilter"_ustr
;
126 inline constexpr OUString FM_PROP_ISNULLABLE
= u
"IsNullable"_ustr
;
127 inline constexpr OUString FM_PROP_ACTIVECOMMAND
= u
"ActiveCommand"_ustr
;
128 inline constexpr OUString FM_PROP_ISCURRENCY
= u
"IsCurrency"_ustr
;
129 inline constexpr OUString FM_PROP_URL
= u
"URL"_ustr
;
130 inline constexpr OUString FM_PROP_ACTIVE_CONNECTION
= u
"ActiveConnection"_ustr
;
131 inline constexpr OUString FM_PROP_CONTROLSOURCEPROPERTY
= u
"DataFieldProperty"_ustr
;
132 inline constexpr OUString FM_PROP_REALNAME
= u
"RealName"_ustr
;
133 inline constexpr OUString FM_PROP_TEXTLINECOLOR
= u
"TextLineColor"_ustr
;
134 #define FM_PROP_FONTEMPHASISMARK "FontEmphasisMark"
135 #define FM_PROP_FONTRELIEF "FontRelief"
136 inline constexpr OUString FM_PROP_ORIENTATION
= u
"Orientation"_ustr
;
137 inline constexpr OUString FM_PROP_LINEENDFORMAT
= u
"LineEndFormat"_ustr
;
138 inline constexpr OUString FM_PROP_VISUALEFFECT
= u
"VisualEffect"_ustr
;
139 inline constexpr OUString FM_PROP_BORDERCOLOR
= u
"BorderColor"_ustr
;
140 inline constexpr OUString FM_PROP_DYNAMIC_CONTROL_BORDER
= u
"DynamicControlBorder"_ustr
;
141 inline constexpr OUString FM_PROP_CONTROL_BORDER_COLOR_FOCUS
= u
"ControlBorderColorOnFocus"_ustr
;
142 inline constexpr OUString FM_PROP_CONTROL_BORDER_COLOR_MOUSE
= u
"ControlBorderColorOnHover"_ustr
;
143 inline constexpr OUString FM_PROP_CONTROL_BORDER_COLOR_INVALID
= u
"ControlBorderColorOnInvalid"_ustr
;
144 inline constexpr OUString FM_PROP_BUTTON_TYPE
= u
"ButtonType"_ustr
;
145 inline constexpr OUString FM_PROP_FORM_OPERATIONS
= u
"FormOperations"_ustr
;
146 inline constexpr OUString FM_PROP_INPUT_REQUIRED
= u
"InputRequired"_ustr
;
147 inline constexpr OUString FM_PROP_WRITING_MODE
= u
"WritingMode"_ustr
;
148 inline constexpr OUString FM_PROP_MOUSE_WHEEL_BEHAVIOR
= u
"MouseWheelBehavior"_ustr
;
149 inline constexpr OUString FM_PROP_DESCRIPTION
= u
"Description"_ustr
;
153 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */