Lines Matching refs:xWorkDocSh

1067                         SfxObjectShellLock xWorkDocSh( new SwDocShell( SFX_CREATE_MODE_INTERNAL ));  in MergeMailFiles()  local
1071 if (xWorkDocSh->DoLoad(pWorkMed)) in MergeMailFiles()
1074 … SfxViewFrame* pWorkFrame = SfxViewFrame::LoadHiddenDocument( *xWorkDocSh, 0 ); in MergeMailFiles()
1079 SwDoc* pWorkDoc = ((SwDocShell*)(&xWorkDocSh))->GetDoc(); in MergeMailFiles()
1082 …fxEventHint(SW_EVENT_FIELD_MERGE, SwDocShell::GetEventName(STR_SW_EVENT_FIELD_MERGE), xWorkDocSh)); in MergeMailFiles()
1084 …NT_FIELD_MERGE_FINISHED, SwDocShell::GetEventName(STR_SW_EVENT_FIELD_MERGE_FINISHED), xWorkDocSh)); in MergeMailFiles()
1094 text::MailMergeEvent aEvt( xRef, xWorkDocSh->GetModel() ); in MergeMailFiles()
1181 xWorkDocSh->DoSaveAs(*pDstMed); in MergeMailFiles()
1182 xWorkDocSh->DoSaveCompleted(pDstMed); in MergeMailFiles()
1183 if( xWorkDocSh->GetError() ) in MergeMailFiles()
1186 ErrorHandler::HandleError( xWorkDocSh->GetError() ); in MergeMailFiles()
1271 xWorkDocSh->DoClose(); in MergeMailFiles()
2581 SfxObjectShellLock xWorkDocSh( new SwDocShell( SFX_CREATE_MODE_INTERNAL )); in ExecuteFormLetter() local
2584 if( xWorkDocSh->DoLoad(pWorkMed) ) in ExecuteFormLetter()
2586 SfxViewFrame *pFrame = SfxViewFrame::LoadHiddenDocument( *xWorkDocSh, 0 ); in ExecuteFormLetter()
2607 … uno::Reference< util::XCloseable > xClose( xWorkDocSh->GetModel(), uno::UNO_QUERY ); in ExecuteFormLetter()
2931 SfxObjectShellLock xWorkDocSh; in MergeDocuments() local
2937 xWorkDocSh = pWorkModel->GetDocShell(); in MergeDocuments()
2941 xWorkDocSh = rSourceView.GetDocShell()->GetDoc()->CreateCopy(true); in MergeDocuments()
2944 …pWorkView = static_cast< SwView* >( SfxViewFrame::LoadHiddenDocument( *xWorkDocSh, 0 )->GetViewShe… in MergeDocuments()