Lines Matching refs:rMEvt

93 sal_Bool SwDrawBase::MouseButtonDown(const MouseEvent& rMEvt)  in MouseButtonDown()  argument
101 pSdrView->SetOrtho(doConstructOrthogonal() ? !rMEvt.IsShift() : rMEvt.IsShift()); in MouseButtonDown()
102 pSdrView->SetAngleSnapEnabled(rMEvt.IsShift()); in MouseButtonDown()
104 if (rMEvt.IsMod2()) in MouseButtonDown()
116 SdrHitKind eHit = pSdrView->PickAnything(rMEvt, SDRMOUSEBUTTONDOWN, aVEvt); in MouseButtonDown()
119 if (rMEvt.IsLeft() && !m_pWin->IsDrawAction()) in MouseButtonDown()
126 m_aStartPos = m_pWin->PixelToLogic(rMEvt.GetPosPixel()); in MouseButtonDown()
141 m_aStartPos = m_pWin->PixelToLogic(rMEvt.GetPosPixel()); in MouseButtonDown()
159 bReturn = pSdrView->BegInsObjPoint(m_aStartPos, rMEvt.IsMod1()); in MouseButtonDown()
162 else if (eHit == SDRHIT_MARKEDOBJECT && rMEvt.IsMod1()) in MouseButtonDown()
167 if (!rMEvt.IsShift()) in MouseButtonDown()
173 else if (eHit == SDRHIT_MARKEDOBJECT && !rMEvt.IsShift() && !rMEvt.IsMod2()) in MouseButtonDown()
185 if (pSdrView->HasMarkablePoints() && (!pSdrView->IsPointMarked(aVEvt.pHdl) || rMEvt.IsShift())) in MouseButtonDown()
189 if (!rMEvt.IsShift()) in MouseButtonDown()
235 if (!rMEvt.IsShift()) in MouseButtonDown()
271 sal_Bool SwDrawBase::MouseMove(const MouseEvent& rMEvt) in MouseMove() argument
274 Point aPnt(m_pWin->PixelToLogic(rMEvt.GetPosPixel())); in MouseMove()
281 pSdrView->SetOrtho(doConstructOrthogonal() ? !rMEvt.IsShift() : rMEvt.IsShift()); in MouseMove()
282 pSdrView->SetAngleSnapEnabled(rMEvt.IsShift()); in MouseMove()
303 sal_Bool SwDrawBase::MouseButtonUp(const MouseEvent& rMEvt) in MouseButtonUp() argument
309 Point aPnt(m_pWin->PixelToLogic(rMEvt.GetPosPixel())); in MouseButtonUp()
318 if(rMEvt.IsRight() || (aPnt == m_aStartPos && !bMultiPoint)) in MouseButtonUp()
370 EnterSelectMode(rMEvt); in MouseButtonUp()
382 && rMEvt.IsLeft()) in MouseButtonUp()
390 m_pSh->SelectObj(aPnt, ( rMEvt.IsShift() && in MouseButtonUp()
409 m_pSh->SelectObj(aPnt, ( rMEvt.IsShift() && in MouseButtonUp()
447 if (!rMEvt.IsShift()) in MouseButtonUp()
449 m_pSh->SelectObj(aPnt, (rMEvt.IsShift() && in MouseButtonUp()
674 void SwDrawBase::EnterSelectMode(const MouseEvent& rMEvt) in EnterSelectMode() argument
680 Point aPnt(m_pWin->PixelToLogic(rMEvt.GetPosPixel())); in EnterSelectMode()
685 if (rMEvt.GetModifier() == KEY_SHIFT || !m_pSh->IsObjSelected()) in EnterSelectMode()