Lines Matching refs:pPool

109 void SvxUnoDrawPool::getAny( SfxItemPool* pPool, const comphelper::PropertyMapEntry* pEntry, uno::A…  in getAny()  argument
116 …XFillBmpStretchItem* pStretchItem = (XFillBmpStretchItem*)&pPool->GetDefaultItem(XATTR_FILLBMP_STR… in getAny()
117 XFillBmpTileItem* pTileItem = (XFillBmpTileItem*)&pPool->GetDefaultItem(XATTR_FILLBMP_TILE); in getAny()
134 …const SfxMapUnit eMapUnit = pPool ? pPool->GetMetric((sal_uInt16)pEntry->mnHandle) : SFX_MAPUNIT_1… in getAny()
143pPool->GetDefaultItem( pPool->GetWhich( (sal_uInt16)pEntry->mnHandle ) ).QueryValue( rValue, nMemb… in getAny()
149 const SfxMapUnit eMapUnit = pPool->GetMetric((sal_uInt16)pEntry->mnHandle); in getAny()
164 void SvxUnoDrawPool::putAny( SfxItemPool* pPool, const comphelper::PropertyMapEntry* pEntry, const … in putAny() argument
169 const SfxMapUnit eMapUnit = pPool->GetMetric((sal_uInt16)pEntry->mnHandle); in putAny()
178 const sal_uInt16 nWhich = pPool->GetWhich( (sal_uInt16)pEntry->mnHandle ); in putAny()
194 pPool->SetPoolDefaultItem( XFillBmpStretchItem( eMode == drawing::BitmapMode_STRETCH ) ); in putAny()
195 pPool->SetPoolDefaultItem( XFillBmpTileItem( eMode == drawing::BitmapMode_REPEAT ) ); in putAny()
202 ::std::auto_ptr<SfxPoolItem> pNewItem( pPool->GetDefaultItem( nWhich ).Clone() ); in putAny()
204 if( !pPool || (pPool->GetMetric(nWhich) == SFX_MAPUNIT_100TH_MM) ) in putAny()
210 pPool->SetPoolDefaultItem( *pNewItem ); in putAny()
220 SfxItemPool* pPool = getModelPool( sal_False ); in _setPropertyValues() local
222 DBG_ASSERT( pPool, "I need a SfxItemPool!" ); in _setPropertyValues()
223 if( NULL == pPool ) in _setPropertyValues()
227 putAny( pPool, *ppEntries++, *pValues++ ); in _setPropertyValues()
235 SfxItemPool* pPool = getModelPool( sal_True ); in _getPropertyValues() local
237 DBG_ASSERT( pPool, "I need a SfxItemPool!" ); in _getPropertyValues()
238 if( NULL == pPool ) in _getPropertyValues()
242 getAny( pPool, *ppEntries++, *pValue++ ); in _getPropertyValues()
250 SfxItemPool* pPool = getModelPool( sal_True ); in _getPropertyStates() local
252 if( pPool && pPool != mpDefaultsPool ) in _getPropertyStates()
259 const sal_uInt16 nWhich = pPool->GetWhich( ((sal_uInt16)(*ppEntries)->mnHandle) ); in _getPropertyStates()
267 if ( IsStaticDefaultItem( &(pPool->GetDefaultItem( XATTR_FILLBMP_STRETCH )) ) || in _getPropertyStates()
268 IsStaticDefaultItem( &(pPool->GetDefaultItem( XATTR_FILLBMP_TILE )) ) ) in _getPropertyStates()
282 const SfxPoolItem& r1 = pPool->GetDefaultItem( nWhich ); in _getPropertyStates()
313 SfxItemPool* pPool = getModelPool( sal_True ); in _setPropertyToDefault() local
318 const sal_uInt16 nWhich = pPool->GetWhich( (sal_uInt16)pEntry->mnHandle ); in _setPropertyToDefault()
319 if ( pPool && pPool != mpDefaultsPool ) in _setPropertyToDefault()
323 pPool->ResetPoolDefaultItem( nWhich ); in _setPropertyToDefault()
335 SfxItemPool* pPool = getModelPool( sal_True ); in _getPropertyDefault() local
336 const sal_uInt16 nWhich = pPool->GetWhich( (sal_uInt16)pEntry->mnHandle ); in _getPropertyDefault()
337 const SfxPoolItem *pItem = pPool->GetPoolDefaultItem ( nWhich ); in _getPropertyDefault()