Lines Matching refs:pViewShell

283     ::boost::shared_ptr<ViewShell> pViewShell (mpWeakViewShell.lock());  in PrepareSpelling()
284 if (pViewShell) in PrepareSpelling()
298 mpImpl->ProvideOutlinerView(*this, pViewShell, mpWindow); in PrepareSpelling()
328 ::boost::shared_ptr<ViewShell> pViewShell (mpWeakViewShell.lock()); in EndSpelling()
329 ::boost::shared_ptr<ViewShell> pOldViewShell (pViewShell); in EndSpelling()
333 pViewShell = pBase->GetMainViewShell(); in EndSpelling()
335 pViewShell.reset(); in EndSpelling()
336 mpWeakViewShell = pViewShell; in EndSpelling()
340 sal_Bool bViewIsDrawViewShell(pViewShell && pViewShell->ISA(DrawViewShell)); in EndSpelling()
344 mpView = pViewShell->GetView(); in EndSpelling()
348 pViewShell->GetDispatcher()->Execute( in EndSpelling()
392 ::boost::shared_ptr<ViewShell> pViewShell (mpWeakViewShell.lock()); in SpellNextDocument()
393 if (pViewShell->ISA(OutlineViewShell)) in SpellNextDocument()
408 mpWindow = pViewShell->GetActiveWindow(); in SpellNextDocument()
509 ::boost::shared_ptr<ViewShell> pViewShell (mpWeakViewShell.lock()); in StartSearchAndReplace()
510 if ( ! pViewShell) in StartSearchAndReplace()
512 OSL_ASSERT(pViewShell); in StartSearchAndReplace()
543 pSearchDlg->SetDocWin( pViewShell->GetActiveWindow() ); in StartSearchAndReplace()
568 ::boost::shared_ptr<ViewShell> pViewShell (mpWeakViewShell.lock()); in Initialize()
569 if ( ! pViewShell) in Initialize()
571 OSL_ASSERT(pViewShell); in Initialize()
577 if (pViewShell->ISA(OutlineViewShell)) in Initialize()
632 ::boost::shared_ptr<ViewShell> pViewShell (mpWeakViewShell.lock()); in SearchAndReplaceAll()
633 if ( ! pViewShell) in SearchAndReplaceAll()
635 OSL_ASSERT(pViewShell); in SearchAndReplaceAll()
639 if (pViewShell->ISA(OutlineViewShell)) in SearchAndReplaceAll()
647 else if (pViewShell->ISA(DrawViewShell)) in SearchAndReplaceAll()
687 ::boost::shared_ptr<ViewShell> pViewShell (mpWeakViewShell.lock()); in SearchAndReplaceOnce()
688 if( bool(pViewShell)) in SearchAndReplaceOnce() local
690 mpView = pViewShell->GetView(); in SearchAndReplaceOnce()
691 mpWindow = pViewShell->GetActiveWindow(); in SearchAndReplaceOnce()
694 if (pViewShell->ISA(DrawViewShell) ) in SearchAndReplaceOnce()
739 else if (pViewShell->ISA(OutlineViewShell)) in SearchAndReplaceOnce()
777 ::boost::shared_ptr<ViewShell> pViewShell (mpWeakViewShell.lock()); in DetectChange()
779 ::boost::dynamic_pointer_cast<DrawViewShell>(pViewShell)); in DetectChange()
875 ::boost::shared_ptr<ViewShell> pViewShell (mpWeakViewShell.lock()); in RememberStartPosition()
876 if ( ! pViewShell) in RememberStartPosition()
878 OSL_ASSERT(pViewShell); in RememberStartPosition()
882 if (pViewShell->ISA(DrawViewShell)) in RememberStartPosition()
885 ::boost::dynamic_pointer_cast<DrawViewShell>(pViewShell)); in RememberStartPosition()
910 else if (pViewShell->ISA(OutlineViewShell)) in RememberStartPosition()
934 ::boost::shared_ptr<ViewShell> pViewShell (mpWeakViewShell.lock()); in RestoreStartPosition()
935 if( !bool(pViewShell)) in RestoreStartPosition()
940 if (pViewShell->ISA(DrawViewShell)) in RestoreStartPosition()
943 ::boost::dynamic_pointer_cast<DrawViewShell>(pViewShell)); in RestoreStartPosition()
954 pViewShell->GetViewShellBase().GetToolBarManager()->SetToolBarShell( in RestoreStartPosition()
968 else if (pViewShell->ISA(OutlineViewShell)) in RestoreStartPosition()
1032 ::boost::shared_ptr<ViewShell> pViewShell (mpWeakViewShell.lock()); in ProvideNextTextObject()
1033 if( bool(pViewShell)) in ProvideNextTextObject() local
1062 ::boost::shared_ptr<ViewShell> pViewShell (mpWeakViewShell.lock()); in EndOfSearch()
1063 if ( ! pViewShell) in EndOfSearch()
1065 OSL_ASSERT(pViewShell); in EndOfSearch()
1072 if ( ! pViewShell->ISA(OutlineViewShell)) in EndOfSearch()
1092 if (pViewShell->ISA(OutlineViewShell)) in EndOfSearch()
1281 ::boost::shared_ptr<ViewShell> pViewShell (mpWeakViewShell.lock()); in SetViewMode()
1283 ::boost::dynamic_pointer_cast<DrawViewShell>(pViewShell)); in SetViewMode()
1309 ViewShellBase& rBase = pViewShell->GetViewShellBase(); in SetViewMode()
1336 pDrawViewShell = ::boost::dynamic_pointer_cast<DrawViewShell>(pViewShell); in SetViewMode()
1350 ::boost::shared_ptr<ViewShell> pViewShell (mpWeakViewShell.lock()); in SetPage()
1352 ::boost::dynamic_pointer_cast<DrawViewShell>(pViewShell)); in SetPage()
1376 ::boost::shared_ptr<ViewShell> pViewShell (mpWeakViewShell.lock()); in EnterEditMode()
1377 pViewShell->GetDispatcher()-> in EnterEditMode()
1509 ::boost::shared_ptr<ViewShell> pViewShell (mpWeakViewShell.lock()); in SetViewShell()
1510 if (pViewShell != rpViewShell) in SetViewShell()
1570 ::boost::shared_ptr<ViewShell> pViewShell (mpWeakViewShell.lock()); in StartConversion()
1571 sal_Bool bMultiDoc = pViewShell->ISA(DrawViewShell); in StartConversion()
1634 ::boost::shared_ptr<ViewShell> pViewShell (mpWeakViewShell.lock()); in BeginConversion()
1635 if (pViewShell) in BeginConversion()
1648 mpImpl->ProvideOutlinerView(*this, pViewShell, mpWindow); in BeginConversion()
1668 ::boost::shared_ptr<ViewShell> pViewShell (mpWeakViewShell.lock()); in ConvertNextDocument()
1669 if (pViewShell && pViewShell->ISA(OutlineViewShell) ) in ConvertNextDocument()
1679 mpWindow = pViewShell->GetActiveWindow(); in ConvertNextDocument()