| /trunk/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() 314 SfxItemSet *pSet = new SfxItemSet( xDocSh->GetDoc()->GetAttrPool(), in SV_IMPL_REF() 322 xDocSh->GetDoc()->setPrinter( pPrinter, true, true ); in SV_IMPL_REF() [all …]
|
| /trunk/main/sw/source/core/doc/ |
| H A D | docglbl.cxx | 252 SfxObjectShellLock xDocSh( new SwDocShell( SFX_CREATE_MODE_INTERNAL )); in SplitDoc() local 253 if( xDocSh->DoInitNew( 0 ) ) in SplitDoc() 255 SwDoc* pDoc = ((SwDocShell*)(&xDocSh))->GetDoc(); in SplitDoc() 258 ((SwDocShell*)(&xDocSh))->GetModel(), in SplitDoc() 317 SfxViewFrame::LoadHiddenDocument( *xDocSh, 0 ); 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() 603 SfxObjectShellLock xDocSh( new SwDocShell( SFX_CREATE_MODE_INTERNAL )); in SplitDoc() local [all …]
|
| /trunk/main/sw/source/ui/uno/ |
| H A D | unoatxt.cxx | 887 if ( xDocSh.Is() ) in implFlushDocument() 889 if ( xDocSh->GetDoc()->IsModified () ) in implFlushDocument() 890 xDocSh->Save(); in implFlushDocument() 895 EndListening( *&xDocSh ); in implFlushDocument() 897 xDocSh->DoClose(); in implFlushDocument() 898 xDocSh.Clear(); in implFlushDocument() 908 if ( &_rBC == &xDocSh ) in Notify() 917 EndListening( *&xDocSh ); in Notify() 919 xDocSh.Clear(); in Notify() 928 xDocSh.Clear(); in Notify() [all …]
|
| H A D | unomailmerge.cxx | 423 xDocSh = pDocShell; in SwXMailMerge() 424 xDocSh->DoInitNew( 0 ); in SwXMailMerge() 425 SfxViewFrame *pFrame = SfxViewFrame::LoadHiddenDocument( *xDocSh, 0 ); in SwXMailMerge() 443 DeleteTmpFile_Impl( xModel, xDocSh, aTmpFileName ); in ~SwXMailMerge() 449 if ( eVetoed == CloseModelAndDocSh( xModel, xDocSh ) ) in ~SwXMailMerge() 453 xDocSh = 0; // destroy doc shell in ~SwXMailMerge() 483 SfxObjectShellRef xCurDocSh = xDocSh; // the document in execute() 958 && !LoadFromURL_impl( xModel, xDocSh, aText, sal_True )) in setPropertyValue()
|
| H A D | unotxvw.cxx | 900 SfxObjectShellLock xDocSh( pDocSh = new SwDocShell( /*pPrtDoc, */SFX_CREATE_MODE_STANDARD ) ); in BuildTmpSelectionDoc() local 901 xDocSh->DoInitNew( 0 ); in BuildTmpSelectionDoc() 906 SfxViewFrame* pDocFrame = SfxViewFrame::LoadHiddenDocument( *xDocSh, 0 ); in BuildTmpSelectionDoc() 927 return xDocSh; in BuildTmpSelectionDoc() 944 SfxObjectShellLock& xDocSh = m_pView->GetTmpSelectionDoc(); in NotifySelChanged() local 945 SwDoc* pDoc = static_cast< SwDocShell* >(&xDocSh)->GetDoc(); in NotifySelChanged()
|
| H A D | unotxdoc.cxx | 2617 SfxObjectShellLock xDocSh(((SwView*)rpView)->GetOrCreateTmpSelectionDoc()); in GetRenderDoc() local 2618 if (xDocSh.Is()) in GetRenderDoc() 2620 pDoc = ((SwDocShell*)&xDocSh)->GetDoc(); in GetRenderDoc()
|
| /trunk/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() 1364 if( !xDocSh.Is() ) // Medium muss noch geloescht werden in lcl_FindDocShell() 1454 SfxObjectShellRef xDocSh; in DataChanged() local 1459 xDocSh = pDoc->GetDocShell(); in DataChanged() 1464 nRet = lcl_FindDocShell( xDocSh, xLockRef, sFileName, in DataChanged() 1469 SwDoc* pSrcDoc = ((SwDocShell*)&xDocSh)->GetDoc(); in DataChanged() 1482 if( xDocSh->GetMedium() && in DataChanged() [all …]
|
| /trunk/main/sw/source/ui/app/ |
| H A D | appenv.cxx | 177 SfxObjectShellLock xDocSh( new SwDocShell( SFX_CREATE_MODE_STANDARD ) ); in InsertEnv() local 178 xDocSh->DoInitNew( 0 ); in InsertEnv() 179 pFrame = SfxViewFrame::LoadHiddenDocument( *xDocSh, 0 ); in InsertEnv() 186 xDocSh->SetTitle( aTmp ); in InsertEnv() 247 SwWait aWait( (SwDocShell&)*xDocSh, true ); in InsertEnv() 278 xDocSh->DoClose(); in InsertEnv() 518 xDocSh->DoClose(); in InsertEnv()
|
| H A D | applab.cxx | 211 SfxObjectShellLock xDocSh( new SwDocShell( SFX_CREATE_MODE_STANDARD)); in InsertLab() local 212 xDocSh->DoInitNew( 0 ); in InsertLab() 218 SwDocShell *pDocSh = (SwDocShell*)(&*xDocSh); in InsertLab() 222 SfxViewFrame* pViewFrame = SfxViewFrame::DisplayNewDocument( *xDocSh, rReq ); in InsertLab() 239 xDocSh->SetTitle( aTmp ); in InsertLab() 249 SwWait aWait( (SwDocShell&)*xDocSh, true ); in InsertLab()
|
| H A D | apphdl.cxx | 964 SfxObjectShellLock xDocSh( new SwDocShell( SFX_CREATE_MODE_STANDARD) ); in NewXForms() local 965 xDocSh->DoInitNew( 0 ); in NewXForms() 968 static_cast<SwDocShell*>( &xDocSh )->GetDoc()->initXForms( true ); in NewXForms() 971 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()
|
| /trunk/main/sw/source/filter/ww8/ |
| H A D | ww8glsy.cxx | 217 SfxObjectShellLock xDocSh(new SwDocShell(SFX_CREATE_MODE_INTERNAL)); in Load() local 218 if (xDocSh->DoInitNew(0)) in Load() 220 SwDoc *pD = ((SwDocShell*)(&xDocSh))->GetDoc(); in Load() 240 xDocSh->DoClose(); in Load()
|
| /trunk/main/sw/source/ui/uiview/ |
| H A D | view2.cxx | 2194 SfxObjectShellRef xDocSh; in InsertMedium() local 2197 extern int lcl_FindDocShell( SfxObjectShellRef& xDocSh, SfxObjectShellLock& xLockRef, in InsertMedium() 2203 int nRet = lcl_FindDocShell( xDocSh, xLockRef, pMedium->GetName(), aEmptyStr, in InsertMedium() 2213 nFound = pWrtShell->CompareDoc( *((SwDocShell*)&xDocSh)->GetDoc() ); in InsertMedium() 2215 nFound = pWrtShell->MergeDoc( *((SwDocShell*)&xDocSh)->GetDoc() ); in InsertMedium() 2225 if( 2 == nRet && xDocSh.Is() ) in InsertMedium() 2226 xDocSh->DoClose(); in InsertMedium()
|
| /trunk/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
|
| /trunk/main/sw/source/filter/basflt/ |
| H A D | shellio.cxx | 534 SfxObjectShellLock xDocSh = pDocSh; in GetTemplateDoc() local
|
| /trunk/main/sw/source/ui/dbui/ |
| H A D | dbmgr.cxx | 3054 SfxObjectShellRef xDocSh(pWorkView->GetDocShell()); in MergeDocuments() local 3055 xDocSh->DoClose(); in MergeDocuments()
|