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