/aoo41x/main/sw/source/ui/misc/ |
H A D | glshell.cxx | 270 SwDocShellRef xDocSh; in SV_IMPL_REF() local 283 xDocSh = pDocSh; in SV_IMPL_REF() 292 xDocSh = pDocSh; in SV_IMPL_REF() 300 …pFrame = bShow ? SfxViewFrame::LoadDocument( *xDocSh, nViewId ) : SfxViewFrame::LoadHiddenDocument… in SV_IMPL_REF() 306 xDocSh->GetDoc()->GetIDocumentUndoRedo().DoesUndo(); in SV_IMPL_REF() 307 xDocSh->GetDoc()->GetIDocumentUndoRedo().DoUndo( false ); in SV_IMPL_REF() 309 xDocSh->GetWrtShell()->InsertGlossary( *pGroup, rShortName ); in SV_IMPL_REF() 310 if( !xDocSh->GetDoc()->getPrinter( false ) ) in SV_IMPL_REF() 325 xDocSh->SetTitle( aDocTitle ); in SV_IMPL_REF() 336 xDocSh->GetDoc()->ResetModified(); in SV_IMPL_REF() [all …]
|
/aoo41x/main/sw/source/core/doc/ |
H A D | docglbl.cxx | 253 if( xDocSh->DoInitNew( 0 ) ) in SplitDoc() 255 SwDoc* pDoc = ((SwDocShell*)(&xDocSh))->GetDoc(); in SplitDoc() 319 xDocSh->DoSaveAs( *pTmpMed ); in SplitDoc() 320 xDocSh->DoSaveCompleted( pTmpMed ); in SplitDoc() 323 if( xDocSh->GetError() ) in SplitDoc() 326 xDocSh->DoClose(); in SplitDoc() 604 if( xDocSh->DoInitNew( 0 ) ) in SplitDoc() 670 xDocSh->DoSaveAs( *pTmpMed ); in SplitDoc() 671 xDocSh->DoSaveCompleted( pTmpMed ); in SplitDoc() 674 if( xDocSh->GetError() ) in SplitDoc() [all …]
|
/aoo41x/main/sw/source/core/docnode/ |
H A D | section.cxx | 1269 int lcl_FindDocShell( SfxObjectShellRef& xDocSh, in lcl_FindDocShell() argument 1309 xDocSh = pShell; in lcl_FindDocShell() 1358 xDocSh = (SfxObjectShell*)xLockRef; in lcl_FindDocShell() 1359 if( xDocSh->DoLoad( pMed ) ) in lcl_FindDocShell() 1454 SfxObjectShellRef xDocSh; in DataChanged() local 1459 xDocSh = pDoc->GetDocShell(); in DataChanged() 1482 if( xDocSh->GetMedium() && in DataChanged() 1492 SwDoc* pSrcDoc = ((SwDocShell*)&xDocSh)->GetDoc(); in DataChanged() 1579 if( xDocSh.Is() ) in DataChanged() 1582 xDocSh->DoClose(); in DataChanged() [all …]
|
/aoo41x/main/sw/source/ui/uno/ |
H A D | unoatxt.cxx | 909 if ( xDocSh.Is() ) in implFlushDocument() 911 if ( xDocSh->GetDoc()->IsModified () ) in implFlushDocument() 912 xDocSh->Save(); in implFlushDocument() 917 EndListening( *&xDocSh ); in implFlushDocument() 919 xDocSh->DoClose(); in implFlushDocument() 920 xDocSh.Clear(); in implFlushDocument() 930 if ( &_rBC == &xDocSh ) in Notify() 939 EndListening( *&xDocSh ); in Notify() 941 xDocSh.Clear(); in Notify() 950 xDocSh.Clear(); in Notify() [all …]
|
H A D | unomailmerge.cxx | 424 xDocSh = pDocShell; in SwXMailMerge() 425 xDocSh->DoInitNew( 0 ); in SwXMailMerge() 426 SfxViewFrame *pFrame = SfxViewFrame::LoadHiddenDocument( *xDocSh, 0 ); in SwXMailMerge() 444 DeleteTmpFile_Impl( xModel, xDocSh, aTmpFileName ); in ~SwXMailMerge() 450 if ( eVetoed == CloseModelAndDocSh( xModel, xDocSh ) ) in ~SwXMailMerge() 454 xDocSh = 0; // destroy doc shell in ~SwXMailMerge() 485 SfxObjectShellRef xCurDocSh = xDocSh; // the document in execute() 962 && !LoadFromURL_impl( xModel, xDocSh, aText, sal_True )) in setPropertyValue()
|
H A D | unotxvw.cxx | 905 SfxObjectShellLock xDocSh( pDocSh = new SwDocShell( /*pPrtDoc, */SFX_CREATE_MODE_STANDARD ) ); in BuildTmpSelectionDoc() local 906 xDocSh->DoInitNew( 0 ); in BuildTmpSelectionDoc() 911 SfxViewFrame* pDocFrame = SfxViewFrame::LoadHiddenDocument( *xDocSh, 0 ); in BuildTmpSelectionDoc() 932 return xDocSh; in BuildTmpSelectionDoc() 949 SfxObjectShellLock& xDocSh = m_pView->GetTmpSelectionDoc(); in NotifySelChanged() local 950 SwDoc* pDoc = static_cast< SwDocShell* >(&xDocSh)->GetDoc(); in NotifySelChanged()
|
H A D | unotxdoc.cxx | 2610 SfxObjectShellLock xDocSh(((SwView*)rpView)->GetOrCreateTmpSelectionDoc()); in GetRenderDoc() local 2611 if (xDocSh.Is()) in GetRenderDoc() 2613 pDoc = ((SwDocShell*)&xDocSh)->GetDoc(); in GetRenderDoc()
|
/aoo41x/main/sw/source/ui/app/ |
H A D | appenv.cxx | 184 SfxObjectShellLock xDocSh( new SwDocShell( SFX_CREATE_MODE_STANDARD ) ); in InsertEnv() local 185 xDocSh->DoInitNew( 0 ); in InsertEnv() 186 pFrame = SfxViewFrame::LoadHiddenDocument( *xDocSh, 0 ); in InsertEnv() 193 xDocSh->SetTitle( aTmp ); in InsertEnv() 255 SwWait aWait( (SwDocShell&)*xDocSh, true ); in InsertEnv() 287 xDocSh->DoClose(); in InsertEnv() 527 xDocSh->DoClose(); in InsertEnv()
|
H A D | applab.cxx | 204 SfxObjectShellLock xDocSh( new SwDocShell( SFX_CREATE_MODE_STANDARD)); in InsertLab() local 205 xDocSh->DoInitNew( 0 ); in InsertLab() 211 SwDocShell *pDocSh = (SwDocShell*)(&*xDocSh); in InsertLab() 215 SfxViewFrame* pViewFrame = SfxViewFrame::DisplayNewDocument( *xDocSh, rReq ); in InsertLab() 232 xDocSh->SetTitle( aTmp ); in InsertLab() 242 SwWait aWait( (SwDocShell&)*xDocSh, true ); in InsertLab()
|
H A D | apphdl.cxx | 965 SfxObjectShellLock xDocSh( new SwDocShell( SFX_CREATE_MODE_STANDARD) ); in NewXForms() local 966 xDocSh->DoInitNew( 0 ); in NewXForms() 969 static_cast<SwDocShell*>( &xDocSh )->GetDoc()->initXForms( true ); in NewXForms() 972 SfxViewFrame::DisplayNewDocument( *xDocSh, rReq ); in NewXForms()
|
H A D | docsh2.cxx | 1030 SfxObjectShellLock xDocSh( new SwDocShell( pSmryDoc, SFX_CREATE_MODE_STANDARD)); in Execute() local 1031 xDocSh->DoInitNew( 0 ); in Execute() 1084 SfxViewFrame *pFrame = SfxViewFrame::LoadDocument( *xDocSh, 0 ); in Execute() 1090 xDocSh->SetTitle( aTmp ); in Execute()
|
H A D | docsh.cxx | 494 SfxObjectShellLock xDocSh = in SaveAs() local 497 xDocSh->SetupStorage( xStor, SotStorage::GetVersion( xStor ), sal_False ); in SaveAs() 498 xDocSh->DoClose(); in SaveAs()
|
/aoo41x/main/sw/source/filter/ww8/ |
H A D | ww8glsy.cxx | 218 SfxObjectShellLock xDocSh(new SwDocShell(SFX_CREATE_MODE_INTERNAL)); in Load() local 219 if (xDocSh->DoInitNew(0)) in Load() 221 SwDoc *pD = ((SwDocShell*)(&xDocSh))->GetDoc(); in Load() 241 xDocSh->DoClose(); in Load()
|
/aoo41x/main/sw/source/ui/uiview/ |
H A D | view2.cxx | 2196 SfxObjectShellRef xDocSh; in InsertMedium() local 2199 extern int lcl_FindDocShell( SfxObjectShellRef& xDocSh, SfxObjectShellLock& xLockRef, in InsertMedium() 2205 int nRet = lcl_FindDocShell( xDocSh, xLockRef, pMedium->GetName(), aEmptyStr, in InsertMedium() 2215 nFound = pWrtShell->CompareDoc( *((SwDocShell*)&xDocSh)->GetDoc() ); in InsertMedium() 2217 nFound = pWrtShell->MergeDoc( *((SwDocShell*)&xDocSh)->GetDoc() ); in InsertMedium() 2227 if( 2 == nRet && xDocSh.Is() ) in InsertMedium() 2228 xDocSh->DoClose(); in InsertMedium()
|
/aoo41x/main/sw/inc/ |
H A D | unomailmerge.hxx | 107 SfxObjectShellRef xDocSh; // the document member in SwXMailMerge
|
H A D | unoatxt.hxx | 191 SwDocShellRef xDocSh; member in SwXAutoTextEntry
|
/aoo41x/main/sw/source/filter/basflt/ |
H A D | shellio.cxx | 534 SfxObjectShellLock xDocSh = pDocSh; in GetTemplateDoc() local
|
/aoo41x/main/sw/source/ui/dbui/ |
H A D | dbmgr.cxx | 3054 SfxObjectShellRef xDocSh(pWorkView->GetDocShell()); in MergeDocuments() local 3055 xDocSh->DoClose(); in MergeDocuments()
|