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