Lines Matching refs:nWID
52 sal_uInt16 nWID; member
72 uno::Any* SvxItemPropertySet::GetUsrAnyForID(sal_uInt16 nWID) const in GetUsrAnyForID()
79 if(pActual->nWID == nWID) in GetUsrAnyForID()
89 void SvxItemPropertySet::AddUsrAnyForID(const uno::Any& rAny, sal_uInt16 nWID) in AddUsrAnyForID() argument
95 pNew->nWID = nWID; in AddUsrAnyForID()
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()
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()
214 rSet.Put( *pNewItem, pMap->nWID ); in setPropertyValue()
224 uno::Any* pUsrAny = GetUsrAnyForID(pMap->nWID); in getPropertyValue()
231 const SfxMapUnit eMapUnit = mrItemPool.GetMetric((sal_uInt16)pMap->nWID); 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()
282 uno::Any* pUsrAny = GetUsrAnyForID(pMap->nWID); in setPropertyValue()
284 ((SvxItemPropertySet*)this)->AddUsrAnyForID(rVal, pMap->nWID); in setPropertyValue()