Lines Matching refs:mpModel
212 , mpModel(NULL) in DBG_NAME()
227 , mpModel(NULL) in SvxShape()
242 , mpModel(NULL) in SvxShape()
256 if ( mpModel ) in ~SvxShape()
257 EndListening( *mpModel ); in ~SvxShape()
418 mpModel = mpObj->GetModel(); in impl_initFromSdrObject()
423 if(mpModel) in impl_initFromSdrObject()
425 StartListening( *mpModel ); in impl_initFromSdrObject()
544 mpModel = pNewModel; in ChangeModel()
555 if(mpModel) in ForceMetricToItemPoolMetric()
557 SfxMapUnit eMapUnit = mpModel->GetItemPool().GetMetric(0); in ForceMetricToItemPoolMetric()
582 if(mpModel) in ForceMetricToItemPoolMetric()
584 SfxMapUnit eMapUnit = mpModel->GetItemPool().GetMetric(0); in ForceMetricToItemPoolMetric()
613 if(mpModel) in ForceMetricTo100th_mm()
615 eMapUnit = mpModel->GetItemPool().GetMetric(0); in ForceMetricTo100th_mm()
641 if(mpModel) in ForceMetricTo100th_mm()
643 eMapUnit = mpModel->GetItemPool().GetMetric(0); in ForceMetricTo100th_mm()
717 if(mpObj.is() && rPropSet.AreThereOwnUsrAnys() && mpModel) in ObtainSettingsFromPropertySet()
719 SfxItemSet aSet( mpModel->GetItemPool(), SDRATTR_START, SDRATTR_END, 0); in ObtainSettingsFromPropertySet()
736 if( !mpObj.is() || mpModel == NULL || !mpObj->IsInserted() || NULL == mpObj->GetPage() ) in GetBitmap()
1160 mpModel = NULL; in Notify()
1244 if( mpObj.is() && mpModel) in getPosition()
1250 if( mpModel->IsWriter() ) in getPosition()
1267 if( mpObj.is() && mpModel ) in setPosition()
1278 if( mpModel->IsWriter() ) in setPosition()
1285 mpModel->SetChanged(); in setPosition()
1297 if( mpObj.is() && mpModel) in getSize()
1314 if( mpObj.is() && mpModel) in setSize()
1320 const bool b3DConstruction(dynamic_cast< E3dObject* >(mpObj.get()) && mpModel->isLocked()); in setSize()
1354 mpModel->SetChanged(); in setSize()
1467 if( mpModel ) in dispose()
1469 EndListening( *mpModel ); in dispose()
1470 mpModel = NULL; in dispose()
1546 SfxItemSet aSet( mpModel->GetItemPool(), (sal_uInt16)nWID, (sal_uInt16)nWID ); in SetFillAttribute()
1548 if( SetFillAttribute( nWID, rName, aSet, mpModel ) ) in SetFillAttribute()
1769 if( mpObj.is() && mpModel ) in _setPropertyValue()
1777 mpModel->SetChanged(); in _setPropertyValue()
1807 pSet = new SfxItemSet( mpModel->GetItemPool(), pMap->nWID, pMap->nWID); in _setPropertyValue()
1827 if(mpModel->GetItemPool().IsWhich(pMap->nWID)) in _setPropertyValue()
1828 pSet->Put(mpModel->GetItemPool().GetDefaultItem(pMap->nWID)); in _setPropertyValue()
1895 if( mpObj.is() && mpModel ) in _getPropertyValue()
1905 SfxItemSet aSet( mpModel->GetItemPool(), pMap->nWID, pMap->nWID); in _getPropertyValue()
1923 if(mpModel->GetItemPool().IsWhich(pMap->nWID)) in _getPropertyValue()
1924 aSet.Put(mpModel->GetItemPool().GetDefaultItem(pMap->nWID)); in _getPropertyValue()
2268 if( mpModel->IsWriter() ) in setPropertyValueImpl()
2395 if( mpModel->IsWriter() ) in setPropertyValueImpl()
2438 if( mpModel->IsWriter() ) in setPropertyValueImpl()
2463 if( mpModel->IsWriter() ) in setPropertyValueImpl()
2494 SdrLayer* pLayer = mpModel->GetLayerAdmin().GetLayerPerID((unsigned char)nLayerId); in setPropertyValueImpl()
2509 const SdrLayer* pLayer=mpModel->GetLayerAdmin().GetLayer(aLayerName, sal_True); in setPropertyValueImpl()
2704 if( mpModel->IsWriter() ) in getPropertyValueImpl()
2866 if( mpModel->IsWriter() ) in getPropertyValueImpl()
2884 if( mpModel->IsWriter() ) in getPropertyValueImpl()
2909 if( mpModel->IsWriter() ) in getPropertyValueImpl()
2950 SdrLayer* pLayer = mpModel->GetLayerAdmin().GetLayerPerID(mpObj->GetLayer()); in getPropertyValueImpl()
3180 if( !mpObj.is() || mpModel == NULL || pProperty == NULL ) in _setPropertyToDefault()
3188 mpModel->SetChanged(); in _setPropertyToDefault()
3213 if( !mpObj.is() || pMap == NULL || mpModel == NULL ) in _getPropertyDefault()
3223 if(!mpModel->GetItemPool().IsWhich(pMap->nWID)) in _getPropertyDefault()
3226 SfxItemSet aSet( mpModel->GetItemPool(), pMap->nWID, pMap->nWID); in _getPropertyDefault()
3227 aSet.Put(mpModel->GetItemPool().GetDefaultItem(pMap->nWID)); in _getPropertyDefault()
3258 mpModel->SetChanged(); in setAllPropertiesToDefault()