Lines Matching refs:pViewFrame

309 					SfxViewFrame* pViewFrame = pViewSh->GetViewFrame();  in OutlineToImpress()  local
315 = dynamic_cast< ::sd::ViewShellBase*>(pViewFrame->GetViewShell()); in OutlineToImpress()
483 void SdModule::AddSummaryPage (SfxViewFrame* pViewFrame, SdDrawDocument* pDocument) in AddSummaryPage() argument
485 if( !pViewFrame || !pViewFrame->GetDispatcher() || !pDocument ) in AddSummaryPage()
488 pViewFrame->GetDispatcher()->Execute(SID_SUMMARY_PAGE, in AddSummaryPage()
542 SfxViewFrame* pViewFrame = SfxViewFrame::LoadDocumentIntoFrame( *pDocShell, i_rFrame ); in CreateFromTemplate() local
543 …OSL_ENSURE( pViewFrame, "SdModule::CreateFromTemplate: no view frame - was the document really loa… in CreateFromTemplate()
544 pFrame = pViewFrame ? &pViewFrame->GetFrame() : NULL; in CreateFromTemplate()
562 SfxViewFrame* pViewFrame = NULL; in ExecuteNewDocument() local
673 pViewFrame = SfxViewFrame::LoadDocumentIntoFrame( *pShell, xTargetFrame ); in ExecuteNewDocument()
674 DBG_ASSERT( pViewFrame, "no ViewFrame!!" ); in ExecuteNewDocument()
675 pFrame = pViewFrame ? &pViewFrame->GetFrame() : NULL; in ExecuteNewDocument()
684 if( pShell && pViewFrame ) in ExecuteNewDocument()
692 pViewFrame); in ExecuteNewDocument()
705 ChangeMedium( pDocShell, pViewFrame, pPilotDlg->GetOutputMedium() ); in ExecuteNewDocument()
708 AddSummaryPage(pViewFrame, pDoc); in ExecuteNewDocument()
711 if((aDocPath.Len() == 0) && pViewFrame && pViewFrame->GetDispatcher()) in ExecuteNewDocument()
715 pViewFrame->GetDispatcher()->Execute(SID_MODIFYPAGE, in ExecuteNewDocument()
767 SfxViewFrame* pViewFrame = SfxViewFrame::LoadDocumentIntoFrame( *pNewDocSh, i_rFrame ); in CreateEmptyDocument() local
768 …OSL_ENSURE( pViewFrame, "SdModule::CreateEmptyDocument: no view frame - was the document really lo… in CreateEmptyDocument()
769 pFrame = pViewFrame ? &pViewFrame->GetFrame() : NULL; in CreateEmptyDocument()
775 void SdModule::ChangeMedium( ::sd::DrawDocShell* pDocShell, SfxViewFrame* pViewFrame, const sal_Int… in ChangeMedium() argument
936 if( (eMedium != OUTPUT_ORIGINAL) && pViewFrame && pViewFrame->GetDispatcher()) in ChangeMedium()
938 pViewFrame->GetDispatcher()->Execute(SID_SIZE_PAGE, SFX_CALLMODE_SYNCHRON | SFX_CALLMODE_RECORD); in ChangeMedium()