Lines Matching refs:mpView

147 	mpView->UnmarkAllPoints();  in ~FuSelection()
148 mpView->ResetCreationActive(); in ~FuSelection()
150 if ( mpView->GetDragMode() != SDRDRAG_MOVE ) in ~FuSelection()
152 mpView->SetDragMode(SDRDRAG_MOVE); in ~FuSelection()
179 if ( mpView->IsAction() ) in MouseButtonDown()
182 mpView->BckAction(); in MouseButtonDown()
196 && !mpView->IsAction() in MouseButtonDown()
197 && (mpView->IsFrameDragSingles() || !mpView->HasMarkablePoints())) in MouseButtonDown()
203 pHdl = mpView->PickHandle(aMDPos); in MouseButtonDown()
207 long nAngle0 = GetAngle(aMDPos - mpView->GetRef1()); in MouseButtonDown()
212 if (!pHdl && mpView->Is3DRotationCreationActive()) in MouseButtonDown()
221 mpView->End3DCreation(); in MouseButtonDown()
223 mpView->ResetCreationActive(); 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()
243 if (!pHdl && mpView->Is3DRotationCreationActive()) in MouseButtonDown()
246 mpView->ResetCreationActive(); in MouseButtonDown()
262 mpView->BegDragObj(aMDPos, (OutputDevice*) NULL, pHdl, nDrgLog); in MouseButtonDown()
267 …if (!rMEvt.IsMod2() && mpView->PickObj(aMDPos, mpView->getHitTolLog(), pObj, pPV, SDRSEARCH_PICKMA… in MouseButtonDown()
269 mpView->BegMacroObj(aMDPos, nHitLog, pObj, pPV, mpWindow); in MouseButtonDown()
284 mpView->UnmarkAll(); in MouseButtonDown()
323 if(mpView->PickObj(aMDPos, mpView->getHitTolLog(), pObj, pPV, SDRSEARCH_ALSOONMASTER)) in MouseButtonDown()
334 …if (mpView->PickObj(aMDPos, mpView->getHitTolLog(), pObj, pPV, SDRSEARCH_ALSOONMASTER | SDRSEARCH_… in MouseButtonDown()
353 if(mpView->IsGroupEntered() && 2 == rMEvt.GetClicks()) in MouseButtonDown()
356 mpView->LeaveOneGroup(); in MouseButtonDown()
391 mpView->UnmarkAll(); in MouseButtonDown()
400 bMarked = mpView->MarkNextObj(aMDPos, nHitLog, rMEvt.IsShift() ); in MouseButtonDown()
406 if (rMEvt.IsShift() && mpView->GetMarkedObjectList().GetMarkCount() > 1) in MouseButtonDown()
412 bMarked = mpView->MarkObj(aMDPos, nHitLog, bToggle, sal_False); in MouseButtonDown()
420 (!rMEvt.IsShift() || mpView->IsMarkedHit(aMDPos, nHitLog))) in MouseButtonDown()
427 pHdl=mpView->PickHandle(aMDPos); in MouseButtonDown()
429 mpView->BegDragObj(aMDPos, (OutputDevice*) NULL, pHdl, nDrgLog); in MouseButtonDown()
437 mpView->BegMarkObj(aMDPos); in MouseButtonDown()
452 && !mpView->IsAction()) in MouseButtonDown()
459 SdrHitKind eHit = mpView->PickAnything(rMEvt, SDRMOUSEBUTTONDOWN, aVEvt); in MouseButtonDown()
467 mpView->BegDragObj(aMDPos, (OutputDevice*) NULL, aVEvt.pHdl, nDrgLog); in MouseButtonDown()
474 mpView->BegInsObjPoint(aMDPos, rMEvt.IsMod1()); in MouseButtonDown()
482 mpView->UnmarkAllPoints(); in MouseButtonDown()
485 mpView->BegMarkPoints(aMDPos); in MouseButtonDown()
493 mpView->BegDragObj(aMDPos, (OutputDevice*) NULL, NULL, nDrgLog); in MouseButtonDown()
500 if (!mpView->IsPointMarked(*aVEvt.pHdl) || rMEvt.IsShift()) in MouseButtonDown()
504 mpView->UnmarkAllPoints(); in MouseButtonDown()
505 pHdl = mpView->PickHandle(aMDPos); in MouseButtonDown()
509 if (mpView->IsPointMarked(*aVEvt.pHdl)) in MouseButtonDown()
511 mpView->UnmarkPoint(*aVEvt.pHdl); in MouseButtonDown()
516 pHdl = mpView->PickHandle(aMDPos); in MouseButtonDown()
522 mpView->MarkPoint(*pHdl); in MouseButtonDown()
524 mpView->BegDragObj(aMDPos, (OutputDevice*) NULL, pHdl, nDrgLog); in MouseButtonDown()
531 pHdl = mpView->PickHandle(aMDPos); in MouseButtonDown()
534 mpView->BegDragObj(aMDPos, (OutputDevice*)NULL, pHdl, nDrgLog); in MouseButtonDown()
544 mpView->UnmarkAllObj(); in MouseButtonDown()
553 bMarked = mpView->MarkNextObj(aMDPos, nHitLog, rMEvt.IsShift()); in MouseButtonDown()
557 bMarked = mpView->MarkObj(aMDPos, nHitLog, rMEvt.IsShift(), sal_False); in MouseButtonDown()
566 mpView->BegDragObj(aMDPos, (OutputDevice*) NULL, aVEvt.pHdl, nDrgLog); in MouseButtonDown()
568 else if (mpView->AreObjectsMarked()) in MouseButtonDown()
574 mpView->UnmarkAllPoints(); in MouseButtonDown()
577 mpView->BegMarkPoints(aMDPos); in MouseButtonDown()
585 mpView->BegMarkObj(aMDPos); in MouseButtonDown()
622 if (mpView->IsAction()) in MouseMove()
629 if (mpView->IsInsObjPoint()) in MouseMove()
631 mpView->MovInsObjPoint(aPnt); in MouseMove()
635 mpView->MovAction(aPnt); in MouseMove()
673 if( !mpView ) in MouseButtonUp()
680 if (mpView->IsFrameDragSingles() || !mpView->HasMarkablePoints()) in MouseButtonUp()
685 if ( mpView->IsDragObj() ) in MouseButtonUp()
695 bDragWithCopy = !mpView->IsPresObjSelected(sal_False, sal_True); in MouseButtonUp()
698 mpView->SetDragWithCopy(bDragWithCopy); in MouseButtonUp()
699 mpView->EndDragObj( mpView->IsDragWithCopy() ); in MouseButtonUp()
701 mpView->ForceMarkedToAnotherPage(); in MouseButtonUp()
712 sal_uLong nMarkCount = mpView->GetMarkedObjectList().GetMarkCount(); in MouseButtonUp()
716 pSingleObj = mpView->GetMarkedObjectList().GetMark(0)->GetMarkedSdrObj(); in MouseButtonUp()
720 && mpView->IsRotateAllowed() in MouseButtonUp()
744 mpView->Start3DCreation(); in MouseButtonUp()
749 pHdl->GetKind() != HDL_REF2 && mpView->Is3DRotationCreationActive()) in MouseButtonUp()
755 long nAngle1 = GetAngle(aPnt - mpView->GetRef1()); in MouseButtonUp()
765 mpView->End3DCreation(); in MouseButtonUp()
781 mpView->MarkObj(aPnt, nHitLog, rMEvt.IsShift(), rMEvt.IsMod1()); in MouseButtonUp()
784 if (mpView->IsAction() ) in MouseButtonUp()
786 mpView->EndAction(); in MouseButtonUp()
807 if (pStyleSheet != NULL && mpView->IsUndoEnabled() ) in MouseButtonUp()
813 mpView->BegUndo(pUndoAttr->GetComment()); in MouseButtonUp()
814 mpView->AddUndo(mpDoc->GetSdrUndoFactory().CreateUndoGeoObject(*pWaterCanCandidate)); in MouseButtonUp()
815 mpView->AddUndo(pUndoAttr); in MouseButtonUp()
820 mpView->EndUndo(); in MouseButtonUp()
844 sal_uLong nMarkCount = mpView->GetMarkedObjectList().GetMarkCount(); in MouseButtonUp()
848 pSingleObj = mpView->GetMarkedObjectList().GetMark(0)->GetMarkedSdrObj(); in MouseButtonUp()
852 ( mpView->GetDragMode() == SDRDRAG_CROOK && in MouseButtonUp()
853 !mpView->IsCrookAllowed( mpView->IsCrookNoContortion() ) ) || in MouseButtonUp()
854 ( mpView->GetDragMode() == SDRDRAG_SHEAR && in MouseButtonUp()
855 !mpView->IsShearAllowed() && !mpView->IsDistortAllowed() ) || in MouseButtonUp()
876 if ( mpView->IsAction() ) in MouseButtonUp()
878 if ( mpView->IsInsObjPoint() ) in MouseButtonUp()
880 mpView->EndInsObjPoint(SDRCREATE_FORCEEND); in MouseButtonUp()
882 else if ( mpView->IsDragObj() ) in MouseButtonUp()
889 bDragWithCopy = !mpView->IsPresObjSelected(sal_False, sal_True); in MouseButtonUp()
892 mpView->SetDragWithCopy(bDragWithCopy); in MouseButtonUp()
893 mpView->EndDragObj( mpView->IsDragWithCopy() ); in MouseButtonUp()
897 mpView->EndAction(); in MouseButtonUp()
907 SdrHitKind eHit = mpView->PickAnything(rMEvt, SDRMOUSEBUTTONDOWN, aVEvt); in MouseButtonUp()
912 mpView->UnmarkAllObj(); in MouseButtonUp()
922 mpView->MarkObj(aPnt, nHitLog, sal_False, rMEvt.IsMod1()); in MouseButtonUp()
992 Rectangle rect = mpView->GetMarkedObjRect(); in KeyInput()
1032 if(mpView->GetMarkedObjectList().GetMarkCount() == 0) in KeyInput()
1034 mpView->ResetCreationActive(); in KeyInput()
1067 mpView->ResetCreationActive(); in Activate()
1068 mpView->SetEditMode(SDREDITMODE_EDIT); in Activate()
1084 if ( mpView->GetDragMode() != eMode ) in Activate()
1085 mpView->SetDragMode(eMode); in Activate()
1093 if ( mpView->GetDragMode() != eMode ) in Activate()
1094 mpView->SetDragMode(eMode); in Activate()
1102 if ( mpView->GetDragMode() != eMode ) in Activate()
1103 mpView->SetDragMode(eMode); in Activate()
1111 if ( mpView->GetDragMode() != eMode ) in Activate()
1112 mpView->SetDragMode(eMode); in Activate()
1120 if ( mpView->GetDragMode() != eMode ) in Activate()
1121 mpView->SetDragMode(eMode); in Activate()
1129 if ( mpView->GetDragMode() != eMode ) in Activate()
1130 mpView->SetDragMode(eMode); in Activate()
1138 if ( mpView->GetDragMode() != eMode ) in Activate()
1140 mpView->SetDragMode(eMode); in Activate()
1141 mpView->SetCrookMode(SDRCROOK_ROTATE); in Activate()
1150 if ( mpView->GetDragMode() != eMode ) in Activate()
1152 mpView->SetDragMode(eMode); in Activate()
1153 mpView->SetCrookMode(SDRCROOK_SLANT); in Activate()
1162 if ( mpView->GetDragMode() != eMode ) in Activate()
1164 mpView->SetDragMode(eMode); in Activate()
1165 mpView->SetCrookMode(SDRCROOK_STRETCH); in Activate()
1175 if ( mpView->GetDragMode() != eMode ) in Activate()
1176 mpView->SetDragMode(eMode); in Activate()
1178 if (!mpView->Is3DRotationCreationActive()) in Activate()
1179 mpView->Start3DCreation(); in Activate()
1189 if ( mpView->GetDragMode() != eMode ) in Activate()
1190 mpView->SetDragMode(eMode); in Activate()
1229 if ((mpView->Is3DRotationCreationActive() && !bSuppressChangesOfSelection)) in SelectionHasChanged()
1232 mpView->ResetCreationActive(); in SelectionHasChanged()
1238 mpViewShell->GetViewShellBase().GetToolBarManager()->SelectionHasChanged(*mpViewShell, *mpView); in SelectionHasChanged()
1254 mpView->SetInsObjPointMode(sal_True); in SetEditMode()
1258 mpView->SetInsObjPointMode(sal_False); in SetEditMode()
1290 const SetOfByte* pVisiLayer = &mpView->GetSdrPageView()->GetVisibleLayers(); in AnimateObj()
1305 … (SdrObjectPrimitiveHit(*pObj, aHitPosR, nHitLog, *mpView->GetSdrPageView(), pVisiLayer, false) && in AnimateObj()
1306 … SdrObjectPrimitiveHit(*pObj, aHitPosL, nHitLog, *mpView->GetSdrPageView(), pVisiLayer, false) && in AnimateObj()
1307 … SdrObjectPrimitiveHit(*pObj, aHitPosT, nHitLog, *mpView->GetSdrPageView(), pVisiLayer, false) && in AnimateObj()
1308 … SdrObjectPrimitiveHit(*pObj, aHitPosB, nHitLog, *mpView->GetSdrPageView(), pVisiLayer, false) ) ) in AnimateObj()
1332 mpView->ISA(DrawView) && in AnimateObj()
1436 mpView->UnmarkAll(); in AnimateObj()
1437 mpView->MarkObj(pObj, mpView->GetSdrPageView(), sal_False, sal_False); in AnimateObj()
1531 mpView->ISA(DrawView) && in AnimateObj()
1567 if (mpView->Is3DRotationCreationActive()) in cancel()
1569 mpView->ResetCreationActive(); in cancel()
1587 mpView->PickObj (rTestPoint, nHitLog, pObject, pPageView, SDRSEARCH_PICKMARKABLE); in pickObject()