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}
This commit is contained in:
Jens-Heiner Rechtien
2003-06-30 14:52:45 +00:00
parent b186a69049
commit bbb80dfeb6

View File

@@ -2,9 +2,9 @@
* *
* $RCSfile: unomap.cxx,v $ * $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 * The Contents of this file are made available subject to the terms of
* either of the following licenses * either of the following licenses
@@ -1961,6 +1961,18 @@ const SfxItemPropertyMap* SwUnoPropertyMapProvider::GetPropertyMap(sal_uInt16 nP
aMapArr[nPropertyId] = aDDEFieldPropMap; aMapArr[nPropertyId] = aDDEFieldPropMap;
} }
break; 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 : case PROPERTY_MAP_FLDTYP_HIDDEN_PARA :
{ {
static SfxItemPropertyMap aHiddenParaFieldPropMap [] = static SfxItemPropertyMap aHiddenParaFieldPropMap [] =