Lines Matching refs:rView

176 SfxShell* lcl_GetShellFromDispatcher( SwView& rView, TypeId nType );
300 SwWrtShell &rSh = rView.GetWrtShell(); in UpdatePointer()
375 rView.GetViewFrame()->ShowStatusText( in UpdatePointer()
384 sal_Bool bExecHyperlinks = rView.GetDocShell()->IsReadOnly(); in UpdatePointer()
400 sal_Bool bIsDocReadOnly = rView.GetDocShell()->IsReadOnly() && in UpdatePointer()
414 if ( rView.GetDrawFuncPtr() && !bInsDraw && bNotInSelObj ) in UpdatePointer()
493 if ( rView.GetDrawFuncPtr() ) in UpdatePointer()
508 if (rView.GetDrawFuncPtr() && rView.GetDrawFuncPtr()->IsInsertForm() && !bHitHandle) in UpdatePointer()
557 SwWrtShell &rSh = rView.GetWrtShell(); in IMPL_LINK()
567 rView.Scroll( Rectangle(aModPt,Size(1,1)), nMaxScroll, nMaxScroll); in IMPL_LINK()
663 rView.SetDrawFuncPtr(new DrawSelection( &rView.GetWrtShell(), this, &rView )); in StdDrawMode()
665 rView.SetDrawFuncPtr(new SwDrawBase( &rView.GetWrtShell(), this, &rView )); in StdDrawMode()
667 rView.SetSelDrawSlot(); in StdDrawMode()
670 rView.GetDrawFuncPtr()->Activate( SID_OBJECT_SELECT ); in StdDrawMode()
672rView.GetDrawFuncPtr()->Activate( sal::static_int_cast< sal_uInt16 >(eSdrObjectKind) ); // don… in StdDrawMode()
681 if (rView.GetDrawFuncPtr()) in StopInsFrm()
683 rView.GetDrawFuncPtr()->Deactivate(); in StopInsFrm()
684 rView.SetDrawFuncPtr(NULL); in StopInsFrm()
686 rView.LeaveDrawCreate(); // Konstruktionsmode verlassen in StopInsFrm()
731 SwWrtShell& rSh = rView.GetWrtShell(); in FlushInBuffer()
837 rView.GetViewFrame()->GetBindings().GetRecorder(); in FlushInBuffer()
841 SfxShell *pSfxShell = lcl_GetShellFromDispatcher( rView, TYPE(SwTextShell) ); in FlushInBuffer()
845 SfxRequest aReq( rView.GetViewFrame(), FN_INSERT_STRING ); in FlushInBuffer()
864 SfxItemSet aLangSet(rView.GetPool(), nWhich, nWhich); in FlushInBuffer()
954 SwWrtShell &rSh = rView.GetWrtShell(); in ChangeFly()
1127 bSetPos = (::GetHtmlMode(rView.GetDocShell()) & HTMLMODE_SOME_ABS_POS) ? in ChangeFly()
1141 SwWrtShell &rSh = rView.GetWrtShell(); in ChangeDrawing()
1296 rView.GetViewFrame()->GetBindings().Invalidate(SID_FORMATPAINTBRUSH); in KeyInput()
1299 SfxObjectShell *pObjSh = (SfxObjectShell*)rView.GetViewFrame()->GetObjectShell(); in KeyInput()
1310 SwWrtShell &rSh = rView.GetWrtShell(); in KeyInput()
1311 sal_Bool bIsDocReadOnly = rView.GetDocShell()->IsReadOnly() && in KeyInput()
1337 if ( rView.GetDrawFuncPtr() && bInsFrm ) in KeyInput()
1459 rView.GetViewFrame()->GetBindings().GetRecorder(); in KeyInput()
2206 if( rView.KeyInput( aKeyEvent ) ) in KeyInput()
2228 if ( rView.GetCurShell()->ISA(SwDrawTextShell) ) in KeyInput()
2229 ((SwDrawTextShell*)rView.GetCurShell())->Init(); in KeyInput()
2237 rView.AttrChangedNotify(&rSh); in KeyInput()
2257 rView.AttrChangedNotify(&rSh); in KeyInput()
2267 if ( rView.GetCurShell()->ISA(SwDrawTextShell) ) in KeyInput()
2268 ((SwDrawTextShell*)rView.GetCurShell())->Init(); in KeyInput()
2283 if( rView.ISA( SwWebView )) //Kein Tabulator fuer Web! in KeyInput()
2463 rView.GetDrawFuncPtr() ) in KeyInput()
2465 rView.GetDrawFuncPtr()->Deactivate(); in KeyInput()
2466 rView.SetDrawFuncPtr(NULL); in KeyInput()
2467 rView.LeaveDrawCreate(); in KeyInput()
2468 rView.AttrChangedNotify( &rSh ); in KeyInput()
2566 ChangeFly( nDir, rView.ISA( SwWebView ) ); in KeyInput()
2574 if( nSlotId && rView.GetViewFrame()->GetBindings().GetRecorder().is() ) in KeyInput()
2576 SfxRequest aReq(rView.GetViewFrame(), nSlotId ); in KeyInput()
2631 SwWrtShell &rSh = rView.GetWrtShell(); in MouseButtonDown()
2648 if (rView.GetPostItMgr()->IsHit(rMEvt.GetPosPixel())) in MouseButtonDown()
2651 rView.GetPostItMgr()->SetActiveSidebarWin(0); in MouseButtonDown()
2683 lcl_SelectShellForDrop( rView ); in MouseButtonDown()
2685 sal_Bool bIsDocReadOnly = rView.GetDocShell()->IsReadOnly(); in MouseButtonDown()
2740 rView.SetTabColFromDoc( sal_True ); in MouseButtonDown()
2742 rView.SetTabRowFromDoc( sal_True ); in MouseButtonDown()
2744 rView.SetTabColFromDocPos( aDocPos ); in MouseButtonDown()
2745 rView.InvalidateRulerPos(); in MouseButtonDown()
2746 SfxBindings& rBind = rView.GetViewFrame()->GetBindings(); in MouseButtonDown()
2751 rView.SetTabColFromDoc( sal_False ); in MouseButtonDown()
2752 rView.SetTabRowFromDoc( sal_False ); in MouseButtonDown()
2753 rView.InvalidateRulerPos(); in MouseButtonDown()
2767 rView.SetNumRuleNodeFromDoc( pNodeAtPos ); in MouseButtonDown()
2768 rView.InvalidateRulerPos(); in MouseButtonDown()
2769 SfxBindings& rBind = rView.GetViewFrame()->GetBindings(); in MouseButtonDown()
2775 rView.SetNumRuleNodeFromDoc( NULL ); in MouseButtonDown()
2776 rView.InvalidateRulerPos(); in MouseButtonDown()
2784 rView.SetNumRuleNodeFromDoc( NULL ); in MouseButtonDown()
2831 else if ( rView.GetDrawFuncPtr() && bInsFrm ) in MouseButtonDown()
2868 sal_Bool bExecHyperlinks = rView.GetDocShell()->IsReadOnly(); in MouseButtonDown()
2919 rView.NoRotate(); in MouseButtonDown()
2938 if (rSh.IsFrmSelected() && rView.GetDrawFuncPtr()) in MouseButtonDown()
2940 rView.GetDrawFuncPtr()->Deactivate(); in MouseButtonDown()
2941 rView.SetDrawFuncPtr(NULL); in MouseButtonDown()
2942 rView.LeaveDrawCreate(); in MouseButtonDown()
2943 rView.AttrChangedNotify( &rSh ); in MouseButtonDown()
2955 if (!rView.GetDrawFuncPtr()) in MouseButtonDown()
2965 rView.NoRotate(); in MouseButtonDown()
2988 rView.AttrChangedNotify(&rSh); in MouseButtonDown()
3002 rView.AttrChangedNotify( &rSh ); in MouseButtonDown()
3013 rView.GetDrawFuncPtr() ) in MouseButtonDown()
3015 rView.GetDrawFuncPtr()->Deactivate(); in MouseButtonDown()
3016 rView.SetDrawFuncPtr(NULL); in MouseButtonDown()
3017 rView.LeaveDrawCreate(); in MouseButtonDown()
3018 rView.AttrChangedNotify( &rSh ); in MouseButtonDown()
3064 if ( rView.GetCurShell()->ISA(SwDrawTextShell) ) in MouseButtonDown()
3065 ((SwDrawTextShell*)rView.GetCurShell())->Init(); in MouseButtonDown()
3179 rView.NoRotate(); in MouseButtonDown()
3208 rView.NoRotate(); in MouseButtonDown()
3266 rView.NoRotate(); in MouseButtonDown()
3276 rView.AttrChangedNotify(&rSh); in MouseButtonDown()
3306 rView.AttrChangedNotify(&rSh); in MouseButtonDown()
3441 SwWrtShell &rSh = rView.GetWrtShell(); in MouseMove()
3448 sal_Bool bIsDocReadOnly = rView.GetDocShell()->IsReadOnly(); in MouseMove()
3461 rView.GetViewFrame()->HideStatusText(); in MouseMove()
3501 if(rView.GetDrawFuncPtr()) in MouseMove()
3505 rView.GetDrawFuncPtr()->MouseMove( rMEvt ); in MouseMove()
3648 if ( rView.GetDrawFuncPtr() ) in MouseMove()
3651 rView.GetDrawFuncPtr()->MouseMove( rMEvt ); in MouseMove()
3809rView.GetPostItMgr()->SetShadowState(reinterpret_cast<const SwPostItField*>(pFld),false); in MouseMove()
3812 rView.GetPostItMgr()->SetShadowState(0,false); in MouseMove()
3815 rView.GetPostItMgr()->SetShadowState(0,false); in MouseMove()
3929 rView.SetTabColFromDoc( sal_False ); in MouseButtonUp()
3930 rView.SetNumRuleNodeFromDoc(NULL); in MouseButtonUp()
3932 SwWrtShell &rSh = rView.GetWrtShell(); in MouseButtonUp()
3980 if ( bInsDraw && rView.GetDrawFuncPtr() ) in MouseButtonUp()
3982 if ( rView.GetDrawFuncPtr()->MouseButtonUp( rMEvt ) ) in MouseButtonUp()
3984 if (rView.GetDrawFuncPtr()) // Koennte im MouseButtonUp zerstoert worden sein in MouseButtonUp()
3986 rView.GetDrawFuncPtr()->Deactivate(); in MouseButtonUp()
3988 if (!rView.IsDrawMode()) in MouseButtonUp()
3990 rView.SetDrawFuncPtr(NULL); in MouseButtonUp()
3991 SfxBindings& rBind = rView.GetViewFrame()->GetBindings(); in MouseButtonUp()
4000 if (!rView.GetDrawFuncPtr()) in MouseButtonUp()
4015 rView.AttrChangedNotify( &rSh ); in MouseButtonUp()
4018 rView.GetDrawFuncPtr()->BreakCreate(); // Zeichnen abbrechen in MouseButtonUp()
4030 … if ( rView.GetDrawFuncPtr() && rView.GetDrawFuncPtr()->MouseButtonUp(rMEvt) == sal_True ) in MouseButtonUp()
4032 rView.GetDrawFuncPtr()->Deactivate(); in MouseButtonUp()
4033 rView.AttrChangedNotify( &rSh ); in MouseButtonUp()
4036 if ( rView.GetDrawFuncPtr() && bInsFrm ) in MouseButtonUp()
4177 sal_Bool bExecHyperlinks = rView.GetDocShell()->IsReadOnly(); in MouseButtonUp()
4225 rView.ExecSmartTagPopup( aDocPt ); in MouseButtonUp()
4238 rSh.InvalidateWindows( rView.GetVisArea() ); in MouseButtonUp()
4240 rView.ExecFieldPopup( aDocPt, fieldBM ); in MouseButtonUp()
4242 rSh.InvalidateWindows( rView.GetVisArea() ); in MouseButtonUp()
4334 SwWrtShell& rWrtShell = rView.GetWrtShell(); in MouseButtonUp()
4339 SwDocShell* pDocSh = rView.GetDocShell(); in MouseButtonUp()
4459 rView.GetViewFrame()->GetBindings().GetRecorder(); in MouseButtonUp()
4462 SfxShell *pSfxShell = lcl_GetShellFromDispatcher( rView, TYPE(SwTextShell) ); in MouseButtonUp()
4465 SfxRequest aReq( rView.GetViewFrame(), SID_STYLE_APPLY ); in MouseButtonUp()
4498 SwWrtShell &rSh = rView.GetWrtShell(); in SetApplyTemplate()
4541 rView.GetViewFrame()->GetBindings().Invalidate(aInva); in SetApplyTemplate()
4562 rView( rMyView ), in SwEditWin()
4620 if( pQuickHlpData->bClear && rView.GetWrtShellPtr() ) in ~SwEditWin()
4621 pQuickHlpData->Stop( rView.GetWrtShell() ); in ~SwEditWin()
4624 rView.SetDrawFuncPtr(NULL); in ~SwEditWin()
4642 if ( rView.EnterDrawTextMode(aDocPos) == sal_True ) in EnterDrawTextMode()
4644 if (rView.GetDrawFuncPtr()) in EnterDrawTextMode()
4646 rView.GetDrawFuncPtr()->Deactivate(); in EnterDrawTextMode()
4647 rView.SetDrawFuncPtr(NULL); in EnterDrawTextMode()
4648 rView.LeaveDrawCreate(); in EnterDrawTextMode()
4650 rView.NoRotate(); in EnterDrawTextMode()
4651 rView.AttrChangedNotify( &rView.GetWrtShell() ); in EnterDrawTextMode()
4663 SwWrtShell &rSh = rView.GetWrtShell(); in EnterDrawMode()
4666 if ( rView.GetDrawFuncPtr() ) in EnterDrawMode()
4671 sal_Bool bRet = rView.GetDrawFuncPtr()->MouseButtonDown( rMEvt ); in EnterDrawMode()
4672 rView.AttrChangedNotify( &rSh ); in EnterDrawMode()
4693 rView.AttrChangedNotify( &rSh ); in EnterDrawMode()
4717 if ( rView.GetPostItMgr()->HasActiveSidebarWin() ) in GetFocus()
4719 rView.GetPostItMgr()->GrabFocusOnActiveSidebarWin(); in GetFocus()
4723 rView.GotFocus(); in GetFocus()
4725 rView.GetWrtShell().InvalidateAccessibleFocus(); in GetFocus()
4737 rView.GetWrtShell().InvalidateAccessibleFocus(); in LoseFocus()
4740 pQuickHlpData->Stop( rView.GetWrtShell() ); in LoseFocus()
4741 rView.LostFocus(); in LoseFocus()
4752 SwWrtShell &rSh = rView.GetWrtShell(); in Command()
4754 if ( !rView.GetViewFrame() ) in Command()
4784 if (rView.GetPostItMgr()->IsHit(rCEvt.GetMousePosPixel())) in Command()
4787 if((!pChildWin || pChildWin->GetView() != &rView) && in Command()
4805 rView.StopShellTimer(); in Command()
4810 if ( rView.GetDocShell()->IsReadOnly() ) in Command()
4812 SwReadOnlyPopup* pROPopup = new SwReadOnlyPopup( aDocPos, rView ); in Command()
4826 … if( !::ExecuteMenuCommand( *static_cast<PopupMenu*>(pMenu), *rView.GetViewFrame(), nExecId )) in Command()
4834 else if ( !rView.ExecSpellPopup( aDocPos ) ) in Command()
4849 bCallBase = !rView.HandleWheelCommands( rCEvt ); in Command()
4915 rView.GetWrtShell().Insert( pCData->GetText() ); in Command()
4944 sal_Bool bIsDocReadOnly = rView.GetDocShell()->IsReadOnly() && in Command()
4967 sal_Bool bIsDocReadOnly = rView.GetDocShell()->IsReadOnly() && in Command()
4981 rView.GetViewFrame()->GetBindings().GetRecorder(); in Command()
5002 … SfxShell *pSfxShell = lcl_GetShellFromDispatcher( rView, TYPE(SwTextShell) ); in Command()
5006 SfxRequest aReq( rView.GetViewFrame(), FN_INSERT_STRING ); in Command()
5018 sal_Bool bIsDocReadOnly = rView.GetDocShell()->IsReadOnly() && in Command()
5045 rView.GetViewFrame()->GetBindings().GetRecorder(); in Command()
5063 sal_Bool bIsDocReadOnly = rView.GetDocShell()->IsReadOnly() && in Command()
5098 if( !rView.GetDocShell()->IsReadOnly() ) in Command()
5244 if ( !bIsInsideSelectedObj && rView.GetDrawFuncPtr() ) in SelectMenuPosition()
5247 rView.GetDrawFuncPtr()->Deactivate(); in SelectMenuPosition()
5248 rView.SetDrawFuncPtr(NULL); in SelectMenuPosition()
5249 rView.LeaveDrawCreate(); in SelectMenuPosition()
5250 SfxBindings& rBind = rView.GetViewFrame()->GetBindings(); in SelectMenuPosition()
5305 if ( rView.GetDrawFuncPtr() && bInsFrm ) in SelectMenuPosition()
5322 rView.NoRotate(); in SelectMenuPosition()
5341 if (rSh.IsFrmSelected() && rView.GetDrawFuncPtr()) in SelectMenuPosition()
5343 rView.GetDrawFuncPtr()->Deactivate(); in SelectMenuPosition()
5344 rView.SetDrawFuncPtr(NULL); in SelectMenuPosition()
5345 rView.LeaveDrawCreate(); in SelectMenuPosition()
5346 rView.AttrChangedNotify( &rSh ); in SelectMenuPosition()
5356 if (!rView.GetDrawFuncPtr()) in SelectMenuPosition()
5364 rView.NoRotate(); in SelectMenuPosition()
5373 rView.AttrChangedNotify(&rSh); in SelectMenuPosition()
5388 rView.LeaveDrawCreate(); in SelectMenuPosition()
5389 rView.AttrChangedNotify( &rSh ); in SelectMenuPosition()
5400 rView.GetDrawFuncPtr() ) in SelectMenuPosition()
5402 rView.GetDrawFuncPtr()->Deactivate(); in SelectMenuPosition()
5403 rView.SetDrawFuncPtr(NULL); in SelectMenuPosition()
5404 rView.LeaveDrawCreate(); in SelectMenuPosition()
5405 rView.AttrChangedNotify( &rSh ); in SelectMenuPosition()
5452 SfxShell* lcl_GetShellFromDispatcher( SwView& rView, TypeId nType ) in lcl_GetShellFromDispatcher() argument
5456 SfxDispatcher* pDispatcher = rView.GetViewFrame()->GetDispatcher(); in lcl_GetShellFromDispatcher()
5501 pQuickHlpData->Stop( rView.GetWrtShell() ); in StopQuickHelp()
5529 rView.GetViewFrame()->HideStatusText(); in SetChainMode()
5535 rView.GetViewFrame()->GetBindings().Invalidate(aInva); in SetChainMode()
5542 SwWrtShell *pSh = rView.GetWrtShellPtr(); in CreateAccessible()
5694 SwWrtShell& rSh = rView.GetWrtShell(); in ShowAutoTextCorrectQuickHelp()
5742 SwWrtShell& rSh = rView.GetWrtShell(); in GetSurroundingText()
5769 SwWrtShell& rSh = rView.GetWrtShell(); in GetSurroundingTextSelection()
5803 rView.GetWrtShell().InvalidateAccessibleFocus(); in SwitchView()