Lines Matching refs:pModel
106 sal_uInt16 nMasterCount = pModel->GetMasterPageCount(); in SetPresentationLayout()
112 pMaster = static_cast<SdPage*>(pModel->GetMasterPage(nMaster)); in SetPresentationLayout()
124 pMaster = static_cast<SdPage*>(pModel->GetMasterPage(nMaster - 1)); in SetPresentationLayout()
137 pFoundMaster = static_cast< SdDrawDocument *>(pModel)->GetSdPage( 0, mePageKind ); in SetPresentationLayout()
168 SfxStyleSheetBasePool* pStShPool = pModel->GetStyleSheetPool(); in SetPresentationLayout()
275 SdStyleSheetPool* pSPool = (SdStyleSheetPool*)pModel->GetStyleSheetPool(); in EndListenOutlineText()
320 sfx2::LinkManager* pLinkManager = pModel!=NULL ? pModel->GetLinkManager() : NULL; in ConnectLink()
324 ( (SdDrawDocument*) pModel)->IsNewOrLoadCompleted()) in ConnectLink()
330 ::sd::DrawDocShell* pDocSh = ((SdDrawDocument*) pModel)->GetDocSh(); in ConnectLink()
351 sfx2::LinkManager* pLinkManager = pModel!=NULL ? pModel->GetLinkManager() : NULL; in DisconnectLink()
465 mpItems = new SfxItemSet( pModel->GetItemPool(), SDRATTR_XMLATTRIBUTES, SDRATTR_XMLATTRIBUTES ); in getOrCreateItems()
592 if( pModel && pModel->IsUndoEnabled() ) in addAnnotation()
596 pModel->AddUndo( pAction ); in addAnnotation()
601 if( pModel ) in addAnnotation()
603 pModel->SetChanged(); in addAnnotation()
605 …NotifyDocumentEvent( static_cast< SdDrawDocument* >( pModel ), rtl::OUString( RTL_CONSTASCII_USTRI… in addAnnotation()
611 if( pModel && pModel->IsUndoEnabled() ) in removeAnnotation()
615 pModel->AddUndo( pAction ); in removeAnnotation()
622 if( pModel ) in removeAnnotation()
624 pModel->SetChanged(); in removeAnnotation()
626 …NotifyDocumentEvent( static_cast< SdDrawDocument* >( pModel ), rtl::OUString( RTL_CONSTASCII_USTRI… in removeAnnotation()