xref: /trunk/main/forms/source/inc/frm_strings.hxx (revision cdf0e10c)
1*cdf0e10cSrcweir /*************************************************************************
2*cdf0e10cSrcweir  *
3*cdf0e10cSrcweir  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4*cdf0e10cSrcweir  *
5*cdf0e10cSrcweir  * Copyright 2000, 2010 Oracle and/or its affiliates.
6*cdf0e10cSrcweir  *
7*cdf0e10cSrcweir  * OpenOffice.org - a multi-platform office productivity suite
8*cdf0e10cSrcweir  *
9*cdf0e10cSrcweir  * This file is part of OpenOffice.org.
10*cdf0e10cSrcweir  *
11*cdf0e10cSrcweir  * OpenOffice.org is free software: you can redistribute it and/or modify
12*cdf0e10cSrcweir  * it under the terms of the GNU Lesser General Public License version 3
13*cdf0e10cSrcweir  * only, as published by the Free Software Foundation.
14*cdf0e10cSrcweir  *
15*cdf0e10cSrcweir  * OpenOffice.org is distributed in the hope that it will be useful,
16*cdf0e10cSrcweir  * but WITHOUT ANY WARRANTY; without even the implied warranty of
17*cdf0e10cSrcweir  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
18*cdf0e10cSrcweir  * GNU Lesser General Public License version 3 for more details
19*cdf0e10cSrcweir  * (a copy is included in the LICENSE file that accompanied this code).
20*cdf0e10cSrcweir  *
21*cdf0e10cSrcweir  * You should have received a copy of the GNU Lesser General Public License
22*cdf0e10cSrcweir  * version 3 along with OpenOffice.org.  If not, see
23*cdf0e10cSrcweir  * <http://www.openoffice.org/license.html>
24*cdf0e10cSrcweir  * for a copy of the LGPLv3 License.
25*cdf0e10cSrcweir  *
26*cdf0e10cSrcweir  ************************************************************************/
27*cdf0e10cSrcweir 
28*cdf0e10cSrcweir #ifndef FRM_STRINGS_HXX
29*cdf0e10cSrcweir #define FRM_STRINGS_HXX
30*cdf0e10cSrcweir 
31*cdf0e10cSrcweir #include <sal/types.h>
32*cdf0e10cSrcweir #include <rtl/ustring.hxx>
33*cdf0e10cSrcweir 
34*cdf0e10cSrcweir //..............................................................................
35*cdf0e10cSrcweir namespace frm
36*cdf0e10cSrcweir {
37*cdf0e10cSrcweir //..............................................................................
38*cdf0e10cSrcweir 
39*cdf0e10cSrcweir     struct ConstAsciiString
40*cdf0e10cSrcweir     {
41*cdf0e10cSrcweir 	    const sal_Char*	ascii;
42*cdf0e10cSrcweir 	    sal_Int32		length;
43*cdf0e10cSrcweir 
44*cdf0e10cSrcweir 	    inline	operator       ::rtl::OUString () const;
45*cdf0e10cSrcweir 	    inline	operator const sal_Char*       () const { return ascii; }
46*cdf0e10cSrcweir 
47*cdf0e10cSrcweir 	    inline ConstAsciiString(const sal_Char* _pAsciiZeroTerminated, const sal_Int32 _nLength);
48*cdf0e10cSrcweir 	    inline ~ConstAsciiString();
49*cdf0e10cSrcweir 
50*cdf0e10cSrcweir     private:
51*cdf0e10cSrcweir 	    mutable ::rtl::OUString*	ustring;
52*cdf0e10cSrcweir     };
53*cdf0e10cSrcweir 
54*cdf0e10cSrcweir     //------------------------------------------------------------
55*cdf0e10cSrcweir     inline ConstAsciiString::ConstAsciiString(const sal_Char* _pAsciiZeroTerminated, const sal_Int32 _nLength)
56*cdf0e10cSrcweir 	    :ascii(_pAsciiZeroTerminated)
57*cdf0e10cSrcweir 	    ,length(_nLength)
58*cdf0e10cSrcweir 	    ,ustring(NULL)
59*cdf0e10cSrcweir     {
60*cdf0e10cSrcweir     }
61*cdf0e10cSrcweir 
62*cdf0e10cSrcweir     //------------------------------------------------------------
63*cdf0e10cSrcweir     inline ConstAsciiString::~ConstAsciiString()
64*cdf0e10cSrcweir     {
65*cdf0e10cSrcweir 	    delete ustring;
66*cdf0e10cSrcweir 	    ustring = NULL;
67*cdf0e10cSrcweir     }
68*cdf0e10cSrcweir 
69*cdf0e10cSrcweir     //------------------------------------------------------------
70*cdf0e10cSrcweir     inline ConstAsciiString::operator ::rtl::OUString () const
71*cdf0e10cSrcweir     {
72*cdf0e10cSrcweir 	    if ( !ustring )
73*cdf0e10cSrcweir 		    ustring = new ::rtl::OUString( ascii, length, RTL_TEXTENCODING_ASCII_US );
74*cdf0e10cSrcweir 	    return *ustring;
75*cdf0e10cSrcweir     }
76*cdf0e10cSrcweir 
77*cdf0e10cSrcweir     #ifndef FORMS_IMPLEMENT_STRINGS
78*cdf0e10cSrcweir 	    #define FORMS_CONSTASCII_STRING( ident, string )    \
79*cdf0e10cSrcweir             extern const ConstAsciiString ident
80*cdf0e10cSrcweir     #else
81*cdf0e10cSrcweir 	    #define FORMS_CONSTASCII_STRING( ident, string )    \
82*cdf0e10cSrcweir             extern const ConstAsciiString ident( string, sizeof( string )-1 )
83*cdf0e10cSrcweir     #endif
84*cdf0e10cSrcweir 
85*cdf0e10cSrcweir //..............................................................................
86*cdf0e10cSrcweir }   // namespace frm
87*cdf0e10cSrcweir //..............................................................................
88*cdf0e10cSrcweir 
89*cdf0e10cSrcweir //..............................................................................
90*cdf0e10cSrcweir namespace frm
91*cdf0e10cSrcweir {
92*cdf0e10cSrcweir //..............................................................................
93*cdf0e10cSrcweir 
94*cdf0e10cSrcweir     //--------------------------------------------------------------------------
95*cdf0e10cSrcweir     //- properties
96*cdf0e10cSrcweir     //--------------------------------------------------------------------------
97*cdf0e10cSrcweir     FORMS_CONSTASCII_STRING( PROPERTY_TABINDEX,                 "TabIndex" );
98*cdf0e10cSrcweir     FORMS_CONSTASCII_STRING( PROPERTY_TAG,                      "Tag" );
99*cdf0e10cSrcweir     FORMS_CONSTASCII_STRING( PROPERTY_NAME,                     "Name" );
100*cdf0e10cSrcweir     FORMS_CONSTASCII_STRING( PROPERTY_CLASSID,                  "ClassId" );
101*cdf0e10cSrcweir     FORMS_CONSTASCII_STRING( PROPERTY_FETCHSIZE,                "FetchSize" );
102*cdf0e10cSrcweir     FORMS_CONSTASCII_STRING( PROPERTY_VALUE,                    "Value" );
103*cdf0e10cSrcweir     FORMS_CONSTASCII_STRING( PROPERTY_TEXT,                     "Text" );
104*cdf0e10cSrcweir     FORMS_CONSTASCII_STRING( PROPERTY_LABEL,                    "Label" );
105*cdf0e10cSrcweir     FORMS_CONSTASCII_STRING( PROPERTY_CANINSERT,                "CanInsert" );
106*cdf0e10cSrcweir     FORMS_CONSTASCII_STRING( PROPERTY_CANUPDATE,                "CanUpdate" );
107*cdf0e10cSrcweir     FORMS_CONSTASCII_STRING( PROPERTY_CANDELETE,                "CanDelete" );
108*cdf0e10cSrcweir     FORMS_CONSTASCII_STRING( PROPERTY_NAVIGATION,               "NavigationBarMode" );
109*cdf0e10cSrcweir     FORMS_CONSTASCII_STRING( PROPERTY_HASNAVIGATION,            "HasNavigationBar" );
110*cdf0e10cSrcweir     FORMS_CONSTASCII_STRING( PROPERTY_CYCLE,                    "Cycle" );
111*cdf0e10cSrcweir     FORMS_CONSTASCII_STRING( PROPERTY_CONTROLSOURCE,            "DataField" );
112*cdf0e10cSrcweir     FORMS_CONSTASCII_STRING( PROPERTY_ENABLED,                  "Enabled" );
113*cdf0e10cSrcweir     FORMS_CONSTASCII_STRING( PROPERTY_ENABLEVISIBLE,                  "EnableVisible" );
114*cdf0e10cSrcweir     FORMS_CONSTASCII_STRING( PROPERTY_READONLY,                 "ReadOnly" );
115*cdf0e10cSrcweir     FORMS_CONSTASCII_STRING( PROPERTY_RELEVANT,                 "Relevant" );
116*cdf0e10cSrcweir     FORMS_CONSTASCII_STRING( PROPERTY_ISREADONLY,               "IsReadOnly" );
117*cdf0e10cSrcweir     FORMS_CONSTASCII_STRING( PROPERTY_FILTER,                   "Filter" );
118*cdf0e10cSrcweir     FORMS_CONSTASCII_STRING( PROPERTY_WIDTH,                    "Width" );
119*cdf0e10cSrcweir     FORMS_CONSTASCII_STRING( PROPERTY_SEARCHABLE,               "IsSearchable" );
120*cdf0e10cSrcweir     FORMS_CONSTASCII_STRING( PROPERTY_MULTILINE,                "MultiLine" );
121*cdf0e10cSrcweir     FORMS_CONSTASCII_STRING( PROPERTY_TARGET_URL,               "TargetURL" );
122*cdf0e10cSrcweir     FORMS_CONSTASCII_STRING( PROPERTY_TARGET_FRAME,             "TargetFrame" );
123*cdf0e10cSrcweir     FORMS_CONSTASCII_STRING( PROPERTY_DEFAULTCONTROL,           "DefaultControl" );
124*cdf0e10cSrcweir     FORMS_CONSTASCII_STRING( PROPERTY_MAXTEXTLEN,               "MaxTextLen" );
125*cdf0e10cSrcweir     FORMS_CONSTASCII_STRING( PROPERTY_EDITMASK,                 "EditMask" );
126*cdf0e10cSrcweir     FORMS_CONSTASCII_STRING( PROPERTY_SIZE,                     "Size" );
127*cdf0e10cSrcweir     FORMS_CONSTASCII_STRING( PROPERTY_SPIN,                     "Spin" );
128*cdf0e10cSrcweir     FORMS_CONSTASCII_STRING( PROPERTY_DATE,                     "Date" );
129*cdf0e10cSrcweir     FORMS_CONSTASCII_STRING( PROPERTY_TIME,                     "Time" );
130*cdf0e10cSrcweir     FORMS_CONSTASCII_STRING( PROPERTY_STATE,                    "State" );
131*cdf0e10cSrcweir     FORMS_CONSTASCII_STRING( PROPERTY_TRISTATE,                 "TriState" );
132*cdf0e10cSrcweir     FORMS_CONSTASCII_STRING( PROPERTY_HIDDEN_VALUE,             "HiddenValue" );
133*cdf0e10cSrcweir     FORMS_CONSTASCII_STRING( PROPERTY_BUTTONTYPE,               "ButtonType" );
134*cdf0e10cSrcweir     FORMS_CONSTASCII_STRING( PROPERTY_STRINGITEMLIST,           "StringItemList" );
135*cdf0e10cSrcweir     FORMS_CONSTASCII_STRING( PROPERTY_DEFAULT_TEXT,             "DefaultText" );
136*cdf0e10cSrcweir     FORMS_CONSTASCII_STRING( PROPERTY_DEFAULT_STATE,             "DefaultState" );
137*cdf0e10cSrcweir     FORMS_CONSTASCII_STRING( PROPERTY_FORMATKEY,                "FormatKey" );
138*cdf0e10cSrcweir     FORMS_CONSTASCII_STRING( PROPERTY_FORMATSSUPPLIER,          "FormatsSupplier" );
139*cdf0e10cSrcweir     FORMS_CONSTASCII_STRING( PROPERTY_SUBMIT_ACTION,            "SubmitAction" );
140*cdf0e10cSrcweir     FORMS_CONSTASCII_STRING( PROPERTY_SUBMIT_TARGET,            "SubmitTarget" );
141*cdf0e10cSrcweir     FORMS_CONSTASCII_STRING( PROPERTY_SUBMIT_METHOD,            "SubmitMethod" );
142*cdf0e10cSrcweir     FORMS_CONSTASCII_STRING( PROPERTY_SUBMIT_ENCODING,          "SubmitEncoding" );
143*cdf0e10cSrcweir     FORMS_CONSTASCII_STRING( PROPERTY_IMAGE_URL,                "ImageURL" );
144*cdf0e10cSrcweir     FORMS_CONSTASCII_STRING( PROPERTY_GRAPHIC,                  "Graphic" );
145*cdf0e10cSrcweir     FORMS_CONSTASCII_STRING( PROPERTY_IMAGE_POSITION,           "ImagePosition" );
146*cdf0e10cSrcweir     FORMS_CONSTASCII_STRING( PROPERTY_EMPTY_IS_NULL,            "ConvertEmptyToNull" );
147*cdf0e10cSrcweir     FORMS_CONSTASCII_STRING( PROPERTY_LISTSOURCETYPE,           "ListSourceType" );
148*cdf0e10cSrcweir     FORMS_CONSTASCII_STRING( PROPERTY_LISTSOURCE,               "ListSource" );
149*cdf0e10cSrcweir     FORMS_CONSTASCII_STRING( PROPERTY_SELECT_SEQ,               "SelectedItems" );
150*cdf0e10cSrcweir     FORMS_CONSTASCII_STRING( PROPERTY_VALUE_SEQ,                "ValueItemList" );
151*cdf0e10cSrcweir     FORMS_CONSTASCII_STRING( PROPERTY_DEFAULT_SELECT_SEQ,       "DefaultSelection" );
152*cdf0e10cSrcweir     FORMS_CONSTASCII_STRING( PROPERTY_MULTISELECTION,           "MultiSelection" );
153*cdf0e10cSrcweir     FORMS_CONSTASCII_STRING( PROPERTY_ALIGN,                    "Align" );
154*cdf0e10cSrcweir     FORMS_CONSTASCII_STRING( PROPERTY_VERTICAL_ALIGN,           "VerticalAlign" );
155*cdf0e10cSrcweir     FORMS_CONSTASCII_STRING( PROPERTY_DEFAULT_DATE,             "DefaultDate" );
156*cdf0e10cSrcweir     FORMS_CONSTASCII_STRING( PROPERTY_DEFAULT_TIME,             "DefaultTime" );
157*cdf0e10cSrcweir     FORMS_CONSTASCII_STRING( PROPERTY_DEFAULT_VALUE,            "DefaultValue" );
158*cdf0e10cSrcweir     FORMS_CONSTASCII_STRING( PROPERTY_DECIMAL_ACCURACY,         "DecimalAccuracy" );
159*cdf0e10cSrcweir     FORMS_CONSTASCII_STRING( PROPERTY_CURSORSOURCE,             "DataSelection" );
160*cdf0e10cSrcweir     FORMS_CONSTASCII_STRING( PROPERTY_CURSORSOURCETYPE,         "DataSelectionType" );
161*cdf0e10cSrcweir     FORMS_CONSTASCII_STRING( PROPERTY_FIELDTYPE,                "Type" );
162*cdf0e10cSrcweir     FORMS_CONSTASCII_STRING( PROPERTY_DECIMALS,                 "Decimals" );
163*cdf0e10cSrcweir     FORMS_CONSTASCII_STRING( PROPERTY_REFVALUE,                 "RefValue" );
164*cdf0e10cSrcweir     FORMS_CONSTASCII_STRING( PROPERTY_UNCHECKED_REFVALUE,       "SecondaryRefValue" );
165*cdf0e10cSrcweir     FORMS_CONSTASCII_STRING( PROPERTY_VALUEMIN,                 "ValueMin" );
166*cdf0e10cSrcweir     FORMS_CONSTASCII_STRING( PROPERTY_VALUEMAX,                 "ValueMax" );
167*cdf0e10cSrcweir     FORMS_CONSTASCII_STRING( PROPERTY_STRICTFORMAT,             "StrictFormat" );
168*cdf0e10cSrcweir     FORMS_CONSTASCII_STRING( PROPERTY_ALLOWADDITIONS,           "AllowInserts" );
169*cdf0e10cSrcweir     FORMS_CONSTASCII_STRING( PROPERTY_ALLOWEDITS,               "AllowUpdates" );
170*cdf0e10cSrcweir     FORMS_CONSTASCII_STRING( PROPERTY_ALLOWDELETIONS,           "AllowDeletes" );
171*cdf0e10cSrcweir     FORMS_CONSTASCII_STRING( PROPERTY_MASTERFIELDS,             "MasterFields" );
172*cdf0e10cSrcweir     FORMS_CONSTASCII_STRING( PROPERTY_ISPASSTHROUGH,            "IsPassThrough" );
173*cdf0e10cSrcweir     FORMS_CONSTASCII_STRING( PROPERTY_QUERY,                    "Query" );
174*cdf0e10cSrcweir     FORMS_CONSTASCII_STRING( PROPERTY_LITERALMASK,              "LiteralMask" );
175*cdf0e10cSrcweir     FORMS_CONSTASCII_STRING( PROPERTY_VALUESTEP,                "ValueStep" );
176*cdf0e10cSrcweir     FORMS_CONSTASCII_STRING( PROPERTY_SHOWTHOUSANDSEP,          "ShowThousandsSeparator" );
177*cdf0e10cSrcweir     FORMS_CONSTASCII_STRING( PROPERTY_CURRENCYSYMBOL,           "CurrencySymbol" );
178*cdf0e10cSrcweir     FORMS_CONSTASCII_STRING( PROPERTY_DATEFORMAT,               "DateFormat" );
179*cdf0e10cSrcweir     FORMS_CONSTASCII_STRING( PROPERTY_DATEMIN,                  "DateMin" );
180*cdf0e10cSrcweir     FORMS_CONSTASCII_STRING( PROPERTY_DATEMAX,                  "DateMax" );
181*cdf0e10cSrcweir     FORMS_CONSTASCII_STRING( PROPERTY_DATE_SHOW_CENTURY,        "DateShowCentury" );
182*cdf0e10cSrcweir     FORMS_CONSTASCII_STRING( PROPERTY_TIMEFORMAT,               "TimeFormat" );
183*cdf0e10cSrcweir     FORMS_CONSTASCII_STRING( PROPERTY_TIMEMIN,                  "TimeMin" );
184*cdf0e10cSrcweir     FORMS_CONSTASCII_STRING( PROPERTY_TIMEMAX,                  "TimeMax" );
185*cdf0e10cSrcweir     FORMS_CONSTASCII_STRING( PROPERTY_LINECOUNT,                "LineCount" );
186*cdf0e10cSrcweir     FORMS_CONSTASCII_STRING( PROPERTY_BOUNDCOLUMN,              "BoundColumn" );
187*cdf0e10cSrcweir     FORMS_CONSTASCII_STRING( PROPERTY_FONT,                     "FontDescriptor" );
188*cdf0e10cSrcweir     FORMS_CONSTASCII_STRING( PROPERTY_FILLCOLOR,                "FillColor" );
189*cdf0e10cSrcweir     FORMS_CONSTASCII_STRING( PROPERTY_LINECOLOR,                "LineColor" );
190*cdf0e10cSrcweir     FORMS_CONSTASCII_STRING( PROPERTY_DROPDOWN,                 "Dropdown" );
191*cdf0e10cSrcweir     FORMS_CONSTASCII_STRING( PROPERTY_HSCROLL,                  "HScroll" );
192*cdf0e10cSrcweir     FORMS_CONSTASCII_STRING( PROPERTY_VSCROLL,                  "VScroll" );
193*cdf0e10cSrcweir     FORMS_CONSTASCII_STRING( PROPERTY_TABSTOP,                  "Tabstop" );
194*cdf0e10cSrcweir     FORMS_CONSTASCII_STRING( PROPERTY_AUTOCOMPLETE,             "Autocomplete" );
195*cdf0e10cSrcweir     FORMS_CONSTASCII_STRING( PROPERTY_HARDLINEBREAKS,           "HardLineBreaks" );
196*cdf0e10cSrcweir     FORMS_CONSTASCII_STRING( PROPERTY_PRINTABLE,                "Printable" );
197*cdf0e10cSrcweir     FORMS_CONSTASCII_STRING( PROPERTY_ECHO_CHAR,                "EchoChar" );
198*cdf0e10cSrcweir     FORMS_CONSTASCII_STRING( PROPERTY_ROWHEIGHT,                "RowHeight" );
199*cdf0e10cSrcweir     FORMS_CONSTASCII_STRING( PROPERTY_HELPTEXT,                 "HelpText" );
200*cdf0e10cSrcweir     FORMS_CONSTASCII_STRING( PROPERTY_FONT_NAME,                "FontName" );
201*cdf0e10cSrcweir     FORMS_CONSTASCII_STRING( PROPERTY_FONT_STYLENAME,           "FontStyleName" );
202*cdf0e10cSrcweir     FORMS_CONSTASCII_STRING( PROPERTY_FONT_FAMILY,              "FontFamily" );
203*cdf0e10cSrcweir     FORMS_CONSTASCII_STRING( PROPERTY_FONT_CHARSET,             "FontCharset" );
204*cdf0e10cSrcweir     FORMS_CONSTASCII_STRING( PROPERTY_FONT_HEIGHT,              "FontHeight" );
205*cdf0e10cSrcweir     FORMS_CONSTASCII_STRING( PROPERTY_FONT_WEIGHT,              "FontWeight" );
206*cdf0e10cSrcweir     FORMS_CONSTASCII_STRING( PROPERTY_FONT_SLANT,               "FontSlant" );
207*cdf0e10cSrcweir     FORMS_CONSTASCII_STRING( PROPERTY_FONT_UNDERLINE,           "FontUnderline" );
208*cdf0e10cSrcweir     FORMS_CONSTASCII_STRING( PROPERTY_FONT_WORDLINEMODE,        "FontWordLineMode" );
209*cdf0e10cSrcweir     FORMS_CONSTASCII_STRING( PROPERTY_FONT_STRIKEOUT,           "FontStrikeout" );
210*cdf0e10cSrcweir     FORMS_CONSTASCII_STRING( PROPERTY_FONTEMPHASISMARK,         "FontEmphasisMark" );
211*cdf0e10cSrcweir     FORMS_CONSTASCII_STRING( PROPERTY_FONTRELIEF,               "FontRelief" );
212*cdf0e10cSrcweir     FORMS_CONSTASCII_STRING( PROPERTY_FONT_CHARWIDTH,           "FontCharWidth");
213*cdf0e10cSrcweir     FORMS_CONSTASCII_STRING( PROPERTY_FONT_KERNING,             "FontKerning");
214*cdf0e10cSrcweir     FORMS_CONSTASCII_STRING( PROPERTY_FONT_ORIENTATION,         "FontOrientation");
215*cdf0e10cSrcweir     FORMS_CONSTASCII_STRING( PROPERTY_FONT_PITCH,               "FontPitch");
216*cdf0e10cSrcweir     FORMS_CONSTASCII_STRING( PROPERTY_FONT_TYPE,                "FontType");
217*cdf0e10cSrcweir     FORMS_CONSTASCII_STRING( PROPERTY_FONT_WIDTH,               "FontWidth");
218*cdf0e10cSrcweir     FORMS_CONSTASCII_STRING( PROPERTY_HELPURL,                  "HelpURL" );
219*cdf0e10cSrcweir     FORMS_CONSTASCII_STRING( PROPERTY_RECORDMARKER,             "HasRecordMarker" );
220*cdf0e10cSrcweir     FORMS_CONSTASCII_STRING( PROPERTY_BOUNDFIELD,               "BoundField" );
221*cdf0e10cSrcweir     FORMS_CONSTASCII_STRING( PROPERTY_INPUT_REQUIRED,           "InputRequired" );
222*cdf0e10cSrcweir     FORMS_CONSTASCII_STRING( PROPERTY_TREATASNUMERIC,           "TreatAsNumber" );
223*cdf0e10cSrcweir     FORMS_CONSTASCII_STRING( PROPERTY_EFFECTIVE_VALUE,          "EffectiveValue" );
224*cdf0e10cSrcweir     FORMS_CONSTASCII_STRING( PROPERTY_EFFECTIVE_DEFAULT,        "EffectiveDefault" );
225*cdf0e10cSrcweir     FORMS_CONSTASCII_STRING( PROPERTY_EFFECTIVE_MIN,            "EffectiveMin" );
226*cdf0e10cSrcweir     FORMS_CONSTASCII_STRING( PROPERTY_EFFECTIVE_MAX,            "EffectiveMax" );
227*cdf0e10cSrcweir     FORMS_CONSTASCII_STRING( PROPERTY_HIDDEN,                   "Hidden" );
228*cdf0e10cSrcweir     FORMS_CONSTASCII_STRING( PROPERTY_FILTERPROPOSAL,           "UseFilterValueProposal" );
229*cdf0e10cSrcweir     FORMS_CONSTASCII_STRING( PROPERTY_FIELDSOURCE,              "FieldSource" );
230*cdf0e10cSrcweir     FORMS_CONSTASCII_STRING( PROPERTY_TABLENAME,                "TableName" );
231*cdf0e10cSrcweir     FORMS_CONSTASCII_STRING( PROPERTY_ISFILTERAPPLIED,          "IsFilterApplied" );
232*cdf0e10cSrcweir     FORMS_CONSTASCII_STRING( PROPERTY_CONTROLLABEL,             "LabelControl" );
233*cdf0e10cSrcweir     FORMS_CONSTASCII_STRING( PROPERTY_CURRSYM_POSITION,         "PrependCurrencySymbol" );
234*cdf0e10cSrcweir     FORMS_CONSTASCII_STRING( PROPERTY_CURSORCOLOR,              "CursorColor" );
235*cdf0e10cSrcweir     FORMS_CONSTASCII_STRING( PROPERTY_ALWAYSSHOWCURSOR,         "AlwaysShowCursor" );
236*cdf0e10cSrcweir     FORMS_CONSTASCII_STRING( PROPERTY_DISPLAYSYNCHRON,          "DisplayIsSynchron" );
237*cdf0e10cSrcweir     FORMS_CONSTASCII_STRING( PROPERTY_TEXTCOLOR,                "TextColor" );
238*cdf0e10cSrcweir     FORMS_CONSTASCII_STRING( PROPERTY_DELAY,                    "RepeatDelay" );
239*cdf0e10cSrcweir     FORMS_CONSTASCII_STRING( PROPERTY_DEFAULT_SCROLL_VALUE,     "DefaultScrollValue" );
240*cdf0e10cSrcweir     FORMS_CONSTASCII_STRING( PROPERTY_SCROLL_VALUE,             "ScrollValue"        );
241*cdf0e10cSrcweir     FORMS_CONSTASCII_STRING( PROPERTY_DEFAULT_SPIN_VALUE,       "DefaultSpinValue"   );
242*cdf0e10cSrcweir     FORMS_CONSTASCII_STRING( PROPERTY_SPIN_VALUE,               "SpinValue"          );
243*cdf0e10cSrcweir     FORMS_CONSTASCII_STRING( PROPERTY_REFERENCE_DEVICE,         "ReferenceDevice"    );
244*cdf0e10cSrcweir     FORMS_CONSTASCII_STRING( PROPERTY_ISMODIFIED,               "IsModified" );
245*cdf0e10cSrcweir     FORMS_CONSTASCII_STRING( PROPERTY_ISNEW,                    "IsNew" );
246*cdf0e10cSrcweir     FORMS_CONSTASCII_STRING( PROPERTY_PRIVILEGES,               "Privileges" );
247*cdf0e10cSrcweir     FORMS_CONSTASCII_STRING( PROPERTY_COMMAND,                  "Command" );
248*cdf0e10cSrcweir     FORMS_CONSTASCII_STRING( PROPERTY_COMMANDTYPE,              "CommandType" );
249*cdf0e10cSrcweir     FORMS_CONSTASCII_STRING( PROPERTY_RESULTSET_CONCURRENCY,    "ResultSetConcurrency" );
250*cdf0e10cSrcweir     FORMS_CONSTASCII_STRING( PROPERTY_INSERTONLY,               "IgnoreResult" );
251*cdf0e10cSrcweir     FORMS_CONSTASCII_STRING( PROPERTY_RESULTSET_TYPE,           "ResultSetType" );
252*cdf0e10cSrcweir     FORMS_CONSTASCII_STRING( PROPERTY_ESCAPE_PROCESSING,        "EscapeProcessing" );
253*cdf0e10cSrcweir     FORMS_CONSTASCII_STRING( PROPERTY_APPLYFILTER,              "ApplyFilter" );
254*cdf0e10cSrcweir     FORMS_CONSTASCII_STRING( PROPERTY_ROWCOUNT,                 "RowCount" );
255*cdf0e10cSrcweir     FORMS_CONSTASCII_STRING( PROPERTY_ROWCOUNTFINAL,            "IsRowCountFinal" );
256*cdf0e10cSrcweir 
257*cdf0e10cSrcweir     FORMS_CONSTASCII_STRING( PROPERTY_ISNULLABLE,               "IsNullable" );
258*cdf0e10cSrcweir     FORMS_CONSTASCII_STRING( PROPERTY_ACTIVECOMMAND,            "ActiveCommand" );
259*cdf0e10cSrcweir     FORMS_CONSTASCII_STRING( PROPERTY_ISCURRENCY,               "IsCurrency" );
260*cdf0e10cSrcweir     FORMS_CONSTASCII_STRING( PROPERTY_URL,                      "URL" );
261*cdf0e10cSrcweir     FORMS_CONSTASCII_STRING( PROPERTY_TITLE,                    "Title" );
262*cdf0e10cSrcweir     FORMS_CONSTASCII_STRING( PROPERTY_ACTIVE_CONNECTION,        "ActiveConnection" );
263*cdf0e10cSrcweir     FORMS_CONSTASCII_STRING( PROPERTY_SCALE,                    "Scale" );
264*cdf0e10cSrcweir     FORMS_CONSTASCII_STRING( PROPERTY_SORT,                     "Order" );
265*cdf0e10cSrcweir     FORMS_CONSTASCII_STRING( PROPERTY_DATASOURCE,               "DataSourceName" );
266*cdf0e10cSrcweir     FORMS_CONSTASCII_STRING( PROPERTY_DETAILFIELDS,             "DetailFields" );
267*cdf0e10cSrcweir 
268*cdf0e10cSrcweir     FORMS_CONSTASCII_STRING( PROPERTY_COLUMNSERVICENAME,        "ColumnServiceName" );
269*cdf0e10cSrcweir     FORMS_CONSTASCII_STRING( PROPERTY_REALNAME,                 "RealName" );
270*cdf0e10cSrcweir     FORMS_CONSTASCII_STRING( PROPERTY_CONTROLSOURCEPROPERTY,    "DataFieldProperty" );
271*cdf0e10cSrcweir     FORMS_CONSTASCII_STRING( PROPERTY_USER,                     "User" );
272*cdf0e10cSrcweir     FORMS_CONSTASCII_STRING( PROPERTY_PASSWORD,                 "Password" );
273*cdf0e10cSrcweir     FORMS_CONSTASCII_STRING( PROPERTY_DISPATCHURLINTERNAL,      "DispatchURLInternal" );
274*cdf0e10cSrcweir     FORMS_CONSTASCII_STRING( PROPERTY_PERSISTENCE_MAXTEXTLENGTH,"PersistenceMaxTextLength" );
275*cdf0e10cSrcweir     FORMS_CONSTASCII_STRING( PROPERTY_RICH_TEXT,                "RichText" );
276*cdf0e10cSrcweir     FORMS_CONSTASCII_STRING( PROPERTY_ENFORCE_FORMAT,           "EnforceFormat" );
277*cdf0e10cSrcweir     FORMS_CONSTASCII_STRING( PROPERTY_LINEEND_FORMAT,           "LineEndFormat" );
278*cdf0e10cSrcweir     FORMS_CONSTASCII_STRING( PROPERTY_WRITING_MODE,             "WritingMode" );
279*cdf0e10cSrcweir     FORMS_CONSTASCII_STRING( PROPERTY_CONTEXT_WRITING_MODE,     "ContextWritingMode" );
280*cdf0e10cSrcweir 
281*cdf0e10cSrcweir     FORMS_CONSTASCII_STRING( PROPERTY_NATIVE_LOOK,              "NativeWidgetLook" );
282*cdf0e10cSrcweir     FORMS_CONSTASCII_STRING( PROPERTY_BORDER,                   "Border" );
283*cdf0e10cSrcweir     FORMS_CONSTASCII_STRING( PROPERTY_BORDERCOLOR,              "BorderColor" );
284*cdf0e10cSrcweir     FORMS_CONSTASCII_STRING( PROPERTY_BACKGROUNDCOLOR,          "BackgroundColor"   );
285*cdf0e10cSrcweir     FORMS_CONSTASCII_STRING( PROPERTY_ICONSIZE,                 "IconSize"        );
286*cdf0e10cSrcweir     FORMS_CONSTASCII_STRING( PROPERTY_TEXTLINECOLOR,            "TextLineColor" );
287*cdf0e10cSrcweir     FORMS_CONSTASCII_STRING( PROPERTY_HIDEINACTIVESELECTION,    "HideInactiveSelection" );
288*cdf0e10cSrcweir 
289*cdf0e10cSrcweir     FORMS_CONSTASCII_STRING( PROPERTY_SHOW_POSITION,            "ShowPosition" );
290*cdf0e10cSrcweir     FORMS_CONSTASCII_STRING( PROPERTY_SHOW_NAVIGATION,          "ShowNavigation" );
291*cdf0e10cSrcweir     FORMS_CONSTASCII_STRING( PROPERTY_SHOW_RECORDACTIONS,       "ShowRecordActions" );
292*cdf0e10cSrcweir     FORMS_CONSTASCII_STRING( PROPERTY_SHOW_FILTERSORT,          "ShowFilterSort" );
293*cdf0e10cSrcweir 
294*cdf0e10cSrcweir     FORMS_CONSTASCII_STRING( PROPERTY_XSD_WHITESPACE,           "WhiteSpace" );
295*cdf0e10cSrcweir     FORMS_CONSTASCII_STRING( PROPERTY_XSD_PATTERN,              "Pattern" );
296*cdf0e10cSrcweir     FORMS_CONSTASCII_STRING( PROPERTY_XSD_LENGTH,               "Length" );
297*cdf0e10cSrcweir     FORMS_CONSTASCII_STRING( PROPERTY_XSD_MIN_LENGTH,           "MinLength" );
298*cdf0e10cSrcweir     FORMS_CONSTASCII_STRING( PROPERTY_XSD_MAX_LENGTH,           "MaxLength" );
299*cdf0e10cSrcweir     FORMS_CONSTASCII_STRING( PROPERTY_XSD_TOTAL_DIGITS,         "TotalDigits" );
300*cdf0e10cSrcweir     FORMS_CONSTASCII_STRING( PROPERTY_XSD_FRACTION_DIGITS,      "FractionDigits" );
301*cdf0e10cSrcweir     FORMS_CONSTASCII_STRING( PROPERTY_XSD_MAX_INCLUSIVE_INT,    "MaxInclusiveInt" );
302*cdf0e10cSrcweir     FORMS_CONSTASCII_STRING( PROPERTY_XSD_MAX_EXCLUSIVE_INT,    "MaxExclusiveInt" );
303*cdf0e10cSrcweir     FORMS_CONSTASCII_STRING( PROPERTY_XSD_MIN_INCLUSIVE_INT,    "MinInclusiveInt" );
304*cdf0e10cSrcweir     FORMS_CONSTASCII_STRING( PROPERTY_XSD_MIN_EXCLUSIVE_INT,    "MinExclusiveInt" );
305*cdf0e10cSrcweir     FORMS_CONSTASCII_STRING( PROPERTY_XSD_MAX_INCLUSIVE_DOUBLE, "MaxInclusiveDouble" );
306*cdf0e10cSrcweir     FORMS_CONSTASCII_STRING( PROPERTY_XSD_MAX_EXCLUSIVE_DOUBLE, "MaxExclusiveDouble" );
307*cdf0e10cSrcweir     FORMS_CONSTASCII_STRING( PROPERTY_XSD_MIN_INCLUSIVE_DOUBLE, "MinInclusiveDouble" );
308*cdf0e10cSrcweir     FORMS_CONSTASCII_STRING( PROPERTY_XSD_MIN_EXCLUSIVE_DOUBLE, "MinExclusiveDouble" );
309*cdf0e10cSrcweir     FORMS_CONSTASCII_STRING( PROPERTY_XSD_MAX_INCLUSIVE_DATE,   "MaxInclusiveDate" );
310*cdf0e10cSrcweir     FORMS_CONSTASCII_STRING( PROPERTY_XSD_MAX_EXCLUSIVE_DATE,   "MaxExclusiveDate" );
311*cdf0e10cSrcweir     FORMS_CONSTASCII_STRING( PROPERTY_XSD_MIN_INCLUSIVE_DATE,   "MinInclusiveDate" );
312*cdf0e10cSrcweir     FORMS_CONSTASCII_STRING( PROPERTY_XSD_MIN_EXCLUSIVE_DATE,   "MinExclusiveDate" );
313*cdf0e10cSrcweir     FORMS_CONSTASCII_STRING( PROPERTY_XSD_MAX_INCLUSIVE_TIME,   "MaxInclusiveTime" );
314*cdf0e10cSrcweir     FORMS_CONSTASCII_STRING( PROPERTY_XSD_MAX_EXCLUSIVE_TIME,   "MaxExclusiveTime" );
315*cdf0e10cSrcweir     FORMS_CONSTASCII_STRING( PROPERTY_XSD_MIN_INCLUSIVE_TIME,   "MinInclusiveTime" );
316*cdf0e10cSrcweir     FORMS_CONSTASCII_STRING( PROPERTY_XSD_MIN_EXCLUSIVE_TIME,   "MinExclusiveTime" );
317*cdf0e10cSrcweir     FORMS_CONSTASCII_STRING( PROPERTY_XSD_MAX_INCLUSIVE_DATE_TIME, "MaxInclusiveDateTime" );
318*cdf0e10cSrcweir     FORMS_CONSTASCII_STRING( PROPERTY_XSD_MAX_EXCLUSIVE_DATE_TIME, "MaxExclusiveDateTime" );
319*cdf0e10cSrcweir     FORMS_CONSTASCII_STRING( PROPERTY_XSD_MIN_INCLUSIVE_DATE_TIME, "MinInclusiveDateTime" );
320*cdf0e10cSrcweir     FORMS_CONSTASCII_STRING( PROPERTY_XSD_MIN_EXCLUSIVE_DATE_TIME, "MinExclusiveDateTime" );
321*cdf0e10cSrcweir     FORMS_CONSTASCII_STRING( PROPERTY_XSD_IS_BASIC,             "IsBasic" );
322*cdf0e10cSrcweir     FORMS_CONSTASCII_STRING( PROPERTY_XSD_TYPE_CLASS,           "TypeClass" );
323*cdf0e10cSrcweir 
324*cdf0e10cSrcweir     FORMS_CONSTASCII_STRING( PROPERTY_DYNAMIC_CONTROL_BORDER,      "DynamicControlBorder"        );
325*cdf0e10cSrcweir     FORMS_CONSTASCII_STRING( PROPERTY_CONTROL_BORDER_COLOR_FOCUS,  "ControlBorderColorOnFocus"   );
326*cdf0e10cSrcweir     FORMS_CONSTASCII_STRING( PROPERTY_CONTROL_BORDER_COLOR_MOUSE,  "ControlBorderColorOnHover"   );
327*cdf0e10cSrcweir     FORMS_CONSTASCII_STRING( PROPERTY_CONTROL_BORDER_COLOR_INVALID,"ControlBorderColorOnInvalid" );
328*cdf0e10cSrcweir 
329*cdf0e10cSrcweir     //--------------------------------------------------------------------------
330*cdf0e10cSrcweir     //- URLs
331*cdf0e10cSrcweir     //--------------------------------------------------------------------------
332*cdf0e10cSrcweir     FORMS_CONSTASCII_STRING( URL_CONTROLLER_PREFIX, ".uno:FormController/" );
333*cdf0e10cSrcweir 
334*cdf0e10cSrcweir 	FORMS_CONSTASCII_STRING( URL_FORM_POSITION,     ".uno:FormController/positionForm"  );
335*cdf0e10cSrcweir 	FORMS_CONSTASCII_STRING( URL_FORM_RECORDCOUNT,  ".uno:FormController/RecordCount"  );
336*cdf0e10cSrcweir     FORMS_CONSTASCII_STRING( URL_RECORD_FIRST,      ".uno:FormController/moveToFirst"   );
337*cdf0e10cSrcweir     FORMS_CONSTASCII_STRING( URL_RECORD_PREV,       ".uno:FormController/moveToPrev"    );
338*cdf0e10cSrcweir     FORMS_CONSTASCII_STRING( URL_RECORD_NEXT,       ".uno:FormController/moveToNext"    );
339*cdf0e10cSrcweir     FORMS_CONSTASCII_STRING( URL_RECORD_LAST,       ".uno:FormController/moveToLast"    );
340*cdf0e10cSrcweir     FORMS_CONSTASCII_STRING( URL_RECORD_SAVE,       ".uno:FormController/saveRecord"    );
341*cdf0e10cSrcweir     FORMS_CONSTASCII_STRING( URL_RECORD_UNDO,       ".uno:FormController/undoRecord"    );
342*cdf0e10cSrcweir     FORMS_CONSTASCII_STRING( URL_RECORD_NEW,        ".uno:FormController/moveToNew"     );
343*cdf0e10cSrcweir     FORMS_CONSTASCII_STRING( URL_RECORD_DELETE,     ".uno:FormController/deleteRecord"  );
344*cdf0e10cSrcweir     FORMS_CONSTASCII_STRING( URL_FORM_REFRESH,      ".uno:FormController/refreshForm"   );
345*cdf0e10cSrcweir     FORMS_CONSTASCII_STRING( URL_FORM_REFRESH_CURRENT_CONTROL,
346*cdf0e10cSrcweir                                                     ".uno:FormController/refreshCurrentControl"   );
347*cdf0e10cSrcweir 
348*cdf0e10cSrcweir     FORMS_CONSTASCII_STRING( URL_FORM_SORT_UP,      ".uno:FormController/sortUp"   );
349*cdf0e10cSrcweir     FORMS_CONSTASCII_STRING( URL_FORM_SORT_DOWN,    ".uno:FormController/sortDown"   );
350*cdf0e10cSrcweir     FORMS_CONSTASCII_STRING( URL_FORM_SORT,         ".uno:FormController/sort"   );
351*cdf0e10cSrcweir     FORMS_CONSTASCII_STRING( URL_FORM_AUTO_FILTER,  ".uno:FormController/autoFilter"   );
352*cdf0e10cSrcweir     FORMS_CONSTASCII_STRING( URL_FORM_FILTER,       ".uno:FormController/filter"   );
353*cdf0e10cSrcweir     FORMS_CONSTASCII_STRING( URL_FORM_APPLY_FILTER, ".uno:FormController/applyFilter"   );
354*cdf0e10cSrcweir     FORMS_CONSTASCII_STRING( URL_FORM_REMOVE_FILTER,".uno:FormController/removeFilterOrder"   );
355*cdf0e10cSrcweir 
356*cdf0e10cSrcweir //..............................................................................
357*cdf0e10cSrcweir }   // namespace frm
358*cdf0e10cSrcweir //..............................................................................
359*cdf0e10cSrcweir 
360*cdf0e10cSrcweir 
361*cdf0e10cSrcweir #endif // FRM_STRINGS_HXX
362