summaryrefslogtreecommitdiff
path: root/basctl/source/dlged/propbrw.cxx
diff options
context:
space:
mode:
authorThomas Benisch <tbe@openoffice.org>2001-09-17 10:24:18 +0000
committerThomas Benisch <tbe@openoffice.org>2001-09-17 10:24:18 +0000
commit3890a3b711dc55b0e85a9bb663af087f62274d7a (patch)
tree3c6a09f4459c8fa85a380a9a6a7f3f9d7773a104 /basctl/source/dlged/propbrw.cxx
parentec52fd233aa3b30a166e6785fae8da6dfc19c7d5 (diff)
#92082# Add additional controls to the dialog editor
Diffstat (limited to 'basctl/source/dlged/propbrw.cxx')
-rw-r--r--basctl/source/dlged/propbrw.cxx32
1 files changed, 30 insertions, 2 deletions
diff --git a/basctl/source/dlged/propbrw.cxx b/basctl/source/dlged/propbrw.cxx
index 785dae854c87..470d3b57ed53 100644
--- a/basctl/source/dlged/propbrw.cxx
+++ b/basctl/source/dlged/propbrw.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: propbrw.cxx,v $
*
- * $Revision: 1.7 $
+ * $Revision: 1.8 $
*
- * last change: $Author: tbe $ $Date: 2001-08-17 13:57:40 $
+ * last change: $Author: tbe $ $Date: 2001-09-17 11:24:18 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -485,6 +485,34 @@ void PropBrw::implSetNewObject(const Reference< XPropertySet >& _rxObject)
{
nResId = RID_STR_CLASS_FIXEDLINE;
}
+ else if (aServiceName.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM("com.sun.star.awt.UnoControlDateFieldModel") ))
+ {
+ nResId = RID_STR_CLASS_DATEFIELD;
+ }
+ else if (aServiceName.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM("com.sun.star.awt.UnoControlTimeFieldModel") ))
+ {
+ nResId = RID_STR_CLASS_TIMEFIELD;
+ }
+ else if (aServiceName.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM("com.sun.star.awt.UnoControlNumericFieldModel") ))
+ {
+ nResId = RID_STR_CLASS_NUMERICFIELD;
+ }
+ else if (aServiceName.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM("com.sun.star.awt.UnoControlCurrencyFieldModel") ))
+ {
+ nResId = RID_STR_CLASS_CURRENCYFIELD;
+ }
+ else if (aServiceName.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM("com.sun.star.awt.UnoControlFormattedFieldModel") ))
+ {
+ nResId = RID_STR_CLASS_FORMATTEDFIELD;
+ }
+ else if (aServiceName.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM("com.sun.star.awt.UnoControlPatternFieldModel") ))
+ {
+ nResId = RID_STR_CLASS_PATTERNFIELD;
+ }
+ else if (aServiceName.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM("com.sun.star.awt.UnoControlFileControlModel") ))
+ {
+ nResId = RID_STR_CLASS_FILECONTROL;
+ }
else
{
nResId = RID_STR_CLASS_CONTROL;