From bbb80dfeb6e3a5660ea1657080099da85845691c Mon Sep 17 00:00:00 2001
From: Jens-Heiner Rechtien
Date: Mon, 30 Jun 2003 14:52:45 +0000
Subject: [PATCH] INTEGRATION: CWS aig04 (1.149.48); FILE MERGED 2003/06/20
14:33:01 os 1.149.48.3: RESYNC: (1.149-1.150); FILE MERGED 2003/06/17
09:26:16 hbrinkm 1.149.48.2: #108791# added a name to the dropdown field
2003/06/12 12:41:47 hbrinkm 1.149.48.1: #108791# new: SwDropDownField{Type}
---
sw/source/core/unocore/unomap.cxx | 16 ++++++++++++++--
1 file changed, 14 insertions(+), 2 deletions(-)
diff --git a/sw/source/core/unocore/unomap.cxx b/sw/source/core/unocore/unomap.cxx
index a868046961d8..df2c0717486a 100644
--- a/sw/source/core/unocore/unomap.cxx
+++ b/sw/source/core/unocore/unomap.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: unomap.cxx,v $
*
- * $Revision: 1.151 $
+ * $Revision: 1.152 $
*
- * last change: $Author: vg $ $Date: 2003-06-20 09:37:18 $
+ * last change: $Author: hr $ $Date: 2003-06-30 15:52:45 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -1961,6 +1961,18 @@ const SfxItemPropertyMap* SwUnoPropertyMapProvider::GetPropertyMap(sal_uInt16 nP
aMapArr[nPropertyId] = aDDEFieldPropMap;
}
break;
+ case PROPERTY_MAP_FLDTYP_DROPDOWN :
+ {
+ static SfxItemPropertyMap aDropDownMap [] =
+ {
+ {SW_PROP_NMID(UNO_NAME_ITEMS), FIELD_PROP_STRINGS, CPPU_E2T(CPPUTYPE_OUSTRINGS), PROPERTY_NONE, 0},
+ {SW_PROP_NMID(UNO_NAME_SELITEM), FIELD_PROP_PAR1, CPPU_E2T(CPPUTYPE_OUSTRING), PROPERTY_NONE, 0},
+ {SW_PROP_NMID(UNO_NAME_NAME), FIELD_PROP_PAR2, CPPU_E2T(CPPUTYPE_OUSTRING), PROPERTY_NONE, 0},
+ {0,0,0,0}
+ };
+ aMapArr[nPropertyId] = aDropDownMap;
+ }
+ break;
case PROPERTY_MAP_FLDTYP_HIDDEN_PARA :
{
static SfxItemPropertyMap aHiddenParaFieldPropMap [] =