Lines Matching refs:pDocShell

231 			::sd::DrawDocShell* pDocShell = PTR_CAST(::sd::DrawDocShell, SfxObjectShell::Current());  in Execute()
232 if (pDocShell) in Execute()
234 ::sd::ViewShell* pViewShell = pDocShell->GetViewShell(); in Execute()
362 ::sd::DrawDocShell* pDocShell = PTR_CAST(::sd::DrawDocShell, SfxObjectShell::Current()); in GetState()
363 if (pDocShell) in GetState()
365 ::sd::ViewShell* pViewShell = pDocShell->GetViewShell(); in GetState()
439 ::sd::DrawDocShell* pDocShell = PTR_CAST(::sd::DrawDocShell, SfxObjectShell::Current()); in GetState()
440 if( pDocShell ) // Impress or Draw ? in GetState()
442 ::sd::ViewShell* pViewShell = pDocShell->GetViewShell(); in GetState()
444 if( pViewShell && (pDocShell->GetDocumentType() == DOCUMENT_TYPE_IMPRESS) ) in GetState()
466 … ::sd::DrawDocShell* pDocShell = PTR_CAST(::sd::DrawDocShell, SfxObjectShell::Current()); in IMPL_LINK()
467 if( pDocShell ) // Impress or Draw ? in IMPL_LINK()
469 ::sd::ViewShell* pViewShell = pDocShell->GetViewShell(); in IMPL_LINK()
472 if( pViewShell && (pDocShell->GetDocumentType() == DOCUMENT_TYPE_IMPRESS) ) in IMPL_LINK()
538 SfxObjectShell* pDocShell = xDocShell; in CreateFromTemplate() local
544 else if( pDocShell ) in CreateFromTemplate()
546 SfxViewFrame* pViewFrame = SfxViewFrame::LoadDocumentIntoFrame( *pDocShell, i_rFrame ); in CreateFromTemplate()
690 ::sd::DrawDocShell* pDocShell = in ExecuteNewDocument()
692 SdDrawDocument* pDoc = pDocShell->GetDoc(); in ExecuteNewDocument()
709 ChangeMedium( pDocShell, pViewFrame, pPilotDlg->GetOutputMedium() ); in ExecuteNewDocument()
726 pDocShell->GetModel(), uno::UNO_QUERY_THROW); in ExecuteNewDocument()
737 pDocShell->SetUseUserData(sal_True); in ExecuteNewDocument()
740 pDocShell->ClearUndoBuffer(); in ExecuteNewDocument()
779 void SdModule::ChangeMedium( ::sd::DrawDocShell* pDocShell, SfxViewFrame* pViewFrame, const sal_Int… in ChangeMedium() argument
781 if( !pDocShell ) in ChangeMedium()
784 SdDrawDocument* pDoc = pDocShell->GetDoc(); in ChangeMedium()
799 SfxPrinter* pPrinter = pDocShell->GetPrinter(sal_True); in ChangeMedium()
1044 ::sd::DrawDocShell* pDocShell = mrDocument.GetDocSh(); in operator ()()
1045 if( pDocShell ) in operator ()()
1046 pDocShell->ClearUndoBuffer(); in operator ()()