Lines Matching refs:pMap
45 size_t operator()(const SfxItemPropertyMapEntry* pMap) const { return (size_t)pMap; } in operator ()()
58 SvxItemPropertySet::SvxItemPropertySet( const SfxItemPropertyMapEntry* pMap, SfxItemPool& rItemPool… in DECLARE_LIST()
59 : m_aPropertyMap( pMap ), in DECLARE_LIST()
60 _pMap(pMap), mbConvertTwips(bConvertTwips), mrItemPool( rItemPool ) in DECLARE_LIST()
122 uno::Any SvxItemPropertySet::getPropertyValue( const SfxItemPropertySimpleEntry* pMap, const SfxIte… in getPropertyValue() argument
125 if(!pMap || !pMap->nWID) in getPropertyValue()
130 rSet.GetItemState( pMap->nWID, bSearchInParent, &pItem ); in getPropertyValue()
132 pItem = &(pPool->GetDefaultItem( pMap->nWID )); in getPropertyValue()
134 …const SfxMapUnit eMapUnit = pPool ? pPool->GetMetric((sal_uInt16)pMap->nWID) : SFX_MAPUNIT_100TH_M… in getPropertyValue()
135 sal_uInt8 nMemberId = pMap->nMemberId & (~SFX_METRIC_ITEM); in getPropertyValue()
142 if( pMap->nMemberId & SFX_METRIC_ITEM ) in getPropertyValue()
150 else if ( pMap->pType->getTypeClass() == uno::TypeClass_ENUM && in getPropertyValue()
156 aVal.setValue( &nEnum, *pMap->pType ); in getPropertyValue()
168 void SvxItemPropertySet::setPropertyValue( const SfxItemPropertySimpleEntry* pMap, const uno::Any& … in setPropertyValue() argument
170 if(!pMap || !pMap->nWID) in setPropertyValue()
176 SfxItemState eState = rSet.GetItemState( pMap->nWID, sal_True, &pItem ); in setPropertyValue()
188 pItem = &pPool->GetDefaultItem( pMap->nWID ); in setPropertyValue()
196 …const SfxMapUnit eMapUnit = pPool ? pPool->GetMetric((sal_uInt16)pMap->nWID) : SFX_MAPUNIT_100TH_M… in setPropertyValue()
199 if( (pMap->nMemberId & SFX_METRIC_ITEM) && eMapUnit != SFX_MAPUNIT_100TH_MM ) in setPropertyValue()
207 sal_uInt8 nMemberId = pMap->nMemberId & (~SFX_METRIC_ITEM); in setPropertyValue()
214 rSet.Put( *pNewItem, pMap->nWID ); in setPropertyValue()
221 uno::Any SvxItemPropertySet::getPropertyValue( const SfxItemPropertySimpleEntry* pMap ) const in getPropertyValue()
224 uno::Any* pUsrAny = GetUsrAnyForID(pMap->nWID); in getPropertyValue()
231 const SfxMapUnit eMapUnit = mrItemPool.GetMetric((sal_uInt16)pMap->nWID); in getPropertyValue()
232 sal_uInt8 nMemberId = pMap->nMemberId & (~SFX_METRIC_ITEM); in getPropertyValue()
237 SfxItemSet aSet( mrItemPool, pMap->nWID, pMap->nWID); in getPropertyValue()
239 if( (pMap->nWID < OWN_ATTR_VALUE_START) && (pMap->nWID > OWN_ATTR_VALUE_END ) ) in getPropertyValue()
242 if(mrItemPool.IsWhich(pMap->nWID)) in getPropertyValue()
243 aSet.Put(mrItemPool.GetDefaultItem(pMap->nWID)); in getPropertyValue()
249 SfxItemState eState = aSet.GetItemState( pMap->nWID, sal_True, &pItem ); in getPropertyValue()
253 ((SvxItemPropertySet*)this)->AddUsrAnyForID(aVal, pMap->nWID); in getPropertyValue()
257 if( pMap->nMemberId & SFX_METRIC_ITEM ) in getPropertyValue()
260 if(pMap->nMemberId & SFX_METRIC_ITEM && eMapUnit != SFX_MAPUNIT_100TH_MM) in getPropertyValue()
266 if ( pMap->pType->getTypeClass() == uno::TypeClass_ENUM && in getPropertyValue()
272 aVal.setValue( &nEnum, *pMap->pType ); in getPropertyValue()
280 void SvxItemPropertySet::setPropertyValue( const SfxItemPropertySimpleEntry* pMap, const uno::Any& … in setPropertyValue() argument
282 uno::Any* pUsrAny = GetUsrAnyForID(pMap->nWID); in setPropertyValue()
284 ((SvxItemPropertySet*)this)->AddUsrAnyForID(rVal, pMap->nWID); in setPropertyValue()