diff options
author | Thomas Benisch <tbe@openoffice.org> | 2001-10-19 11:58:51 +0000 |
---|---|---|
committer | Thomas Benisch <tbe@openoffice.org> | 2001-10-19 11:58:51 +0000 |
commit | 561251fce67deafaf82cf90943f4d5211e77ce14 (patch) | |
tree | 9d6592300bb248d2000c64a20b0f297a3a0b80ef /extensions/source | |
parent | f4d22cacebcd7eb09a71e2fdbda2be20354e2667 (diff) |
#92755# Assign Standard Values for Basic Controls in Designmode
Diffstat (limited to 'extensions/source')
-rw-r--r-- | extensions/source/propctrlr/formcontroller.cxx | 86 | ||||
-rw-r--r-- | extensions/source/propctrlr/formmetadata.cxx | 267 | ||||
-rw-r--r-- | extensions/source/propctrlr/formmetadata.hxx | 22 | ||||
-rw-r--r-- | extensions/source/propctrlr/formres.src | 37 | ||||
-rw-r--r-- | extensions/source/propctrlr/formresid.hrc | 14 | ||||
-rw-r--r-- | extensions/source/propctrlr/formstrings.hxx | 12 | ||||
-rw-r--r-- | extensions/source/propctrlr/propcontroller.cxx | 34 | ||||
-rw-r--r-- | extensions/source/propctrlr/propcontroller.hxx | 14 | ||||
-rw-r--r-- | extensions/source/propctrlr/propertyinfo.hxx | 8 |
9 files changed, 328 insertions, 166 deletions
diff --git a/extensions/source/propctrlr/formcontroller.cxx b/extensions/source/propctrlr/formcontroller.cxx index 624c2fab4..b9a2f0397 100644 --- a/extensions/source/propctrlr/formcontroller.cxx +++ b/extensions/source/propctrlr/formcontroller.cxx @@ -2,9 +2,9 @@ * * $RCSfile: formcontroller.cxx,v $ * - * $Revision: 1.43 $ + * $Revision: 1.44 $ * - * last change: $Author: fs $ $Date: 2001-08-27 16:57:39 $ + * last change: $Author: tbe $ $Date: 2001-10-19 12:58:51 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -465,11 +465,13 @@ namespace pcr case PROPERTY_ID_TIMEFORMAT: case PROPERTY_ID_BORDER: case PROPERTY_ID_DEFAULT_CHECKED: + case PROPERTY_ID_STATE: case PROPERTY_ID_COMMANDTYPE: case PROPERTY_ID_CYCLE: case PROPERTY_ID_LISTSOURCETYPE: case PROPERTY_ID_NAVIGATION: case PROPERTY_ID_BUTTONTYPE: + case PROPERTY_ID_PUSHBUTTONTYPE: case PROPERTY_ID_SUBMIT_METHOD: case PROPERTY_ID_SUBMIT_ENCODING: case PROPERTY_ID_ORIENTATION: @@ -656,11 +658,13 @@ namespace pcr case PROPERTY_ID_TIMEFORMAT: case PROPERTY_ID_BORDER: case PROPERTY_ID_DEFAULT_CHECKED: + case PROPERTY_ID_STATE: case PROPERTY_ID_COMMANDTYPE: case PROPERTY_ID_CYCLE: case PROPERTY_ID_LISTSOURCETYPE: case PROPERTY_ID_NAVIGATION: case PROPERTY_ID_BUTTONTYPE: + case PROPERTY_ID_PUSHBUTTONTYPE: case PROPERTY_ID_SUBMIT_METHOD: case PROPERTY_ID_SUBMIT_ENCODING: case PROPERTY_ID_ORIENTATION: @@ -1714,14 +1718,8 @@ namespace pcr ::rtl::OUString aStrVal; PropertyState eState; - // check, if this is a dialog control - sal_Bool bIsDialogControl = sal_False; - Reference< XPropertySetInfo > xPropInfo = m_xIntrospecteeAsProperty->getPropertySetInfo(); - if ( xPropInfo->hasPropertyByName( PROPERTY_WIDTH ) && - xPropInfo->hasPropertyByName( PROPERTY_HEIGHT ) && - xPropInfo->hasPropertyByName( PROPERTY_POSITIONX ) && - xPropInfo->hasPropertyByName( PROPERTY_POSITIONY ) ) - bIsDialogControl = sal_True; + // get control type + sal_Int16 nControlType = getControlType(); for (sal_uInt32 i=0; i<nPropCount; ++i, ++pProps) { @@ -1916,13 +1914,13 @@ namespace pcr else if (TypeClass_BYTE <=eType && eType<=TypeClass_DOUBLE) { - if (nPropId==PROPERTY_ID_DATEMIN || nPropId==PROPERTY_ID_DATEMAX || nPropId==PROPERTY_ID_DEFAULT_DATE) + if (nPropId==PROPERTY_ID_DATEMIN || nPropId==PROPERTY_ID_DATEMAX || nPropId==PROPERTY_ID_DEFAULT_DATE || nPropId==PROPERTY_ID_DATE) pProperty->eControlType = BCT_DATEFIELD; - else if (nPropId==PROPERTY_ID_TIMEMIN || nPropId==PROPERTY_ID_TIMEMAX|| nPropId==PROPERTY_ID_DEFAULT_TIME) + else if (nPropId==PROPERTY_ID_TIMEMIN || nPropId==PROPERTY_ID_TIMEMAX || nPropId==PROPERTY_ID_DEFAULT_TIME || nPropId==PROPERTY_ID_TIME) pProperty->eControlType = BCT_TIMEFIELD; else { - if (nPropId== PROPERTY_ID_VALUEMIN || nPropId== PROPERTY_ID_VALUEMAX || nPropId==PROPERTY_ID_DEFAULT_VALUE) + if (nPropId== PROPERTY_ID_VALUEMIN || nPropId== PROPERTY_ID_VALUEMAX || nPropId==PROPERTY_ID_DEFAULT_VALUE || nPropId==PROPERTY_ID_VALUE) { pProperty->eControlType = BCT_USERDEFINED; pProperty->pControl = new OFormattedNumericControl(getPropertyBox(), WB_TABSTOP | WB_BORDER | WB_SPIN); @@ -1954,13 +1952,14 @@ namespace pcr // just ignore it } - // and allow empty values only for the default value + // and allow empty values only for the default value and the value ((OFormattedNumericControl*)pProperty->pControl)->EnableEmptyField(PROPERTY_ID_DEFAULT_VALUE == nPropId); + ((OFormattedNumericControl*)pProperty->pControl)->EnableEmptyField(PROPERTY_ID_VALUE == nPropId); } else { if ( (nPropId== PROPERTY_ID_HEIGHT || nPropId== PROPERTY_ID_WIDTH || nPropId== PROPERTY_ID_ROWHEIGHT) - && !bIsDialogControl ) + && nControlType == CONTROL_TYPE_FORM ) pProperty->nDigits=1; pProperty->eControlType = BCT_NUMFIELD; @@ -1968,9 +1967,9 @@ namespace pcr } } - - if (bIsDialogControl) - bFilter = sal_False; // don't filter dialog controls + // don't filter dialog controls + if ( nControlType == CONTROL_TYPE_DIALOG ) + bFilter = sal_False; ////////////////////////////////////////////////////////////////////// // Filter @@ -2040,6 +2039,7 @@ namespace pcr case PROPERTY_ID_COMMANDTYPE: case PROPERTY_ID_ALIGN: case PROPERTY_ID_BUTTONTYPE: + case PROPERTY_ID_PUSHBUTTONTYPE: case PROPERTY_ID_SUBMIT_METHOD: case PROPERTY_ID_SUBMIT_ENCODING: case PROPERTY_ID_DATEFORMAT: @@ -2049,6 +2049,7 @@ namespace pcr case PROPERTY_ID_NAVIGATION: case PROPERTY_ID_TARGET_FRAME: case PROPERTY_ID_DEFAULT_CHECKED: + case PROPERTY_ID_STATE: case PROPERTY_ID_LISTSOURCETYPE: case PROPERTY_ID_ORIENTATION: case PROPERTY_ID_IMAGEALIGN: @@ -2058,7 +2059,7 @@ namespace pcr const ::rtl::OUString* pEnd = pStart + aEnumValues.getLength(); // for a checkbox: if "ambiguous" is not allowed, remove this from the sequence - if (PROPERTY_ID_DEFAULT_CHECKED == nPropId) + if (PROPERTY_ID_DEFAULT_CHECKED == nPropId || PROPERTY_ID_STATE == nPropId) if (::comphelper::hasProperty(PROPERTY_TRISTATE, m_xPropValueAccess)) { if (!::comphelper::getBOOL(m_xPropValueAccess->getPropertyValue(PROPERTY_TRISTATE))) @@ -2182,7 +2183,14 @@ namespace pcr pProperty->bUnknownValue = sal_True; pProperty->sValue = String(); } - getPropertyBox()->InsertEntry(*pProperty); + + sal_uInt32 nPropertyUIFlags = m_pPropertyInfo->getPropertyUIFlags( nPropId ); + if ( ( nControlType == CONTROL_TYPE_FORM && ((nPropertyUIFlags & PROP_FORM_VISIBLE) == PROP_FORM_VISIBLE) ) || + ( nControlType == CONTROL_TYPE_DIALOG && ((nPropertyUIFlags & PROP_DIALOG_VISIBLE) == PROP_DIALOG_VISIBLE) ) ) + { + getPropertyBox()->InsertEntry(*pProperty); + } + delete pProperty; } @@ -2403,9 +2411,9 @@ namespace pcr aValue = StringToAny( aUserVal, aProp, nPropId); } - if ( ( (nPropId == PROPERTY_ID_DEFAULT_VALUE) - || (nPropId == PROPERTY_ID_DEFAULT_DATE) - || (nPropId == PROPERTY_ID_DEFAULT_TIME) + if ( ( (nPropId == PROPERTY_ID_DEFAULT_VALUE) || (nPropId == PROPERTY_ID_VALUE) + || (nPropId == PROPERTY_ID_DEFAULT_DATE) || (nPropId == PROPERTY_ID_DATE) + || (nPropId == PROPERTY_ID_DEFAULT_TIME) || (nPropId == PROPERTY_ID_TIME) || (nPropId==PROPERTY_ID_BOUNDCOLUMN) ) && (0 == aVal.Len()) @@ -2438,16 +2446,31 @@ namespace pcr if (nPropId==PROPERTY_ID_TRISTATE) { + ::rtl::OUString aStateName; + sal_Int32 nStateId; + sal_Int16 nControlType = getControlType(); + + if ( nControlType == CONTROL_TYPE_FORM ) + { + aStateName = PROPERTY_DEFAULTCHECKED; + nStateId = PROPERTY_ID_DEFAULT_CHECKED; + } + else if ( nControlType == CONTROL_TYPE_DIALOG ) + { + aStateName = PROPERTY_STATE; + nStateId = PROPERTY_ID_STATE; + } + OLineDescriptor aProperty; - aProperty.sName = (const ::rtl::OUString&)PROPERTY_DEFAULTCHECKED; - aProperty.sTitle = m_pPropertyInfo->getPropertyTranslation(PROPERTY_ID_DEFAULT_CHECKED); - aProperty.nHelpId = m_pPropertyInfo->getPropertyHelpId(PROPERTY_ID_DEFAULT_CHECKED); + aProperty.sName = aStateName; + aProperty.sTitle = m_pPropertyInfo->getPropertyTranslation(nStateId); + aProperty.nHelpId = m_pPropertyInfo->getPropertyHelpId(nStateId); aProperty.eControlType = BCT_LISTBOX; - aProperty.sValue = getPropertyBox()->GetPropertyValue(PROPERTY_DEFAULTCHECKED); - sal_uInt16 nPos = getPropertyBox()->GetPropertyPos(PROPERTY_DEFAULTCHECKED); + aProperty.sValue = getPropertyBox()->GetPropertyValue(aStateName); + sal_uInt16 nPos = getPropertyBox()->GetPropertyPos(aStateName); Sequence< ::rtl::OUString > aEntries = - m_pPropertyInfo->getPropertyEnumRepresentations(PROPERTY_ID_DEFAULT_CHECKED); + m_pPropertyInfo->getPropertyEnumRepresentations(nStateId); sal_Int32 nEntryCount = aEntries.getLength(); if (!::comphelper::getBOOL(aNewValue)) @@ -2457,7 +2480,7 @@ namespace pcr sal_Bool bValidDefaultCheckedValue = sal_False; const ::rtl::OUString* pStart = aEntries.getConstArray(); - const ::rtl::OUString* pEnd = pStart + aEntries.getLength(); + const ::rtl::OUString* pEnd = pStart + nEntryCount; for (const ::rtl::OUString* pLoop = pStart; pLoop != pEnd; ++pLoop) { aProperty.aListValues.push_back(*pLoop); @@ -2585,6 +2608,9 @@ namespace pcr /************************************************************************* * history: * $Log: not supported by cvs2svn $ + * Revision 1.43 2001/08/27 16:57:39 fs + * #91537# changed the runtime representation for form (control) StarBasic script events (now with 'application' resp. 'document') + * * Revision 1.42 2001/08/20 07:53:50 ab * #90513# application and document location prefixes * diff --git a/extensions/source/propctrlr/formmetadata.cxx b/extensions/source/propctrlr/formmetadata.cxx index 47370eb67..a249326cb 100644 --- a/extensions/source/propctrlr/formmetadata.cxx +++ b/extensions/source/propctrlr/formmetadata.cxx @@ -2,9 +2,9 @@ * * $RCSfile: formmetadata.cxx,v $ * - * $Revision: 1.13 $ + * $Revision: 1.14 $ * - * last change: $Author: tbe $ $Date: 2001-09-28 14:54:09 $ + * last change: $Author: tbe $ $Date: 2001-10-19 12:58:51 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -90,6 +90,7 @@ namespace pcr sal_Int32 nId; sal_uInt16 nPos; sal_Bool bMultiSelectable; + sal_uInt32 nUIFlags; OPropertyInfoImpl( const ::rtl::OUString& rName, @@ -97,18 +98,20 @@ namespace pcr sal_Bool bMSel, const String& aTranslation, sal_uInt16 nPosId, - sal_uInt32 nHelpId); + sal_uInt32 nHelpId, + sal_uInt32 _nUIFlags); }; //------------------------------------------------------------------------ OPropertyInfoImpl::OPropertyInfoImpl(const ::rtl::OUString& _rName, sal_Int32 _nId, sal_Bool bMSel, - const String& aString, sal_uInt16 nP, sal_uInt32 nHid) + const String& aString, sal_uInt16 nP, sal_uInt32 nHid, sal_uInt32 _nUIFlags) :sName(_rName) ,nId(_nId) ,bMultiSelectable(bMSel) ,sTranslation(aString) ,nPos(nP) ,nHelpId(nHid) + ,nUIFlags(_nUIFlags) { } @@ -143,124 +146,130 @@ namespace pcr // somewhat ugly ... but this way we easily ensure that the static OPropertyInfoImpl __READONLY_DATA aPropertyInfos[] = { - OPropertyInfoImpl(PROPERTY_NAME, PROPERTY_ID_NAME, sal_False, String(ModuleRes(RID_STR_NAME)), nPos++, HID_PROP_NAME) , - OPropertyInfoImpl(PROPERTY_TITLE, PROPERTY_ID_TITLE, sal_True, String(ModuleRes(RID_STR_TITLE)), nPos++, 0), - OPropertyInfoImpl(PROPERTY_LABEL, PROPERTY_ID_LABEL, sal_True, String(ModuleRes(RID_STR_LABEL)), nPos++, HID_PROP_LABEL), - OPropertyInfoImpl(PROPERTY_CONTROLLABEL, PROPERTY_ID_CONTROLLABEL, sal_False, String(ModuleRes(RID_STR_LABELCONTROL)), nPos++, HID_PROP_CONTROLLABEL), - OPropertyInfoImpl(PROPERTY_MAXTEXTLEN, PROPERTY_ID_MAXTEXTLEN, sal_True, String(ModuleRes(RID_STR_MAXTEXTLEN)), nPos++, HID_PROP_MAXTEXTLEN), - OPropertyInfoImpl(PROPERTY_EDITMASK, PROPERTY_ID_EDITMASK, sal_True, String(ModuleRes(RID_STR_EDITMASK)), nPos++, HID_PROP_EDITMASK), - OPropertyInfoImpl(PROPERTY_LITERALMASK, PROPERTY_ID_LITERALMASK, sal_True, String(ModuleRes(RID_STR_LITERALMASK)), nPos++, HID_PROP_LITERALMASK), - OPropertyInfoImpl(PROPERTY_STRICTFORMAT, PROPERTY_ID_STRICTFORMAT, sal_True, String(ModuleRes(RID_STR_STRICTFORMAT)), nPos++, HID_PROP_STRICTFORMAT), - OPropertyInfoImpl(PROPERTY_ENABLED, PROPERTY_ID_ENABLED, sal_True, String(ModuleRes(RID_STR_ENABLED)), nPos++, HID_PROP_ENABLED) , - OPropertyInfoImpl(PROPERTY_READONLY, PROPERTY_ID_READONLY, sal_True, String(ModuleRes(RID_STR_READONLY)), nPos++, HID_PROP_READONLY) , - OPropertyInfoImpl(PROPERTY_PRINTABLE, PROPERTY_ID_PRINTABLE, sal_True, String(ModuleRes(RID_STR_PRINTABLE)), nPos++, HID_PROP_PRINTABLE) , - OPropertyInfoImpl(PROPERTY_CONTROLSOURCE, PROPERTY_ID_CONTROLSOURCE, sal_True, String(ModuleRes(RID_STR_CONTROLSOURCE)), nPos++, HID_PROP_CONTROLSOURCE), - OPropertyInfoImpl(PROPERTY_STEP, PROPERTY_ID_STEP, sal_True, String(ModuleRes(RID_STR_STEP)), nPos++, 0), - OPropertyInfoImpl(PROPERTY_TABSTOP, PROPERTY_ID_TABSTOP, sal_True, String(ModuleRes(RID_STR_TABSTOP)), nPos++, HID_PROP_TABSTOP), - OPropertyInfoImpl(PROPERTY_TABINDEX, PROPERTY_ID_TABINDEX, sal_True, String(ModuleRes(RID_STR_TABINDEX)), nPos++, HID_PROP_TABINDEX) , - OPropertyInfoImpl(PROPERTY_DATASOURCE, PROPERTY_ID_DATASOURCE, sal_True, String(ModuleRes(RID_STR_DATASOURCE)), nPos++, HID_PROP_DATASOURCE) , - OPropertyInfoImpl(PROPERTY_COMMANDTYPE, PROPERTY_ID_COMMANDTYPE, sal_False, String(ModuleRes(RID_STR_CURSORSOURCETYPE)), nPos++, HID_PROP_CURSORSOURCETYPE), - OPropertyInfoImpl(PROPERTY_COMMAND, PROPERTY_ID_COMMAND, sal_False, String(ModuleRes(RID_STR_CURSORSOURCE)), nPos++, HID_PROP_CURSORSOURCE), - OPropertyInfoImpl(PROPERTY_ESCAPE_PROCESSING, PROPERTY_ID_ESCAPE_PROCESSING, sal_False, String(ModuleRes(RID_STR_ESCAPE_PROCESSING)), nPos++, HID_PROP_ESCAPE_PROCESSING), - OPropertyInfoImpl(PROPERTY_FILTER_CRITERIA, PROPERTY_ID_FILTER_CRITERIA, sal_False, String(ModuleRes(RID_STR_FILTER_CRITERIA)), nPos++, HID_PROP_FILTER_CRITERIA ), - OPropertyInfoImpl(PROPERTY_SORT, PROPERTY_ID_SORT, sal_False, String(ModuleRes(RID_STR_SORT_CRITERIA)), nPos++, HID_PROP_SORT_CRITERIA) , - OPropertyInfoImpl(PROPERTY_ALLOWADDITIONS, PROPERTY_ID_ALLOWADDITIONS, sal_True, String(ModuleRes(RID_STR_ALLOW_ADDITIONS)), nPos++, HID_PROP_ALLOW_ADDITIONS) , - OPropertyInfoImpl(PROPERTY_ALLOWEDITS, PROPERTY_ID_ALLOWEDITS, sal_True, String(ModuleRes(RID_STR_ALLOW_EDITS)), nPos++, HID_PROP_ALLOW_EDITS ) , - OPropertyInfoImpl(PROPERTY_ALLOWDELETIONS, PROPERTY_ID_ALLOWDELETIONS, sal_True, String(ModuleRes(RID_STR_ALLOW_DELETIONS)), nPos++, HID_PROP_ALLOW_DELETIONS) , - OPropertyInfoImpl(PROPERTY_INSERTONLY, PROPERTY_ID_INSERTONLY, sal_True, String(ModuleRes(RID_STR_DATAENTRY)), nPos++, HID_PROP_DATAENTRY) , - OPropertyInfoImpl(PROPERTY_NAVIGATION, PROPERTY_ID_NAVIGATION, sal_True, String(ModuleRes(RID_STR_NAVIGATION)), nPos++, HID_PROP_NAVIGATION) , - OPropertyInfoImpl(PROPERTY_CYCLE, PROPERTY_ID_CYCLE, sal_True, String(ModuleRes(RID_STR_CYCLE)), nPos++, HID_PROP_CYCLE) , - OPropertyInfoImpl(PROPERTY_HIDDEN_VALUE, PROPERTY_ID_HIDDEN_VALUE, sal_True, String(ModuleRes(RID_STR_VALUE)), nPos++, HID_PROP_HIDDEN_VALUE), - OPropertyInfoImpl(PROPERTY_VALUEMIN, PROPERTY_ID_VALUEMIN, sal_True, String(ModuleRes(RID_STR_VALUEMIN)), nPos++, HID_PROP_VALUEMIN) , - OPropertyInfoImpl(PROPERTY_VALUEMAX, PROPERTY_ID_VALUEMAX, sal_True, String(ModuleRes(RID_STR_VALUEMAX)), nPos++, HID_PROP_VALUEMAX) , - OPropertyInfoImpl(PROPERTY_VALUESTEP, PROPERTY_ID_VALUESTEP, sal_True, String(ModuleRes(RID_STR_VALUESTEP)), nPos++, HID_PROP_VALUESTEP) , - OPropertyInfoImpl(PROPERTY_DEFAULT_VALUE, PROPERTY_ID_DEFAULT_VALUE, sal_True, String(ModuleRes(RID_STR_DEFAULTVALUE)), nPos++, HID_PROP_DEFAULT_LONG_VALUE ), - OPropertyInfoImpl(PROPERTY_DECIMAL_ACCURACY, PROPERTY_ID_DECIMAL_ACCURACY, sal_True, String(ModuleRes(RID_STR_DECIMAL_ACCURACY)), nPos++, HID_PROP_DECIMAL_ACCURACY ), - OPropertyInfoImpl(PROPERTY_SHOWTHOUSANDSEP, PROPERTY_ID_SHOWTHOUSANDSEP, sal_True, String(ModuleRes(RID_STR_SHOWTHOUSANDSEP)), nPos++, HID_PROP_SHOWTHOUSANDSEP), - - OPropertyInfoImpl(PROPERTY_REFVALUE, PROPERTY_ID_REFVALUE, sal_True, String(ModuleRes(RID_STR_REFVALUE)), nPos++, HID_PROP_REFVALUE), - OPropertyInfoImpl(PROPERTY_CURRENCYSYMBOL, PROPERTY_ID_CURRENCYSYMBOL, sal_True, String(ModuleRes(RID_STR_CURRENCYSYMBOL)), nPos++, HID_PROP_CURRENCYSYMBOL), - OPropertyInfoImpl(PROPERTY_CURRSYM_POSITION, PROPERTY_ID_CURRSYM_POSITION, sal_True, String(ModuleRes(RID_STR_CURRSYM_POSITION)), nPos++, HID_PROP_CURRSYM_POSITION), - - OPropertyInfoImpl(PROPERTY_DATEMIN, PROPERTY_ID_DATEMIN, sal_True, String(ModuleRes(RID_STR_DATEMIN)), nPos++, HID_PROP_DATEMIN) , - OPropertyInfoImpl(PROPERTY_DATEMAX, PROPERTY_ID_DATEMAX, sal_True, String(ModuleRes(RID_STR_DATEMAX)), nPos++, HID_PROP_DATEMAX) , - OPropertyInfoImpl(PROPERTY_DATEFORMAT, PROPERTY_ID_DATEFORMAT, sal_True, String(ModuleRes(RID_STR_DATEFORMAT)), nPos++, HID_PROP_DATEFORMAT) , - OPropertyInfoImpl(PROPERTY_DATE_SHOW_CENTURY, PROPERTY_ID_DATE_SHOW_CENTURY, sal_True, String(ModuleRes(RID_STR_DATE_SHOW_CENTURY)),nPos++, HID_PROP_DATE_SHOW_CENTURY ), - OPropertyInfoImpl(PROPERTY_DEFAULT_DATE, PROPERTY_ID_DEFAULT_DATE, sal_True, String(ModuleRes(RID_STR_DEFAULTVALUE)), nPos++, HID_PROP_DEFAULT_DATE ), - - OPropertyInfoImpl(PROPERTY_TIMEMIN, PROPERTY_ID_TIMEMIN, sal_True, String(ModuleRes(RID_STR_TIMEMIN)), nPos++, HID_PROP_TIMEMIN) , - OPropertyInfoImpl(PROPERTY_TIMEMAX, PROPERTY_ID_TIMEMAX, sal_True, String(ModuleRes(RID_STR_TIMEMAX)), nPos++, HID_PROP_TIMEMAX) , - OPropertyInfoImpl(PROPERTY_TIMEFORMAT, PROPERTY_ID_TIMEFORMAT, sal_True, String(ModuleRes(RID_STR_TIMEFORMAT)), nPos++, HID_PROP_TIMEFORMAT) , - OPropertyInfoImpl(PROPERTY_DEFAULT_TIME, PROPERTY_ID_DEFAULT_TIME, sal_True, String(ModuleRes(RID_STR_DEFAULTVALUE)), nPos++, HID_PROP_DEFAULT_TIME ), - - OPropertyInfoImpl(PROPERTY_EFFECTIVE_MIN, PROPERTY_ID_EFFECTIVE_MIN, sal_False, String(ModuleRes(RID_STR_VALUEMIN)), nPos++, HID_PROP_EFFECTIVEMIN), - OPropertyInfoImpl(PROPERTY_EFFECTIVE_MAX, PROPERTY_ID_EFFECTIVE_MAX, sal_False, String(ModuleRes(RID_STR_VALUEMAX)), nPos++, HID_PROP_EFFECTIVEMAX), - OPropertyInfoImpl(PROPERTY_EFFECTIVE_DEFAULT, PROPERTY_ID_EFFECTIVE_DEFAULT, sal_False, String(ModuleRes(RID_STR_DEFAULTVALUE)), nPos++, HID_PROP_EFFECTIVEDEFAULT), - OPropertyInfoImpl(PROPERTY_FORMATKEY, PROPERTY_ID_FORMATKEY, sal_True, String(ModuleRes(RID_STR_FORMATKEY)), nPos++, HID_PROP_FORMATKEY), - - OPropertyInfoImpl(PROPERTY_PROGRESSVALUE, PROPERTY_ID_PROGRESSVALUE, sal_True, String(ModuleRes(RID_STR_PROGRESSVALUE)), nPos++, 0), - OPropertyInfoImpl(PROPERTY_PROGRESSVALUE_MIN, PROPERTY_ID_PROGRESSVALUE_MIN, sal_True, String(ModuleRes(RID_STR_PROGRESSVALUE_MIN)),nPos++, 0), - OPropertyInfoImpl(PROPERTY_PROGRESSVALUE_MAX, PROPERTY_ID_PROGRESSVALUE_MAX, sal_True, String(ModuleRes(RID_STR_PROGRESSVALUE_MAX)),nPos++, 0), - - OPropertyInfoImpl(PROPERTY_SCROLLVALUE, PROPERTY_ID_SCROLLVALUE, sal_True, String(ModuleRes(RID_STR_SCROLLVALUE)), nPos++, 0), - OPropertyInfoImpl(PROPERTY_SCROLLVALUE_MAX, PROPERTY_ID_SCROLLVALUE_MAX, sal_True, String(ModuleRes(RID_STR_SCROLLVALUE_MAX)), nPos++, 0), - OPropertyInfoImpl(PROPERTY_LINEINCREMENT, PROPERTY_ID_LINEINCREMENT, sal_True, String(ModuleRes(RID_STR_LINEINCREMENT)), nPos++, 0), - OPropertyInfoImpl(PROPERTY_BLOCKINCREMENT, PROPERTY_ID_BLOCKINCREMENT, sal_True, String(ModuleRes(RID_STR_BLOCKINCREMENT)), nPos++, 0), - OPropertyInfoImpl(PROPERTY_VISIBLESIZE, PROPERTY_ID_VISIBLESIZE, sal_True, String(ModuleRes(RID_STR_VISIBLESIZE)), nPos++, 0), - OPropertyInfoImpl(PROPERTY_ORIENTATION, PROPERTY_ID_ORIENTATION, sal_True, String(ModuleRes(RID_STR_ORIENTATION)), nPos++, 0), - - OPropertyInfoImpl(PROPERTY_CLASSID, PROPERTY_ID_CLASSID, sal_False, String(ModuleRes(RID_STR_CLASSID)), nPos++, HID_PROP_CLASSID), - OPropertyInfoImpl(PROPERTY_HEIGHT, PROPERTY_ID_HEIGHT, sal_True, String(ModuleRes(RID_STR_HEIGHT)), nPos++, HID_PROP_HEIGHT), - OPropertyInfoImpl(PROPERTY_WIDTH, PROPERTY_ID_WIDTH, sal_True, String(ModuleRes(RID_STR_WIDTH)), nPos++, HID_PROP_WIDTH), - OPropertyInfoImpl(PROPERTY_POSITIONX, PROPERTY_ID_POSITIONX, sal_True, String(ModuleRes(RID_STR_POSITIONX)), nPos++, 0), - OPropertyInfoImpl(PROPERTY_POSITIONY, PROPERTY_ID_POSITIONY, sal_True, String(ModuleRes(RID_STR_POSITIONY)), nPos++, 0), + OPropertyInfoImpl(PROPERTY_NAME, PROPERTY_ID_NAME, sal_False, String(ModuleRes(RID_STR_NAME)), nPos++, HID_PROP_NAME, PROP_FORM_VISIBLE|PROP_DIALOG_VISIBLE), + OPropertyInfoImpl(PROPERTY_TITLE, PROPERTY_ID_TITLE, sal_True, String(ModuleRes(RID_STR_TITLE)), nPos++, 0, PROP_FORM_VISIBLE|PROP_DIALOG_VISIBLE), + OPropertyInfoImpl(PROPERTY_LABEL, PROPERTY_ID_LABEL, sal_True, String(ModuleRes(RID_STR_LABEL)), nPos++, HID_PROP_LABEL, PROP_FORM_VISIBLE|PROP_DIALOG_VISIBLE), + OPropertyInfoImpl(PROPERTY_CONTROLLABEL, PROPERTY_ID_CONTROLLABEL, sal_False, String(ModuleRes(RID_STR_LABELCONTROL)), nPos++, HID_PROP_CONTROLLABEL, PROP_FORM_VISIBLE ), + OPropertyInfoImpl(PROPERTY_MAXTEXTLEN, PROPERTY_ID_MAXTEXTLEN, sal_True, String(ModuleRes(RID_STR_MAXTEXTLEN)), nPos++, HID_PROP_MAXTEXTLEN, PROP_FORM_VISIBLE|PROP_DIALOG_VISIBLE), + OPropertyInfoImpl(PROPERTY_EDITMASK, PROPERTY_ID_EDITMASK, sal_True, String(ModuleRes(RID_STR_EDITMASK)), nPos++, HID_PROP_EDITMASK, PROP_FORM_VISIBLE|PROP_DIALOG_VISIBLE), + OPropertyInfoImpl(PROPERTY_LITERALMASK, PROPERTY_ID_LITERALMASK, sal_True, String(ModuleRes(RID_STR_LITERALMASK)), nPos++, HID_PROP_LITERALMASK, PROP_FORM_VISIBLE|PROP_DIALOG_VISIBLE), + OPropertyInfoImpl(PROPERTY_STRICTFORMAT, PROPERTY_ID_STRICTFORMAT, sal_True, String(ModuleRes(RID_STR_STRICTFORMAT)), nPos++, HID_PROP_STRICTFORMAT, PROP_FORM_VISIBLE|PROP_DIALOG_VISIBLE), + OPropertyInfoImpl(PROPERTY_ENABLED, PROPERTY_ID_ENABLED, sal_True, String(ModuleRes(RID_STR_ENABLED)), nPos++, HID_PROP_ENABLED, PROP_FORM_VISIBLE|PROP_DIALOG_VISIBLE), + OPropertyInfoImpl(PROPERTY_READONLY, PROPERTY_ID_READONLY, sal_True, String(ModuleRes(RID_STR_READONLY)), nPos++, HID_PROP_READONLY, PROP_FORM_VISIBLE|PROP_DIALOG_VISIBLE), + OPropertyInfoImpl(PROPERTY_PRINTABLE, PROPERTY_ID_PRINTABLE, sal_True, String(ModuleRes(RID_STR_PRINTABLE)), nPos++, HID_PROP_PRINTABLE, PROP_FORM_VISIBLE|PROP_DIALOG_VISIBLE), + OPropertyInfoImpl(PROPERTY_CONTROLSOURCE, PROPERTY_ID_CONTROLSOURCE, sal_True, String(ModuleRes(RID_STR_CONTROLSOURCE)), nPos++, HID_PROP_CONTROLSOURCE, PROP_FORM_VISIBLE ), + OPropertyInfoImpl(PROPERTY_STEP, PROPERTY_ID_STEP, sal_True, String(ModuleRes(RID_STR_STEP)), nPos++, 0, PROP_FORM_VISIBLE|PROP_DIALOG_VISIBLE), + OPropertyInfoImpl(PROPERTY_TABSTOP, PROPERTY_ID_TABSTOP, sal_True, String(ModuleRes(RID_STR_TABSTOP)), nPos++, HID_PROP_TABSTOP, PROP_FORM_VISIBLE|PROP_DIALOG_VISIBLE), + OPropertyInfoImpl(PROPERTY_TABINDEX, PROPERTY_ID_TABINDEX, sal_True, String(ModuleRes(RID_STR_TABINDEX)), nPos++, HID_PROP_TABINDEX, PROP_FORM_VISIBLE|PROP_DIALOG_VISIBLE), + OPropertyInfoImpl(PROPERTY_DATASOURCE, PROPERTY_ID_DATASOURCE, sal_True, String(ModuleRes(RID_STR_DATASOURCE)), nPos++, HID_PROP_DATASOURCE, PROP_FORM_VISIBLE ), + OPropertyInfoImpl(PROPERTY_COMMANDTYPE, PROPERTY_ID_COMMANDTYPE, sal_False, String(ModuleRes(RID_STR_CURSORSOURCETYPE)), nPos++, HID_PROP_CURSORSOURCETYPE, PROP_FORM_VISIBLE ), + OPropertyInfoImpl(PROPERTY_COMMAND, PROPERTY_ID_COMMAND, sal_False, String(ModuleRes(RID_STR_CURSORSOURCE)), nPos++, HID_PROP_CURSORSOURCE, PROP_FORM_VISIBLE ), + OPropertyInfoImpl(PROPERTY_ESCAPE_PROCESSING, PROPERTY_ID_ESCAPE_PROCESSING, sal_False, String(ModuleRes(RID_STR_ESCAPE_PROCESSING)),nPos++, HID_PROP_ESCAPE_PROCESSING, PROP_FORM_VISIBLE ), + OPropertyInfoImpl(PROPERTY_FILTER_CRITERIA, PROPERTY_ID_FILTER_CRITERIA, sal_False, String(ModuleRes(RID_STR_FILTER_CRITERIA)), nPos++, HID_PROP_FILTER_CRITERIA, PROP_FORM_VISIBLE ), + OPropertyInfoImpl(PROPERTY_SORT, PROPERTY_ID_SORT, sal_False, String(ModuleRes(RID_STR_SORT_CRITERIA)), nPos++, HID_PROP_SORT_CRITERIA, PROP_FORM_VISIBLE ), + OPropertyInfoImpl(PROPERTY_ALLOWADDITIONS, PROPERTY_ID_ALLOWADDITIONS, sal_True, String(ModuleRes(RID_STR_ALLOW_ADDITIONS)), nPos++, HID_PROP_ALLOW_ADDITIONS, PROP_FORM_VISIBLE ), + OPropertyInfoImpl(PROPERTY_ALLOWEDITS, PROPERTY_ID_ALLOWEDITS, sal_True, String(ModuleRes(RID_STR_ALLOW_EDITS)), nPos++, HID_PROP_ALLOW_EDITS, PROP_FORM_VISIBLE ), + OPropertyInfoImpl(PROPERTY_ALLOWDELETIONS, PROPERTY_ID_ALLOWDELETIONS, sal_True, String(ModuleRes(RID_STR_ALLOW_DELETIONS)), nPos++, HID_PROP_ALLOW_DELETIONS, PROP_FORM_VISIBLE ), + OPropertyInfoImpl(PROPERTY_INSERTONLY, PROPERTY_ID_INSERTONLY, sal_True, String(ModuleRes(RID_STR_DATAENTRY)), nPos++, HID_PROP_DATAENTRY, PROP_FORM_VISIBLE ), + OPropertyInfoImpl(PROPERTY_NAVIGATION, PROPERTY_ID_NAVIGATION, sal_True, String(ModuleRes(RID_STR_NAVIGATION)), nPos++, HID_PROP_NAVIGATION, PROP_FORM_VISIBLE ), + OPropertyInfoImpl(PROPERTY_CYCLE, PROPERTY_ID_CYCLE, sal_True, String(ModuleRes(RID_STR_CYCLE)), nPos++, HID_PROP_CYCLE, PROP_FORM_VISIBLE ), + OPropertyInfoImpl(PROPERTY_HIDDEN_VALUE, PROPERTY_ID_HIDDEN_VALUE, sal_True, String(ModuleRes(RID_STR_VALUE)), nPos++, HID_PROP_HIDDEN_VALUE, PROP_FORM_VISIBLE ), + OPropertyInfoImpl(PROPERTY_VALUE, PROPERTY_ID_VALUE, sal_True, String(ModuleRes(RID_STR_VALUE)), nPos++, HID_PROP_VALUE, PROP_DIALOG_VISIBLE), + OPropertyInfoImpl(PROPERTY_VALUEMIN, PROPERTY_ID_VALUEMIN, sal_True, String(ModuleRes(RID_STR_VALUEMIN)), nPos++, HID_PROP_VALUEMIN, PROP_FORM_VISIBLE|PROP_DIALOG_VISIBLE), + OPropertyInfoImpl(PROPERTY_VALUEMAX, PROPERTY_ID_VALUEMAX, sal_True, String(ModuleRes(RID_STR_VALUEMAX)), nPos++, HID_PROP_VALUEMAX, PROP_FORM_VISIBLE|PROP_DIALOG_VISIBLE), + OPropertyInfoImpl(PROPERTY_VALUESTEP, PROPERTY_ID_VALUESTEP, sal_True, String(ModuleRes(RID_STR_VALUESTEP)), nPos++, HID_PROP_VALUESTEP, PROP_FORM_VISIBLE|PROP_DIALOG_VISIBLE), + OPropertyInfoImpl(PROPERTY_DEFAULT_VALUE, PROPERTY_ID_DEFAULT_VALUE, sal_True, String(ModuleRes(RID_STR_DEFAULTVALUE)), nPos++, HID_PROP_DEFAULT_LONG_VALUE, PROP_FORM_VISIBLE ), + OPropertyInfoImpl(PROPERTY_DECIMAL_ACCURACY, PROPERTY_ID_DECIMAL_ACCURACY, sal_True, String(ModuleRes(RID_STR_DECIMAL_ACCURACY)), nPos++, HID_PROP_DECIMAL_ACCURACY, PROP_FORM_VISIBLE|PROP_DIALOG_VISIBLE), + OPropertyInfoImpl(PROPERTY_SHOWTHOUSANDSEP, PROPERTY_ID_SHOWTHOUSANDSEP, sal_True, String(ModuleRes(RID_STR_SHOWTHOUSANDSEP)), nPos++, HID_PROP_SHOWTHOUSANDSEP, PROP_FORM_VISIBLE|PROP_DIALOG_VISIBLE), + + OPropertyInfoImpl(PROPERTY_REFVALUE, PROPERTY_ID_REFVALUE, sal_True, String(ModuleRes(RID_STR_REFVALUE)), nPos++, HID_PROP_REFVALUE, PROP_FORM_VISIBLE ), + OPropertyInfoImpl(PROPERTY_CURRENCYSYMBOL, PROPERTY_ID_CURRENCYSYMBOL, sal_True, String(ModuleRes(RID_STR_CURRENCYSYMBOL)), nPos++, HID_PROP_CURRENCYSYMBOL, PROP_FORM_VISIBLE|PROP_DIALOG_VISIBLE), + OPropertyInfoImpl(PROPERTY_CURRSYM_POSITION, PROPERTY_ID_CURRSYM_POSITION, sal_True, String(ModuleRes(RID_STR_CURRSYM_POSITION)), nPos++, HID_PROP_CURRSYM_POSITION, PROP_FORM_VISIBLE|PROP_DIALOG_VISIBLE), + + OPropertyInfoImpl(PROPERTY_DATE, PROPERTY_ID_DATE, sal_True, String(ModuleRes(RID_STR_DATE)), nPos++, HID_PROP_DATE, PROP_DIALOG_VISIBLE), + OPropertyInfoImpl(PROPERTY_DATEMIN, PROPERTY_ID_DATEMIN, sal_True, String(ModuleRes(RID_STR_DATEMIN)), nPos++, HID_PROP_DATEMIN, PROP_FORM_VISIBLE|PROP_DIALOG_VISIBLE), + OPropertyInfoImpl(PROPERTY_DATEMAX, PROPERTY_ID_DATEMAX, sal_True, String(ModuleRes(RID_STR_DATEMAX)), nPos++, HID_PROP_DATEMAX, PROP_FORM_VISIBLE|PROP_DIALOG_VISIBLE), + OPropertyInfoImpl(PROPERTY_DATEFORMAT, PROPERTY_ID_DATEFORMAT, sal_True, String(ModuleRes(RID_STR_DATEFORMAT)), nPos++, HID_PROP_DATEFORMAT, PROP_FORM_VISIBLE|PROP_DIALOG_VISIBLE), + OPropertyInfoImpl(PROPERTY_DATE_SHOW_CENTURY, PROPERTY_ID_DATE_SHOW_CENTURY, sal_True, String(ModuleRes(RID_STR_DATE_SHOW_CENTURY)),nPos++, HID_PROP_DATE_SHOW_CENTURY, PROP_FORM_VISIBLE|PROP_DIALOG_VISIBLE), + OPropertyInfoImpl(PROPERTY_DEFAULT_DATE, PROPERTY_ID_DEFAULT_DATE, sal_True, String(ModuleRes(RID_STR_DEFAULTVALUE)), nPos++, HID_PROP_DEFAULT_DATE, PROP_FORM_VISIBLE ), + + OPropertyInfoImpl(PROPERTY_TIME, PROPERTY_ID_TIME, sal_True, String(ModuleRes(RID_STR_TIME)), nPos++, HID_PROP_TIME, PROP_DIALOG_VISIBLE), + OPropertyInfoImpl(PROPERTY_TIMEMIN, PROPERTY_ID_TIMEMIN, sal_True, String(ModuleRes(RID_STR_TIMEMIN)), nPos++, HID_PROP_TIMEMIN, PROP_FORM_VISIBLE|PROP_DIALOG_VISIBLE), + OPropertyInfoImpl(PROPERTY_TIMEMAX, PROPERTY_ID_TIMEMAX, sal_True, String(ModuleRes(RID_STR_TIMEMAX)), nPos++, HID_PROP_TIMEMAX, PROP_FORM_VISIBLE|PROP_DIALOG_VISIBLE), + OPropertyInfoImpl(PROPERTY_TIMEFORMAT, PROPERTY_ID_TIMEFORMAT, sal_True, String(ModuleRes(RID_STR_TIMEFORMAT)), nPos++, HID_PROP_TIMEFORMAT, PROP_FORM_VISIBLE|PROP_DIALOG_VISIBLE), + OPropertyInfoImpl(PROPERTY_DEFAULT_TIME, PROPERTY_ID_DEFAULT_TIME, sal_True, String(ModuleRes(RID_STR_DEFAULTVALUE)), nPos++, HID_PROP_DEFAULT_TIME, PROP_FORM_VISIBLE ), + + OPropertyInfoImpl(PROPERTY_EFFECTIVE_MIN, PROPERTY_ID_EFFECTIVE_MIN, sal_False, String(ModuleRes(RID_STR_VALUEMIN)), nPos++, HID_PROP_EFFECTIVEMIN, PROP_FORM_VISIBLE|PROP_DIALOG_VISIBLE), + OPropertyInfoImpl(PROPERTY_EFFECTIVE_MAX, PROPERTY_ID_EFFECTIVE_MAX, sal_False, String(ModuleRes(RID_STR_VALUEMAX)), nPos++, HID_PROP_EFFECTIVEMAX, PROP_FORM_VISIBLE|PROP_DIALOG_VISIBLE), + OPropertyInfoImpl(PROPERTY_EFFECTIVE_DEFAULT, PROPERTY_ID_EFFECTIVE_DEFAULT, sal_False, String(ModuleRes(RID_STR_DEFAULTVALUE)), nPos++, HID_PROP_EFFECTIVEDEFAULT, PROP_FORM_VISIBLE|PROP_DIALOG_VISIBLE), + OPropertyInfoImpl(PROPERTY_FORMATKEY, PROPERTY_ID_FORMATKEY, sal_True, String(ModuleRes(RID_STR_FORMATKEY)), nPos++, HID_PROP_FORMATKEY, PROP_FORM_VISIBLE|PROP_DIALOG_VISIBLE), + + OPropertyInfoImpl(PROPERTY_PROGRESSVALUE, PROPERTY_ID_PROGRESSVALUE, sal_True, String(ModuleRes(RID_STR_PROGRESSVALUE)), nPos++, 0, PROP_FORM_VISIBLE|PROP_DIALOG_VISIBLE), + OPropertyInfoImpl(PROPERTY_PROGRESSVALUE_MIN, PROPERTY_ID_PROGRESSVALUE_MIN, sal_True, String(ModuleRes(RID_STR_PROGRESSVALUE_MIN)),nPos++, 0, PROP_FORM_VISIBLE|PROP_DIALOG_VISIBLE), + OPropertyInfoImpl(PROPERTY_PROGRESSVALUE_MAX, PROPERTY_ID_PROGRESSVALUE_MAX, sal_True, String(ModuleRes(RID_STR_PROGRESSVALUE_MAX)),nPos++, 0, PROP_FORM_VISIBLE|PROP_DIALOG_VISIBLE), + + OPropertyInfoImpl(PROPERTY_SCROLLVALUE, PROPERTY_ID_SCROLLVALUE, sal_True, String(ModuleRes(RID_STR_SCROLLVALUE)), nPos++, 0, PROP_FORM_VISIBLE|PROP_DIALOG_VISIBLE), + OPropertyInfoImpl(PROPERTY_SCROLLVALUE_MAX, PROPERTY_ID_SCROLLVALUE_MAX, sal_True, String(ModuleRes(RID_STR_SCROLLVALUE_MAX)), nPos++, 0, PROP_FORM_VISIBLE|PROP_DIALOG_VISIBLE), + OPropertyInfoImpl(PROPERTY_LINEINCREMENT, PROPERTY_ID_LINEINCREMENT, sal_True, String(ModuleRes(RID_STR_LINEINCREMENT)), nPos++, 0, PROP_FORM_VISIBLE|PROP_DIALOG_VISIBLE), + OPropertyInfoImpl(PROPERTY_BLOCKINCREMENT, PROPERTY_ID_BLOCKINCREMENT, sal_True, String(ModuleRes(RID_STR_BLOCKINCREMENT)), nPos++, 0, PROP_FORM_VISIBLE|PROP_DIALOG_VISIBLE), + OPropertyInfoImpl(PROPERTY_VISIBLESIZE, PROPERTY_ID_VISIBLESIZE, sal_True, String(ModuleRes(RID_STR_VISIBLESIZE)), nPos++, 0, PROP_FORM_VISIBLE|PROP_DIALOG_VISIBLE), + OPropertyInfoImpl(PROPERTY_ORIENTATION, PROPERTY_ID_ORIENTATION, sal_True, String(ModuleRes(RID_STR_ORIENTATION)), nPos++, 0, PROP_FORM_VISIBLE|PROP_DIALOG_VISIBLE), + + OPropertyInfoImpl(PROPERTY_CLASSID, PROPERTY_ID_CLASSID, sal_False, String(ModuleRes(RID_STR_CLASSID)), nPos++, HID_PROP_CLASSID, PROP_FORM_VISIBLE ), + OPropertyInfoImpl(PROPERTY_HEIGHT, PROPERTY_ID_HEIGHT, sal_True, String(ModuleRes(RID_STR_HEIGHT)), nPos++, HID_PROP_HEIGHT, PROP_FORM_VISIBLE|PROP_DIALOG_VISIBLE), + OPropertyInfoImpl(PROPERTY_WIDTH, PROPERTY_ID_WIDTH, sal_True, String(ModuleRes(RID_STR_WIDTH)), nPos++, HID_PROP_WIDTH, PROP_FORM_VISIBLE|PROP_DIALOG_VISIBLE), + OPropertyInfoImpl(PROPERTY_POSITIONX, PROPERTY_ID_POSITIONX, sal_True, String(ModuleRes(RID_STR_POSITIONX)), nPos++, 0, PROP_FORM_VISIBLE|PROP_DIALOG_VISIBLE), + OPropertyInfoImpl(PROPERTY_POSITIONY, PROPERTY_ID_POSITIONY, sal_True, String(ModuleRes(RID_STR_POSITIONY)), nPos++, 0, PROP_FORM_VISIBLE|PROP_DIALOG_VISIBLE), - OPropertyInfoImpl(PROPERTY_BOUNDCOLUMN, PROPERTY_ID_BOUNDCOLUMN, sal_True, String(ModuleRes(RID_STR_BOUNDCOLUMN)), nPos++, HID_PROP_BOUNDCOLUMN), - OPropertyInfoImpl(PROPERTY_LISTSOURCETYPE, PROPERTY_ID_LISTSOURCETYPE, sal_True, String(ModuleRes(RID_STR_LISTSOURCETYPE)), nPos++, HID_PROP_LISTSOURCETYPE), - OPropertyInfoImpl(PROPERTY_LISTSOURCE, PROPERTY_ID_LISTSOURCE, sal_True, String(ModuleRes(RID_STR_LISTSOURCE)), nPos++, HID_PROP_LISTSOURCE), - OPropertyInfoImpl(PROPERTY_LISTINDEX, PROPERTY_ID_LISTINDEX, sal_True, String(ModuleRes(RID_STR_LISTINDEX)), nPos++, HID_PROP_LISTINDEX), - OPropertyInfoImpl(PROPERTY_STRINGITEMLIST, PROPERTY_ID_STRINGITEMLIST, sal_True, String(ModuleRes(RID_STR_STRINGITEMLIST)), nPos++, HID_PROP_STRINGITEMLIST), - OPropertyInfoImpl(PROPERTY_DEFAULT_TEXT, PROPERTY_ID_DEFAULT_TEXT, sal_True, String(ModuleRes(RID_STR_DEFAULTVALUE)), nPos++, HID_PROP_DEFAULTVALUE ), - OPropertyInfoImpl(PROPERTY_FONT_NAME, PROPERTY_ID_FONT_NAME, sal_True, String(ModuleRes(RID_STR_FONT)), nPos++, HID_PROP_FONT), - OPropertyInfoImpl(PROPERTY_ALIGN, PROPERTY_ID_ALIGN, sal_True, String(ModuleRes(RID_STR_ALIGN)), nPos++, HID_PROP_ALIGN), - OPropertyInfoImpl(PROPERTY_ROWHEIGHT, PROPERTY_ID_ROWHEIGHT, sal_True, String(ModuleRes(RID_STR_ROWHEIGHT)), nPos++, HID_PROP_ROWHEIGHT), - OPropertyInfoImpl(PROPERTY_BACKGROUNDCOLOR, PROPERTY_ID_BACKGROUNDCOLOR, sal_True, String(ModuleRes(RID_STR_BACKGROUNDCOLOR)), nPos++, HID_PROP_BACKGROUNDCOLOR), - OPropertyInfoImpl(PROPERTY_FILLCOLOR, PROPERTY_ID_FILLCOLOR, sal_True, String(ModuleRes(RID_STR_FILLCOLOR)), nPos++, HID_PROP_FILLCOLOR), - OPropertyInfoImpl(PROPERTY_LINECOLOR, PROPERTY_ID_LINECOLOR, sal_True, String(ModuleRes(RID_STR_LINECOLOR)), nPos++, HID_PROP_LINECOLOR), - OPropertyInfoImpl(PROPERTY_BORDER, PROPERTY_ID_BORDER, sal_True, String(ModuleRes(RID_STR_BORDER)), nPos++, HID_PROP_BORDER), - OPropertyInfoImpl(PROPERTY_DROPDOWN, PROPERTY_ID_DROPDOWN, sal_True, String(ModuleRes(RID_STR_DROPDOWN)), nPos++, HID_PROP_DROPDOWN), - OPropertyInfoImpl(PROPERTY_AUTOCOMPLETE, PROPERTY_ID_AUTOCOMPLETE, sal_True, String(ModuleRes(RID_STR_AUTOCOMPLETE)), nPos++, HID_PROP_AUTOCOMPLETE), - OPropertyInfoImpl(PROPERTY_LINECOUNT, PROPERTY_ID_LINECOUNT, sal_True, String(ModuleRes(RID_STR_LINECOUNT)), nPos++, HID_PROP_LINECOUNT), - OPropertyInfoImpl(PROPERTY_MULTI, PROPERTY_ID_MULTI, sal_True, String(ModuleRes(RID_STR_MULTILINE)), nPos++, HID_PROP_MULTILINE), - OPropertyInfoImpl(PROPERTY_MULTILINE, PROPERTY_ID_MULTILINE, sal_True, String(ModuleRes(RID_STR_MULTILINE)), nPos++, HID_PROP_MULTILINE), - OPropertyInfoImpl(PROPERTY_MULTISELECTION, PROPERTY_ID_MULTISELECTION, sal_True, String(ModuleRes(RID_STR_MULTISELECTION)), nPos++, HID_PROP_MULTISELECTION), - OPropertyInfoImpl(PROPERTY_HARDLINEBREAKS, PROPERTY_ID_HARDLINEBREAKS, sal_True, String(ModuleRes(RID_STR_HARDLINEBREAKS)), nPos++, HID_PROP_HARDLINEBREAKS), - OPropertyInfoImpl(PROPERTY_HSCROLL, PROPERTY_ID_HSCROLL, sal_True, String(ModuleRes(RID_STR_HSCROLL)), nPos++, HID_PROP_HSCROLL), - OPropertyInfoImpl(PROPERTY_VSCROLL, PROPERTY_ID_VSCROLL, sal_True, String(ModuleRes(RID_STR_VSCROLL)), nPos++, HID_PROP_VSCROLL), - OPropertyInfoImpl(PROPERTY_SPIN, PROPERTY_ID_SPIN, sal_True, String(ModuleRes(RID_STR_SPIN)), nPos++, HID_PROP_SPIN), - OPropertyInfoImpl(PROPERTY_BUTTONTYPE, PROPERTY_ID_BUTTONTYPE, sal_True, String(ModuleRes(RID_STR_BUTTONTYPE)), nPos++, HID_PROP_BUTTONTYPE), - OPropertyInfoImpl(PROPERTY_TARGET_URL, PROPERTY_ID_TARGET_URL, sal_True, String(ModuleRes(RID_STR_TARGET_URL)), nPos++, HID_PROP_TARGET_URL ), - OPropertyInfoImpl(PROPERTY_TARGET_FRAME, PROPERTY_ID_TARGET_FRAME, sal_True, String(ModuleRes(RID_STR_TARGET_FRAME)), nPos++, HID_PROP_TARGET_FRAME ), - OPropertyInfoImpl(PROPERTY_SUBMIT_ACTION, PROPERTY_ID_SUBMIT_ACTION, sal_True, String(ModuleRes(RID_STR_SUBMIT_ACTION)), nPos++, HID_PROP_SUBMIT_ACTION ), - OPropertyInfoImpl(PROPERTY_SUBMIT_TARGET, PROPERTY_ID_SUBMIT_TARGET, sal_True, String(ModuleRes(RID_STR_SUBMIT_TARGET)), nPos++, HID_PROP_SUBMIT_TARGET ), - OPropertyInfoImpl(PROPERTY_SUBMIT_METHOD, PROPERTY_ID_SUBMIT_METHOD, sal_True, String(ModuleRes(RID_STR_SUBMIT_METHOD)), nPos++, HID_PROP_SUBMIT_METHOD ), - OPropertyInfoImpl(PROPERTY_SUBMIT_ENCODING, PROPERTY_ID_SUBMIT_ENCODING, sal_True, String(ModuleRes(RID_STR_SUBMIT_ENCODING)), nPos++, HID_PROP_SUBMIT_ENCODING ), - OPropertyInfoImpl(PROPERTY_DEFAULTCHECKED, PROPERTY_ID_DEFAULT_CHECKED, sal_True, String(ModuleRes(RID_STR_DEFAULT_CHECKED)), nPos++, HID_PROP_DEFAULT_CHECKED ), - OPropertyInfoImpl(PROPERTY_DEFAULTBUTTON, PROPERTY_ID_DEFAULT_BUTTON, sal_True, String(ModuleRes(RID_STR_DEFAULT_BUTTON)), nPos++, HID_PROP_DEFAULT_BUTTON ), - OPropertyInfoImpl(PROPERTY_IMAGE_URL, PROPERTY_ID_IMAGE_URL, sal_True, String(ModuleRes(RID_STR_IMAGE_URL)), nPos++, HID_PROP_IMAGE_URL ), - OPropertyInfoImpl(PROPERTY_IMAGEALIGN, PROPERTY_ID_IMAGEALIGN, sal_True, String(ModuleRes(RID_STR_ALIGN)), nPos++, HID_PROP_IMAGE_ALIGN ), - OPropertyInfoImpl(PROPERTY_DEFAULT_SELECT_SEQ, PROPERTY_ID_DEFAULT_SELECT_SEQ, sal_True, String(ModuleRes(RID_STR_DEFAULT_SELECT_SEQ)),nPos++, HID_PROP_DEFAULT_SELECT_SEQ ), - OPropertyInfoImpl(PROPERTY_ECHO_CHAR, PROPERTY_ID_ECHO_CHAR, sal_True, String(ModuleRes(RID_STR_ECHO_CHAR)), nPos++, HID_PROP_ECHO_CHAR ), - OPropertyInfoImpl(PROPERTY_EMPTY_IS_NULL, PROPERTY_ID_EMPTY_IS_NULL, sal_True, String(ModuleRes(RID_STR_EMPTY_IS_NULL)), nPos++, HID_PROP_EMPTY_IS_NULL ), - OPropertyInfoImpl(PROPERTY_TRISTATE, PROPERTY_ID_TRISTATE , sal_True, String(ModuleRes(RID_STR_TRISTATE)), nPos++, HID_PROP_TRISTATE ), - OPropertyInfoImpl(PROPERTY_MASTERFIELDS, PROPERTY_ID_MASTERFIELDS, sal_True, String(ModuleRes(RID_STR_MASTERFIELDS)), nPos++, HID_PROP_MASTERFIELDS) , - OPropertyInfoImpl(PROPERTY_DETAILFIELDS, PROPERTY_ID_DETAILFIELDS, sal_True, String(ModuleRes(RID_STR_SLAVEFIELDS)), nPos++, HID_PROP_SLAVEFIELDS), - OPropertyInfoImpl(PROPERTY_HASNAVIGATION, PROPERTY_ID_HASNAVIGATION, sal_True, String(ModuleRes(RID_STR_NAVIGATION)), nPos++, HID_PROP_NAVIGATIONBAR) , - OPropertyInfoImpl(PROPERTY_RECORDMARKER, PROPERTY_ID_RECORDMARKER, sal_True, String(ModuleRes(RID_STR_RECORDMARKER)), nPos++, HID_PROP_RECORDMARKER) , - OPropertyInfoImpl(PROPERTY_FILTERPROPOSAL, PROPERTY_ID_FILTERPROPOSAL, sal_True, String(ModuleRes(RID_STR_FILTERPROPOSAL)), nPos++, HID_PROP_FILTERPROPOSAL) , - OPropertyInfoImpl(PROPERTY_TAG, PROPERTY_ID_TAG, sal_True, String(ModuleRes(RID_STR_TAG)), nPos++, HID_PROP_TAG ), - OPropertyInfoImpl(PROPERTY_HELPTEXT, PROPERTY_ID_HELPTEXT, sal_False, String(ModuleRes(RID_STR_HELPTEXT)), nPos++, HID_PROP_HELPTEXT), - OPropertyInfoImpl(PROPERTY_HELPURL, PROPERTY_ID_HELPURL, sal_False, String(ModuleRes(RID_STR_HELPURL)), nPos++, HID_PROP_HELPURL) + OPropertyInfoImpl(PROPERTY_BOUNDCOLUMN, PROPERTY_ID_BOUNDCOLUMN, sal_True, String(ModuleRes(RID_STR_BOUNDCOLUMN)), nPos++, HID_PROP_BOUNDCOLUMN, PROP_FORM_VISIBLE ), + OPropertyInfoImpl(PROPERTY_LISTSOURCETYPE, PROPERTY_ID_LISTSOURCETYPE, sal_True, String(ModuleRes(RID_STR_LISTSOURCETYPE)), nPos++, HID_PROP_LISTSOURCETYPE, PROP_FORM_VISIBLE ), + OPropertyInfoImpl(PROPERTY_LISTSOURCE, PROPERTY_ID_LISTSOURCE, sal_True, String(ModuleRes(RID_STR_LISTSOURCE)), nPos++, HID_PROP_LISTSOURCE, PROP_FORM_VISIBLE ), + OPropertyInfoImpl(PROPERTY_LISTINDEX, PROPERTY_ID_LISTINDEX, sal_True, String(ModuleRes(RID_STR_LISTINDEX)), nPos++, HID_PROP_LISTINDEX, PROP_FORM_VISIBLE ), + OPropertyInfoImpl(PROPERTY_STRINGITEMLIST, PROPERTY_ID_STRINGITEMLIST, sal_True, String(ModuleRes(RID_STR_STRINGITEMLIST)), nPos++, HID_PROP_STRINGITEMLIST, PROP_FORM_VISIBLE|PROP_DIALOG_VISIBLE), + OPropertyInfoImpl(PROPERTY_DEFAULT_TEXT, PROPERTY_ID_DEFAULT_TEXT, sal_True, String(ModuleRes(RID_STR_DEFAULTVALUE)), nPos++, HID_PROP_DEFAULTVALUE, PROP_FORM_VISIBLE ), + OPropertyInfoImpl(PROPERTY_FONT_NAME, PROPERTY_ID_FONT_NAME, sal_True, String(ModuleRes(RID_STR_FONT)), nPos++, HID_PROP_FONT, PROP_FORM_VISIBLE|PROP_DIALOG_VISIBLE), + OPropertyInfoImpl(PROPERTY_ALIGN, PROPERTY_ID_ALIGN, sal_True, String(ModuleRes(RID_STR_ALIGN)), nPos++, HID_PROP_ALIGN, PROP_FORM_VISIBLE|PROP_DIALOG_VISIBLE), + OPropertyInfoImpl(PROPERTY_ROWHEIGHT, PROPERTY_ID_ROWHEIGHT, sal_True, String(ModuleRes(RID_STR_ROWHEIGHT)), nPos++, HID_PROP_ROWHEIGHT, PROP_FORM_VISIBLE ), + OPropertyInfoImpl(PROPERTY_BACKGROUNDCOLOR, PROPERTY_ID_BACKGROUNDCOLOR, sal_True, String(ModuleRes(RID_STR_BACKGROUNDCOLOR)), nPos++, HID_PROP_BACKGROUNDCOLOR, PROP_FORM_VISIBLE|PROP_DIALOG_VISIBLE), + OPropertyInfoImpl(PROPERTY_FILLCOLOR, PROPERTY_ID_FILLCOLOR, sal_True, String(ModuleRes(RID_STR_FILLCOLOR)), nPos++, HID_PROP_FILLCOLOR, PROP_FORM_VISIBLE|PROP_DIALOG_VISIBLE), + OPropertyInfoImpl(PROPERTY_LINECOLOR, PROPERTY_ID_LINECOLOR, sal_True, String(ModuleRes(RID_STR_LINECOLOR)), nPos++, HID_PROP_LINECOLOR, PROP_FORM_VISIBLE|PROP_DIALOG_VISIBLE), + OPropertyInfoImpl(PROPERTY_BORDER, PROPERTY_ID_BORDER, sal_True, String(ModuleRes(RID_STR_BORDER)), nPos++, HID_PROP_BORDER, PROP_FORM_VISIBLE|PROP_DIALOG_VISIBLE), + OPropertyInfoImpl(PROPERTY_DROPDOWN, PROPERTY_ID_DROPDOWN, sal_True, String(ModuleRes(RID_STR_DROPDOWN)), nPos++, HID_PROP_DROPDOWN, PROP_FORM_VISIBLE|PROP_DIALOG_VISIBLE), + OPropertyInfoImpl(PROPERTY_AUTOCOMPLETE, PROPERTY_ID_AUTOCOMPLETE, sal_True, String(ModuleRes(RID_STR_AUTOCOMPLETE)), nPos++, HID_PROP_AUTOCOMPLETE, PROP_FORM_VISIBLE|PROP_DIALOG_VISIBLE), + OPropertyInfoImpl(PROPERTY_LINECOUNT, PROPERTY_ID_LINECOUNT, sal_True, String(ModuleRes(RID_STR_LINECOUNT)), nPos++, HID_PROP_LINECOUNT, PROP_FORM_VISIBLE|PROP_DIALOG_VISIBLE), + OPropertyInfoImpl(PROPERTY_MULTI, PROPERTY_ID_MULTI, sal_True, String(ModuleRes(RID_STR_MULTILINE)), nPos++, HID_PROP_MULTILINE, PROP_FORM_VISIBLE ), + OPropertyInfoImpl(PROPERTY_MULTILINE, PROPERTY_ID_MULTILINE, sal_True, String(ModuleRes(RID_STR_MULTILINE)), nPos++, HID_PROP_MULTILINE, PROP_FORM_VISIBLE|PROP_DIALOG_VISIBLE), + OPropertyInfoImpl(PROPERTY_MULTISELECTION, PROPERTY_ID_MULTISELECTION, sal_True, String(ModuleRes(RID_STR_MULTISELECTION)), nPos++, HID_PROP_MULTISELECTION, PROP_FORM_VISIBLE|PROP_DIALOG_VISIBLE), + OPropertyInfoImpl(PROPERTY_HARDLINEBREAKS, PROPERTY_ID_HARDLINEBREAKS, sal_True, String(ModuleRes(RID_STR_HARDLINEBREAKS)), nPos++, HID_PROP_HARDLINEBREAKS, PROP_FORM_VISIBLE|PROP_DIALOG_VISIBLE), + OPropertyInfoImpl(PROPERTY_HSCROLL, PROPERTY_ID_HSCROLL, sal_True, String(ModuleRes(RID_STR_HSCROLL)), nPos++, HID_PROP_HSCROLL, PROP_FORM_VISIBLE|PROP_DIALOG_VISIBLE), + OPropertyInfoImpl(PROPERTY_VSCROLL, PROPERTY_ID_VSCROLL, sal_True, String(ModuleRes(RID_STR_VSCROLL)), nPos++, HID_PROP_VSCROLL, PROP_FORM_VISIBLE|PROP_DIALOG_VISIBLE), + OPropertyInfoImpl(PROPERTY_SPIN, PROPERTY_ID_SPIN, sal_True, String(ModuleRes(RID_STR_SPIN)), nPos++, HID_PROP_SPIN, PROP_FORM_VISIBLE|PROP_DIALOG_VISIBLE), + OPropertyInfoImpl(PROPERTY_BUTTONTYPE, PROPERTY_ID_BUTTONTYPE, sal_True, String(ModuleRes(RID_STR_BUTTONTYPE)), nPos++, HID_PROP_BUTTONTYPE, PROP_FORM_VISIBLE ), + OPropertyInfoImpl(PROPERTY_PUSHBUTTONTYPE, PROPERTY_ID_PUSHBUTTONTYPE, sal_True, String(ModuleRes(RID_STR_PUSHBUTTONTYPE)), nPos++, 0, PROP_DIALOG_VISIBLE), + OPropertyInfoImpl(PROPERTY_TARGET_URL, PROPERTY_ID_TARGET_URL, sal_True, String(ModuleRes(RID_STR_TARGET_URL)), nPos++, HID_PROP_TARGET_URL, PROP_FORM_VISIBLE ), + OPropertyInfoImpl(PROPERTY_TARGET_FRAME, PROPERTY_ID_TARGET_FRAME, sal_True, String(ModuleRes(RID_STR_TARGET_FRAME)), nPos++, HID_PROP_TARGET_FRAME, PROP_FORM_VISIBLE ), + OPropertyInfoImpl(PROPERTY_SUBMIT_ACTION, PROPERTY_ID_SUBMIT_ACTION, sal_True, String(ModuleRes(RID_STR_SUBMIT_ACTION)), nPos++, HID_PROP_SUBMIT_ACTION, PROP_FORM_VISIBLE ), + OPropertyInfoImpl(PROPERTY_SUBMIT_TARGET, PROPERTY_ID_SUBMIT_TARGET, sal_True, String(ModuleRes(RID_STR_SUBMIT_TARGET)), nPos++, HID_PROP_SUBMIT_TARGET, PROP_FORM_VISIBLE ), + OPropertyInfoImpl(PROPERTY_SUBMIT_METHOD, PROPERTY_ID_SUBMIT_METHOD, sal_True, String(ModuleRes(RID_STR_SUBMIT_METHOD)), nPos++, HID_PROP_SUBMIT_METHOD, PROP_FORM_VISIBLE ), + OPropertyInfoImpl(PROPERTY_SUBMIT_ENCODING, PROPERTY_ID_SUBMIT_ENCODING, sal_True, String(ModuleRes(RID_STR_SUBMIT_ENCODING)), nPos++, HID_PROP_SUBMIT_ENCODING, PROP_FORM_VISIBLE ), + OPropertyInfoImpl(PROPERTY_STATE, PROPERTY_ID_STATE, sal_True, String(ModuleRes(RID_STR_STATE)), nPos++, 0, PROP_DIALOG_VISIBLE), + OPropertyInfoImpl(PROPERTY_DEFAULTCHECKED, PROPERTY_ID_DEFAULT_CHECKED, sal_True, String(ModuleRes(RID_STR_DEFAULT_CHECKED)), nPos++, HID_PROP_DEFAULT_CHECKED, PROP_FORM_VISIBLE ), + OPropertyInfoImpl(PROPERTY_DEFAULTBUTTON, PROPERTY_ID_DEFAULT_BUTTON, sal_True, String(ModuleRes(RID_STR_DEFAULT_BUTTON)), nPos++, HID_PROP_DEFAULT_BUTTON, PROP_FORM_VISIBLE|PROP_DIALOG_VISIBLE), + OPropertyInfoImpl(PROPERTY_IMAGE_URL, PROPERTY_ID_IMAGE_URL, sal_True, String(ModuleRes(RID_STR_IMAGE_URL)), nPos++, HID_PROP_IMAGE_URL, PROP_FORM_VISIBLE|PROP_DIALOG_VISIBLE), + OPropertyInfoImpl(PROPERTY_IMAGEALIGN, PROPERTY_ID_IMAGEALIGN, sal_True, String(ModuleRes(RID_STR_ALIGN)), nPos++, HID_PROP_IMAGE_ALIGN, PROP_FORM_VISIBLE|PROP_DIALOG_VISIBLE), + OPropertyInfoImpl(PROPERTY_SCALEIMAGE, PROPERTY_ID_SCALEIMAGE, sal_True, String(ModuleRes(RID_STR_SCALEIMAGE)), nPos++, 0, PROP_DIALOG_VISIBLE), + OPropertyInfoImpl(PROPERTY_DEFAULT_SELECT_SEQ, PROPERTY_ID_DEFAULT_SELECT_SEQ, sal_True, String(ModuleRes(RID_STR_DEFAULT_SELECT_SEQ)),nPos++, HID_PROP_DEFAULT_SELECT_SEQ, PROP_FORM_VISIBLE ), + OPropertyInfoImpl(PROPERTY_ECHO_CHAR, PROPERTY_ID_ECHO_CHAR, sal_True, String(ModuleRes(RID_STR_ECHO_CHAR)), nPos++, HID_PROP_ECHO_CHAR, PROP_FORM_VISIBLE|PROP_DIALOG_VISIBLE), + OPropertyInfoImpl(PROPERTY_EMPTY_IS_NULL, PROPERTY_ID_EMPTY_IS_NULL, sal_True, String(ModuleRes(RID_STR_EMPTY_IS_NULL)), nPos++, HID_PROP_EMPTY_IS_NULL, PROP_FORM_VISIBLE ), + OPropertyInfoImpl(PROPERTY_TRISTATE, PROPERTY_ID_TRISTATE , sal_True, String(ModuleRes(RID_STR_TRISTATE)), nPos++, HID_PROP_TRISTATE, PROP_FORM_VISIBLE|PROP_DIALOG_VISIBLE), + OPropertyInfoImpl(PROPERTY_MASTERFIELDS, PROPERTY_ID_MASTERFIELDS, sal_True, String(ModuleRes(RID_STR_MASTERFIELDS)), nPos++, HID_PROP_MASTERFIELDS, PROP_FORM_VISIBLE ), + OPropertyInfoImpl(PROPERTY_DETAILFIELDS, PROPERTY_ID_DETAILFIELDS, sal_True, String(ModuleRes(RID_STR_SLAVEFIELDS)), nPos++, HID_PROP_SLAVEFIELDS, PROP_FORM_VISIBLE ), + OPropertyInfoImpl(PROPERTY_HASNAVIGATION, PROPERTY_ID_HASNAVIGATION, sal_True, String(ModuleRes(RID_STR_NAVIGATION)), nPos++, HID_PROP_NAVIGATIONBAR, PROP_FORM_VISIBLE ), + OPropertyInfoImpl(PROPERTY_RECORDMARKER, PROPERTY_ID_RECORDMARKER, sal_True, String(ModuleRes(RID_STR_RECORDMARKER)), nPos++, HID_PROP_RECORDMARKER, PROP_FORM_VISIBLE ), + OPropertyInfoImpl(PROPERTY_FILTERPROPOSAL, PROPERTY_ID_FILTERPROPOSAL, sal_True, String(ModuleRes(RID_STR_FILTERPROPOSAL)), nPos++, HID_PROP_FILTERPROPOSAL, PROP_FORM_VISIBLE ), + OPropertyInfoImpl(PROPERTY_TAG, PROPERTY_ID_TAG, sal_True, String(ModuleRes(RID_STR_TAG)), nPos++, HID_PROP_TAG, PROP_FORM_VISIBLE|PROP_DIALOG_VISIBLE), + OPropertyInfoImpl(PROPERTY_HELPTEXT, PROPERTY_ID_HELPTEXT, sal_False, String(ModuleRes(RID_STR_HELPTEXT)), nPos++, HID_PROP_HELPTEXT, PROP_FORM_VISIBLE|PROP_DIALOG_VISIBLE), + OPropertyInfoImpl(PROPERTY_HELPURL, PROPERTY_ID_HELPURL, sal_False, String(ModuleRes(RID_STR_HELPURL)), nPos++, HID_PROP_HELPURL, PROP_FORM_VISIBLE|PROP_DIALOG_VISIBLE) }; s_pPropertyInfos = const_cast<OPropertyInfoImpl*>(aPropertyInfos); @@ -312,6 +321,13 @@ namespace pcr } //------------------------------------------------------------------------ + sal_uInt32 OFormPropertyInfoService::getPropertyUIFlags(sal_Int32 _nId) const + { + const OPropertyInfoImpl* pInfo = getPropertyInfo(_nId); + return (pInfo) ? pInfo->nUIFlags : 0; + } + + //------------------------------------------------------------------------ Sequence< ::rtl::OUString > OFormPropertyInfoService::getPropertyEnumRepresentations(sal_Int32 _nId) const { String sSeparatedList; @@ -335,6 +351,9 @@ namespace pcr case PROPERTY_ID_BUTTONTYPE: sSeparatedList = String(ModuleRes(RID_STR_ENUM_BUTTONTYPE)); break; + case PROPERTY_ID_PUSHBUTTONTYPE: + sSeparatedList = String(ModuleRes(RID_STR_ENUM_PUSHBUTTONTYPE)); + break; case PROPERTY_ID_SUBMIT_METHOD: sSeparatedList = String(ModuleRes(RID_STR_ENUM_SUBMIT_METHOD)); break; @@ -348,6 +367,7 @@ namespace pcr sSeparatedList = String(ModuleRes(RID_STR_TIMEFORMAT_LIST)); break; case PROPERTY_ID_DEFAULT_CHECKED: + case PROPERTY_ID_STATE: sSeparatedList = String(ModuleRes(RID_STR_ENUM_CHECKED)); break; case PROPERTY_ID_CYCLE: @@ -379,7 +399,7 @@ namespace pcr // intialisierung if(!s_pPropertyInfos) getPropertyInfo(); - OPropertyInfoImpl aSearch(_rName, 0L, sal_False, String(), 0, 0); + OPropertyInfoImpl aSearch(_rName, 0L, sal_False, String(), 0, 0, 0); const OPropertyInfoImpl* pPropInfo = (OPropertyInfoImpl*) bsearch(&aSearch, static_cast<void*>(s_pPropertyInfos), @@ -494,6 +514,9 @@ namespace pcr /************************************************************************* * history: * $Log: not supported by cvs2svn $ + * Revision 1.13 2001/09/28 14:54:09 tbe + * #92258# click handler for Basic Scrollbar + * * Revision 1.12 2001/06/06 10:37:54 fs * #86837# +PROPERTY_IMAGEALIGN * diff --git a/extensions/source/propctrlr/formmetadata.hxx b/extensions/source/propctrlr/formmetadata.hxx index ff466c828..6b87c0cf1 100644 --- a/extensions/source/propctrlr/formmetadata.hxx +++ b/extensions/source/propctrlr/formmetadata.hxx @@ -2,9 +2,9 @@ * * $RCSfile: formmetadata.hxx,v $ * - * $Revision: 1.9 $ + * $Revision: 1.10 $ * - * last change: $Author: fs $ $Date: 2001-06-06 10:37:54 $ + * last change: $Author: tbe $ $Date: 2001-10-19 12:58:51 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -94,6 +94,7 @@ namespace pcr sal_Int32 getPropertyHelpId(sal_Int32 _nId) const; sal_Int16 getPropertyPos(sal_Int32 _nId) const; sal_Bool getPropertyMultiFlag(sal_Int32 _nId) const; + sal_uInt32 getPropertyUIFlags(sal_Int32 _nId) const; virtual ::com::sun::star::uno::Sequence< ::rtl::OUString > getPropertyEnumRepresentations(sal_Int32 _nId) const; @@ -130,6 +131,14 @@ namespace pcr EventDisplayDescription* GetEvtTranslation(const ::rtl::OUString& _rName); //======================================================================== + //= UI flags (for all browseable properties) + //======================================================================== + + const sal_uInt32 PROP_NONE_VISIBLE = 0x00000000; + const sal_uInt32 PROP_FORM_VISIBLE = 0x00000001; + const sal_uInt32 PROP_DIALOG_VISIBLE = 0x00000002; + + //======================================================================== //= property ids (for all browseable properties) //======================================================================== @@ -243,6 +252,12 @@ namespace pcr #define PROPERTY_ID_VISIBLESIZE 110 #define PROPERTY_ID_ORIENTATION 111 #define PROPERTY_ID_IMAGEALIGN 112 + #define PROPERTY_ID_DATE 113 + #define PROPERTY_ID_STATE 114 + #define PROPERTY_ID_TIME 115 + #define PROPERTY_ID_VALUE 116 + #define PROPERTY_ID_SCALEIMAGE 117 + #define PROPERTY_ID_PUSHBUTTONTYPE 118 //............................................................................ } // namespace pcr @@ -253,6 +268,9 @@ namespace pcr /************************************************************************* * history: * $Log: not supported by cvs2svn $ + * Revision 1.9 2001/06/06 10:37:54 fs + * #86837# +PROPERTY_IMAGEALIGN + * * Revision 1.8 2001/05/02 12:42:11 tbe * added scrollbar properties * diff --git a/extensions/source/propctrlr/formres.src b/extensions/source/propctrlr/formres.src index dec6eae68..ca6610c35 100644 --- a/extensions/source/propctrlr/formres.src +++ b/extensions/source/propctrlr/formres.src @@ -2,9 +2,9 @@ * * $RCSfile: formres.src,v $ * - * $Revision: 1.28 $ + * $Revision: 1.29 $ * - * last change: $Author: kz $ $Date: 2001-10-12 20:59:02 $ + * last change: $Author: tbe $ $Date: 2001-10-19 12:58:51 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -4682,9 +4682,42 @@ String RID_STR_EVT_ADJUSTMENTVALUECHANGED Text[ arabic ] = "On adjust"; Text[ catalan ] = "On adjust"; }; +String RID_STR_DATE +{ + Text = "Datum" ; + Text [ ENGLISH ] = "Date" ; +}; +String RID_STR_STATE +{ + Text = "Status" ; + Text [ ENGLISH ] = "State" ; +}; +String RID_STR_TIME +{ + Text = "Zeit" ; + Text [ ENGLISH ] = "Time" ; +}; +String RID_STR_SCALEIMAGE +{ + Text = "Skalieren" ; + Text [ ENGLISH ] = "Scaling" ; +}; +String RID_STR_PUSHBUTTONTYPE +{ + Text = "Art der Schaltfläche" ; + Text [ ENGLISH ] = "Button type" ; +}; +String RID_STR_ENUM_PUSHBUTTONTYPE +{ + Text = "Standard;OK;Cancel;Help" ; + Text [ ENGLISH ] = "Standard;OK;Cancel;Help" ; +}; /************************************************************************* * history: * $Log: not supported by cvs2svn $ + * Revision 1.28 2001/10/12 20:59:02 kz + * Merge SRC641: 12.10.01 - 22:58:19 + * * Revision 1.27 2001/09/28 14:54:09 tbe * #92258# click handler for Basic Scrollbar * diff --git a/extensions/source/propctrlr/formresid.hrc b/extensions/source/propctrlr/formresid.hrc index c5441d052..097ad7459 100644 --- a/extensions/source/propctrlr/formresid.hrc +++ b/extensions/source/propctrlr/formresid.hrc @@ -2,9 +2,9 @@ * * $RCSfile: formresid.hrc,v $ * - * $Revision: 1.11 $ + * $Revision: 1.12 $ * - * last change: $Author: tbe $ $Date: 2001-09-28 14:54:09 $ + * last change: $Author: tbe $ $Date: 2001-10-19 12:58:51 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -242,6 +242,13 @@ #define RID_STR_ENUM_ORIENTATION ( RID_FORMBROWSER_START + 180 ) #define RID_STR_ENUM_SIDE_ALIGN ( RID_FORMBROWSER_START + 181 ) #define RID_STR_EVT_ADJUSTMENTVALUECHANGED ( RID_FORMBROWSER_START + 182 ) +#define RID_STR_DATE ( RID_FORMBROWSER_START + 183 ) +#define RID_STR_STATE ( RID_FORMBROWSER_START + 184 ) +#define RID_STR_TIME ( RID_FORMBROWSER_START + 185 ) +#define RID_STR_SCALEIMAGE ( RID_FORMBROWSER_START + 186 ) +#define RID_STR_PUSHBUTTONTYPE ( RID_FORMBROWSER_START + 187 ) +#define RID_STR_ENUM_PUSHBUTTONTYPE ( RID_FORMBROWSER_START + 188 ) + // ----------------------------------------------------------------------- // - dialogs @@ -285,6 +292,9 @@ /************************************************************************* * history: * $Log: not supported by cvs2svn $ + * Revision 1.11 2001/09/28 14:54:09 tbe + * #92258# click handler for Basic Scrollbar + * * Revision 1.10 2001/06/06 10:36:52 fs * #86837# +RID_STR_ENUM_SIDE_ALIGN * diff --git a/extensions/source/propctrlr/formstrings.hxx b/extensions/source/propctrlr/formstrings.hxx index c73ed4bfd..9a0727db1 100644 --- a/extensions/source/propctrlr/formstrings.hxx +++ b/extensions/source/propctrlr/formstrings.hxx @@ -2,9 +2,9 @@ * * $RCSfile: formstrings.hxx,v $ * - * $Revision: 1.12 $ + * $Revision: 1.13 $ * - * last change: $Author: fs $ $Date: 2001-08-07 08:46:10 $ + * last change: $Author: tbe $ $Date: 2001-10-19 12:58:51 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -200,6 +200,11 @@ namespace pcr PCR_CONSTASCII_STRING( PROPERTY_ORIENTATION, "Orientation"); PCR_CONSTASCII_STRING( PROPERTY_IMAGEALIGN, "ImageAlign"); PCR_CONSTASCII_STRING( PROPERTY_ACTIVE_CONNECTION, "ActiveConnection"); + PCR_CONSTASCII_STRING( PROPERTY_DATE, "Date"); + PCR_CONSTASCII_STRING( PROPERTY_STATE, "State"); + PCR_CONSTASCII_STRING( PROPERTY_TIME, "Time"); + PCR_CONSTASCII_STRING( PROPERTY_SCALEIMAGE, "ScaleImage"); + PCR_CONSTASCII_STRING( PROPERTY_PUSHBUTTONTYPE, "PushButtonType"); // services PCR_CONSTASCII_STRING( SERVICE_COMPONENT_GROUPBOX, "com.sun.star.form.component.GroupBox"); @@ -216,6 +221,9 @@ namespace pcr /************************************************************************* * history: * $Log: not supported by cvs2svn $ + * Revision 1.12 2001/08/07 08:46:10 fs + * #87690# +ACTIVE_CONNECTION + * * Revision 1.11 2001/08/06 14:51:43 fs * #87690# PROPERTY_URL/PROPERTY_PASSWORD / removed some unused strings * diff --git a/extensions/source/propctrlr/propcontroller.cxx b/extensions/source/propctrlr/propcontroller.cxx index aa70101af..474a776d4 100644 --- a/extensions/source/propctrlr/propcontroller.cxx +++ b/extensions/source/propctrlr/propcontroller.cxx @@ -2,9 +2,9 @@ * * $RCSfile: propcontroller.cxx,v $ * - * $Revision: 1.15 $ + * $Revision: 1.16 $ * - * last change: $Author: fs $ $Date: 2001-08-06 14:52:59 $ + * last change: $Author: tbe $ $Date: 2001-10-19 12:58:51 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -1043,6 +1043,33 @@ namespace pcr return sReturn; } + //------------------------------------------------------------------------ + sal_Int16 OPropertyBrowserController::getControlType() const + { + sal_Int16 nControlType = CONTROL_TYPE_UNKNOWN; + + if ( m_xIntrospecteeAsProperty.is() ) + { + Reference< XPropertySetInfo > xPropInfo = m_xIntrospecteeAsProperty->getPropertySetInfo(); + + if ( xPropInfo.is() ) + { + if ( xPropInfo->hasPropertyByName( PROPERTY_WIDTH ) && + xPropInfo->hasPropertyByName( PROPERTY_HEIGHT ) && + xPropInfo->hasPropertyByName( PROPERTY_POSITIONX ) && + xPropInfo->hasPropertyByName( PROPERTY_POSITIONY ) ) + { + nControlType = CONTROL_TYPE_DIALOG; + } + else + { + nControlType = CONTROL_TYPE_FORM; + } + } + } + return nControlType; + } + //............................................................................ } // namespace pcr //............................................................................ @@ -1050,6 +1077,9 @@ namespace pcr /************************************************************************* * history: * $Log: not supported by cvs2svn $ + * Revision 1.15 2001/08/06 14:52:59 fs + * #87690# don't set connections on rowsets permanently - instead dispose connections which we created ourself upon switching to a new object + * * Revision 1.14 2001/06/11 11:33:04 fs * #86096# changed the implementation name for consistency * diff --git a/extensions/source/propctrlr/propcontroller.hxx b/extensions/source/propctrlr/propcontroller.hxx index b29487b3f..eac14503b 100644 --- a/extensions/source/propctrlr/propcontroller.hxx +++ b/extensions/source/propctrlr/propcontroller.hxx @@ -2,9 +2,9 @@ * * $RCSfile: propcontroller.hxx,v $ * - * $Revision: 1.12 $ + * $Revision: 1.13 $ * - * last change: $Author: fs $ $Date: 2001-08-13 15:45:53 $ + * last change: $Author: tbe $ $Date: 2001-10-19 12:58:51 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -159,6 +159,11 @@ namespace pcr #define OWN_PROPERTY_ID_INTROSPECTEDOBJECT 0x0010 #define OWN_PROPERTY_ID_CURRENTPAGE 0x0011 + // control types + const sal_Int16 CONTROL_TYPE_UNKNOWN = 0; + const sal_Int16 CONTROL_TYPE_FORM = 1; + const sal_Int16 CONTROL_TYPE_DIALOG = 2; + //======================================================================== //= OPropertyBrowserController //======================================================================== @@ -406,6 +411,8 @@ namespace pcr sal_Bool Construct(Window* _pParentWin); + sal_Int16 getControlType() const; + private: DECL_LINK(OnPageActivation, void*); }; @@ -419,6 +426,9 @@ namespace pcr /************************************************************************* * history: * $Log: not supported by cvs2svn $ + * Revision 1.12 2001/08/13 15:45:53 fs + * #90958# +getRowSet / +ensureRowsetConnection + * * Revision 1.11 2001/08/06 14:52:59 fs * #87690# don't set connections on rowsets permanently - instead dispose connections which we created ourself upon switching to a new object * diff --git a/extensions/source/propctrlr/propertyinfo.hxx b/extensions/source/propctrlr/propertyinfo.hxx index 6dd12a5a0..25877e364 100644 --- a/extensions/source/propctrlr/propertyinfo.hxx +++ b/extensions/source/propctrlr/propertyinfo.hxx @@ -2,9 +2,9 @@ * * $RCSfile: propertyinfo.hxx,v $ * - * $Revision: 1.1 $ + * $Revision: 1.2 $ * - * last change: $Author: fs $ $Date: 2001-01-12 11:31:43 $ + * last change: $Author: tbe $ $Date: 2001-10-19 12:58:51 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -91,6 +91,7 @@ namespace pcr virtual sal_Int32 getPropertyHelpId(sal_Int32 _nId) const = 0; virtual sal_Int16 getPropertyPos(sal_Int32 _nId) const = 0; virtual sal_Bool getPropertyMultiFlag(sal_Int32 _nId) const = 0; + virtual sal_uInt32 getPropertyUIFlags(sal_Int32 _nId) const = 0; virtual ::com::sun::star::uno::Sequence< ::rtl::OUString > getPropertyEnumRepresentations(sal_Int32 _nId) const = 0; }; @@ -104,6 +105,9 @@ namespace pcr /************************************************************************* * history: * $Log: not supported by cvs2svn $ + * Revision 1.1 2001/01/12 11:31:43 fs + * initial checkin - outsourced the form property browser + * * * Revision 1.0 08.01.01 12:02:53 fs ************************************************************************/ |