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