Lines Matching refs:rMEvt
162 sal_Bool FuSelection::MouseButtonDown(const MouseEvent& rMEvt) in MouseButtonDown() argument
168 sal_Bool bReturn = FuDraw::MouseButtonDown(rMEvt); in MouseButtonDown()
174 const bool bSelectionOnly = rMEvt.IsRight(); in MouseButtonDown()
181 if ( rMEvt.IsRight() ) in MouseButtonDown()
195 if ((rMEvt.IsLeft() || rMEvt.IsRight()) in MouseButtonDown()
230 SdrHitKind eHit = mpView->PickAnything(rMEvt, SDRMOUSEBUTTONDOWN, aVEvt); in MouseButtonDown()
239 … && ((mpView->IsMarkedHit(aMDPos, nHitLog) && !rMEvt.IsShift() && !rMEvt.IsMod2()) || pHdl != NULL) in MouseButtonDown()
240 && (rMEvt.GetClicks() != 2) in MouseButtonDown()
261 if ( ! rMEvt.IsRight()) in MouseButtonDown()
267 …if (!rMEvt.IsMod2() && mpView->PickObj(aMDPos, mpView->getHitTolLog(), pObj, pPV, SDRSEARCH_PICKMA… in MouseButtonDown()
283 if (!rMEvt.IsShift()) in MouseButtonDown()
293 else if ( !rMEvt.IsMod2() && rMEvt.GetClicks() == 1 && in MouseButtonDown()
303 if (rMEvt.IsMod1()) in MouseButtonDown()
319 else if(!rMEvt.IsMod2() in MouseButtonDown()
331 if(rMEvt.GetClicks() == 1) in MouseButtonDown()
337 else if( !bReadOnly && rMEvt.GetClicks() == 2) in MouseButtonDown()
353 if(mpView->IsGroupEntered() && 2 == rMEvt.GetClicks()) in MouseButtonDown()
366 if ( ! (rMEvt.IsShift() || rMEvt.IsMod2())) in MouseButtonDown()
379 if ( !rMEvt.IsShift() && !rMEvt.IsMod2() ) in MouseButtonDown()
396 if ( !rMEvt.IsMod1() && !bDeactivateOLE) in MouseButtonDown()
398 if ( rMEvt.IsMod2() ) in MouseButtonDown()
400 bMarked = mpView->MarkNextObj(aMDPos, nHitLog, rMEvt.IsShift() ); in MouseButtonDown()
406 if (rMEvt.IsShift() && mpView->GetMarkedObjectList().GetMarkCount() > 1) in MouseButtonDown()
420 (!rMEvt.IsShift() || mpView->IsMarkedHit(aMDPos, nHitLog))) in MouseButtonDown()
428 if ( ! rMEvt.IsRight()) in MouseButtonDown()
436 if ( ! rMEvt.IsRight()) in MouseButtonDown()
441 …if( bMarked && bTempRotation && (nSlotId == SID_OBJECT_ROTATE) && !rMEvt.IsShift() && (rMEvt.GetCl… in MouseButtonDown()
451 && (rMEvt.IsLeft() || rMEvt.IsRight()) in MouseButtonDown()
459 SdrHitKind eHit = mpView->PickAnything(rMEvt, SDRMOUSEBUTTONDOWN, aVEvt); in MouseButtonDown()
466 if ( ! rMEvt.IsRight()) in MouseButtonDown()
474 mpView->BegInsObjPoint(aMDPos, rMEvt.IsMod1()); in MouseButtonDown()
476 else if (eHit == SDRHIT_MARKEDOBJECT && rMEvt.IsMod1()) in MouseButtonDown()
481 if (!rMEvt.IsShift()) in MouseButtonDown()
484 if ( ! rMEvt.IsRight()) in MouseButtonDown()
487 else if (eHit == SDRHIT_MARKEDOBJECT && !rMEvt.IsShift() && !rMEvt.IsMod2()) in MouseButtonDown()
492 if ( ! rMEvt.IsRight()) in MouseButtonDown()
500 if (!mpView->IsPointMarked(aVEvt.pHdl) || rMEvt.IsShift()) in MouseButtonDown()
502 if (!rMEvt.IsShift()) in MouseButtonDown()
523 if ( ! rMEvt.IsRight()) in MouseButtonDown()
533 if ( ! rMEvt.IsRight()) in MouseButtonDown()
542 if (!rMEvt.IsShift() && !rMEvt.IsMod2() && eHit == SDRHIT_UNMARKEDOBJECT) in MouseButtonDown()
549 if (!rMEvt.IsMod1()) in MouseButtonDown()
551 if (rMEvt.IsMod2()) in MouseButtonDown()
553 bMarked = mpView->MarkNextObj(aMDPos, nHitLog, rMEvt.IsShift()); in MouseButtonDown()
557 bMarked = mpView->MarkObj(aMDPos, nHitLog, rMEvt.IsShift(), sal_False); in MouseButtonDown()
562 (!rMEvt.IsShift() || eHit == SDRHIT_MARKEDOBJECT)) in MouseButtonDown()
565 if ( ! rMEvt.IsRight()) in MouseButtonDown()
573 if (!rMEvt.IsShift()) in MouseButtonDown()
576 if ( ! rMEvt.IsRight()) in MouseButtonDown()
584 if ( ! rMEvt.IsRight()) in MouseButtonDown()
588 ForcePointer(&rMEvt); in MouseButtonDown()
594 ForcePointer(&rMEvt); in MouseButtonDown()
606 sal_Bool FuSelection::MouseMove(const MouseEvent& rMEvt) in MouseMove() argument
608 sal_Bool bReturn = FuDraw::MouseMove(rMEvt); in MouseMove()
624 Point aPix(rMEvt.GetPosPixel()); in MouseMove()
639 ForcePointer(&rMEvt); in MouseMove()
650 sal_Bool FuSelection::MouseButtonUp(const MouseEvent& rMEvt) in MouseButtonUp() argument
656 const bool bSelectionOnly = rMEvt.IsRight(); in MouseButtonUp()
676 Point aPnt( mpWindow->PixelToLogic( rMEvt.GetPosPixel() ) ); in MouseButtonUp()
691 sal_Bool bDragWithCopy = (rMEvt.IsMod1() && pFrameView->IsDragWithCopy()); in MouseButtonUp()
703 if (!rMEvt.IsShift() && !rMEvt.IsMod1() && !rMEvt.IsMod2() && in MouseButtonUp()
722 && (rMEvt.GetClicks() != 2) in MouseButtonUp()
775 else if (rMEvt.IsMod1() in MouseButtonUp()
776 && !rMEvt.IsMod2() in MouseButtonUp()
781 mpView->MarkObj(aPnt, nHitLog, rMEvt.IsShift(), rMEvt.IsMod1()); in MouseButtonUp()
791 if( rMEvt.IsRight() ) in MouseButtonUp()
830 sal_uInt16 nClicks = rMEvt.GetClicks(); in MouseButtonUp()
832 if (nClicks == 2 && rMEvt.IsLeft() && bMBDown && in MouseButtonUp()
833 !rMEvt.IsMod1() && !rMEvt.IsShift() ) in MouseButtonUp()
835 DoubleClick(rMEvt); in MouseButtonUp()
840 ForcePointer(&rMEvt); in MouseButtonUp()
861 ForcePointer(&rMEvt); in MouseButtonUp()
864 FuDraw::MouseButtonUp(rMEvt); in MouseButtonUp()
869 FuDraw::MouseButtonUp(rMEvt); in MouseButtonUp()
885 sal_Bool bDragWithCopy = (rMEvt.IsMod1() && pFrameView->IsDragWithCopy()); in MouseButtonUp()
900 Point aPos = mpWindow->PixelToLogic( rMEvt.GetPosPixel() ); in MouseButtonUp()
904 !rMEvt.IsShift() && !rMEvt.IsMod2()) in MouseButtonUp()
907 SdrHitKind eHit = mpView->PickAnything(rMEvt, SDRMOUSEBUTTONDOWN, aVEvt); in MouseButtonUp()
917 else if (!rMEvt.IsShift() && rMEvt.IsMod1() && !rMEvt.IsMod2() && in MouseButtonUp()
922 mpView->MarkObj(aPnt, nHitLog, sal_False, rMEvt.IsMod1()); in MouseButtonUp()
926 ForcePointer(&rMEvt); in MouseButtonUp()
930 FuDraw::MouseButtonUp(rMEvt); in MouseButtonUp()
1020 MouseEvent rMEvt(oldPoint,1,17, MOUSE_LEFT, KEY_SHIFT); in KeyInput() local
1021 MouseButtonUp(rMEvt); in KeyInput()