Lines Matching refs:pModel
246 …::svl::IUndoManager* pUndoManager = pModel ? static_cast<SdDrawDocument*>(pModel)->GetUndoManager(… in CreatePresObj()
375 if(nDestPageNum < pModel->GetPageCount()) in CreatePresObj()
377 pSdrObj = new SdrPageObj(pModel->GetPage(nDestPageNum)); in CreatePresObj()
416 SfxItemSet aTempAttr( ((SdDrawDocument*) pModel)->GetPool() ); in CreatePresObj()
474 SfxItemSet aTempAttr( ((SdDrawDocument*) pModel)->GetPool() ); in CreatePresObj()
502 SdrLayerAdmin& rLayerAdmin = pModel->GetLayerAdmin(); in CreatePresObj()
526 …SfxStyleSheet* pSheet = (SfxStyleSheet*)pModel->GetStyleSheetPool()->Find(aName, SD_STYLE_FAMILY_M… in CreatePresObj()
539 SfxItemSet aSet( ((SdDrawDocument*) pModel)->GetPool() ); in CreatePresObj()
548 pUndoManager->AddUndoAction(pModel->GetSdrUndoFactory().CreateUndoNewObject(*pSdrObj)); in CreatePresObj()
585 SfxStyleSheetBasePool* pStShPool = pModel->GetStyleSheetPool(); in GetStyleSheetForMasterPageBackground()
634 SfxStyleSheetBasePool* pStShPool = pModel->GetStyleSheetPool(); in GetStyleSheetForPresObj()
676 SfxStyleSheetBasePool* pStShPool = pModel->GetStyleSheetPool(); in getPresentationStyle()
696 if( pModel->isLocked() ) in Changed()
707 …::svl::IUndoManager* pUndoManager = pModel ? static_cast<SdDrawDocument*>(pModel)->GetUndoManager(… in Changed()
720 else if (pModel) in Changed()
724 sal_uInt16 nPageCount = ((SdDrawDocument*) pModel)->GetSdPageCount(mePageKind); in Changed()
728 SdPage* pLoopPage = ((SdDrawDocument*) pModel)->GetSdPage(i, mePageKind); in Changed()
756 …::svl::IUndoManager* pUndoManager = pModel ? static_cast<SdDrawDocument*>(pModel)->GetUndoManager(… in CreateTitleAndLayout()
793 pUndoManager->AddUndoAction(pModel->GetSdrUndoFactory().CreateUndoDeleteObject(*pObj)); in CreateTitleAndLayout()
1017 if(nDestPageNum < pModel->GetPageCount()) in GetTitleRect()
1019 pRefPage = pModel->GetPage(nDestPageNum); in GetTitleRect()
1545 …::svl::IUndoManager* pUndoManager = pModel ? static_cast<SdDrawDocument*>(pModel)->GetUndoManager(… in SetAutoLayout()
1594 pUndoManager->AddUndoAction(pModel->GetSdrUndoFactory().CreateUndoDeleteObject(*pObj)); in SetAutoLayout()
1628 ((SdDrawDocument*) pModel)->InsertObject(pObj, this); in NbcInsertObject()
1689 if( pModel ) in onRemoveObject()
1690 static_cast<SdDrawDocument*>(pModel)->RemoveObject(pObject, this); in onRemoveObject()
1956 …SfxStyleSheet* pOutlineSheet = (SfxStyleSheet*)((SdDrawDocument*) pModel)->GetStyleSheetPool()->Fi… in ScaleObjects()
2076 SdDrawDocument* pModel = static_cast< SdDrawDocument* >( rPage.GetModel() ); in convertPresentationObjectImpl() local
2077 DBG_ASSERT( pModel, "sd::convertPresentationObjectImpl(), no model on page!" ); in convertPresentationObjectImpl()
2078 if( !pModel || !pSourceObj ) in convertPresentationObjectImpl()
2081 …::svl::IUndoManager* pUndoManager = pModel ? static_cast<SdDrawDocument*>(pModel)->GetUndoManager(… in convertPresentationObjectImpl()
2095 ::sd::Outliner* pOutl = pModel->GetInternalOutliner( sal_True ); in convertPresentationObjectImpl()
2109 …SfxStyleSheet* pSheet = static_cast<SfxStyleSheet*>( pModel->GetStyleSheetPool()->Find(aName, SD_S… in convertPresentationObjectImpl()
2126 SfxItemSet aSet(pModel->GetPool(), EE_PARA_LRSPACE, EE_PARA_LRSPACE ); in convertPresentationObjectImpl()
2135 pUndoManager->AddUndoAction( pModel->GetSdrUndoFactory().CreateUndoDeleteObject(*pSourceObj) ); in convertPresentationObjectImpl()
2155 ::sd::Outliner* pOutl = pModel->GetInternalOutliner(); in convertPresentationObjectImpl()
2164 SfxItemSet aSet(pModel->GetPool(), EE_PARA_LRSPACE, EE_PARA_LRSPACE ); in convertPresentationObjectImpl()
2181 pUndoManager->AddUndoAction(pModel->GetSdrUndoFactory().CreateUndoDeleteObject(*pSourceObj)); in convertPresentationObjectImpl()
2221 …::svl::IUndoManager* pUndoManager = pModel ? static_cast<SdDrawDocument*>(pModel)->GetUndoManager(… in InsertAutoLayoutShape()
2236 pUndoManager->AddUndoAction( pModel->GetSdrUndoFactory().CreateUndoGeoObject( *pObj ) ); in InsertAutoLayoutShape()
2237 …pUndoManager->AddUndoAction( pModel->GetSdrUndoFactory().CreateUndoAttrObject( *pObj, sal_True, sa… in InsertAutoLayoutShape()
2266 SfxItemSet aTempAttr( ((SdDrawDocument*) pModel)->GetPool() ); in InsertAutoLayoutShape()
2274 SfxItemSet aAttr( ((SdDrawDocument*) pModel)->GetPool() ); in InsertAutoLayoutShape()
2283 SfxItemSet aTempAttr( ((SdDrawDocument*) pModel)->GetPool() ); in InsertAutoLayoutShape()
2291 SfxItemSet aAttr( ((SdDrawDocument*) pModel)->GetPool() ); in InsertAutoLayoutShape()
2731 static_cast<SdDrawDocument*>(pModel)->UpdatePageRelativeURLs(aOldName, rName); in SetName()