Lines Matching refs:pDocShell

229 			::sd::DrawDocShell* pDocShell = PTR_CAST(::sd::DrawDocShell, SfxObjectShell::Current());  in Execute()
230 if (pDocShell) in Execute()
232 ::sd::ViewShell* pViewShell = pDocShell->GetViewShell(); in Execute()
358 ::sd::DrawDocShell* pDocShell = PTR_CAST(::sd::DrawDocShell, SfxObjectShell::Current()); in GetState()
359 if (pDocShell) in GetState()
361 ::sd::ViewShell* pViewShell = pDocShell->GetViewShell(); in GetState()
435 ::sd::DrawDocShell* pDocShell = PTR_CAST(::sd::DrawDocShell, SfxObjectShell::Current()); in GetState()
436 if( pDocShell ) // Impress or Draw? in GetState()
438 ::sd::ViewShell* pViewShell = pDocShell->GetViewShell(); in GetState()
440 if( pViewShell && (pDocShell->GetDocumentType() == DOCUMENT_TYPE_IMPRESS) ) in GetState()
462 ::sd::DrawDocShell* pDocShell = PTR_CAST(::sd::DrawDocShell, SfxObjectShell::Current()); in IMPL_LINK()
463 if( pDocShell ) // Impress or Draw? in IMPL_LINK()
465 ::sd::ViewShell* pViewShell = pDocShell->GetViewShell(); in IMPL_LINK()
468 if( pViewShell && (pDocShell->GetDocumentType() == DOCUMENT_TYPE_IMPRESS) ) in IMPL_LINK()
534 SfxObjectShell* pDocShell = xDocShell; in CreateFromTemplate() local
540 else if( pDocShell ) in CreateFromTemplate()
542 SfxViewFrame* pViewFrame = SfxViewFrame::LoadDocumentIntoFrame( *pDocShell, i_rFrame ); in CreateFromTemplate()
686 ::sd::DrawDocShell* pDocShell = in ExecuteNewDocument()
688 SdDrawDocument* pDoc = pDocShell->GetDoc(); in ExecuteNewDocument()
705 ChangeMedium( pDocShell, pViewFrame, pPilotDlg->GetOutputMedium() ); in ExecuteNewDocument()
722 pDocShell->GetModel(), uno::UNO_QUERY_THROW); in ExecuteNewDocument()
733 pDocShell->SetUseUserData(sal_True); in ExecuteNewDocument()
736 pDocShell->ClearUndoBuffer(); in ExecuteNewDocument()
775 void SdModule::ChangeMedium( ::sd::DrawDocShell* pDocShell, SfxViewFrame* pViewFrame, const sal_Int… in ChangeMedium() argument
777 if( !pDocShell ) in ChangeMedium()
780 SdDrawDocument* pDoc = pDocShell->GetDoc(); in ChangeMedium()
795 SfxPrinter* pPrinter = pDocShell->GetPrinter(sal_True); in ChangeMedium()
1060 ::sd::DrawDocShell* pDocShell = mrDocument.GetDocSh(); in operator ()()
1061 if( pDocShell ) in operator ()()
1062 pDocShell->ClearUndoBuffer(); in operator ()()