Lines Matching refs:mpView
106 mpView->BrkAction(); in ~FuDraw()
136 if (mpView->IsDragObj()) in MouseButtonDown()
139 const SdrHdl* pHdl = mpView->GetDragStat().GetHdl(); in MouseButtonDown()
160 if (!mpView->IsSnapEnabled()) in MouseButtonDown()
161 mpView->SetSnapEnabled(sal_True); in MouseButtonDown()
167 if (mpView->IsGridSnap() != bGridSnap) in MouseButtonDown()
168 mpView->SetGridSnap(bGridSnap); in MouseButtonDown()
173 if (mpView->IsBordSnap() != bBordSnap) in MouseButtonDown()
174 mpView->SetBordSnap(bBordSnap); in MouseButtonDown()
179 if (mpView->IsHlplSnap() != bHlplSnap) in MouseButtonDown()
180 mpView->SetHlplSnap(bHlplSnap); in MouseButtonDown()
185 if (mpView->IsOFrmSnap() != bOFrmSnap) in MouseButtonDown()
186 mpView->SetOFrmSnap(bOFrmSnap); in MouseButtonDown()
191 if (mpView->IsOPntSnap() != bOPntSnap) in MouseButtonDown()
192 mpView->SetOPntSnap(bOPntSnap); in MouseButtonDown()
197 if (mpView->IsOConSnap() != bOConSnap) in MouseButtonDown()
198 mpView->SetOConSnap(bOConSnap); in MouseButtonDown()
202 if (mpView->IsAngleSnapEnabled() != bAngleSnap) in MouseButtonDown()
203 mpView->SetAngleSnapEnabled(bAngleSnap); in MouseButtonDown()
205 if (mpView->IsOrtho() != bOrtho) in MouseButtonDown()
206 mpView->SetOrtho(bOrtho); in MouseButtonDown()
210 if ( mpView->IsCreate1stPointAsCenter() != bCenter || in MouseButtonDown()
211 mpView->IsResizeAtCenter() != bCenter ) in MouseButtonDown()
213 mpView->SetCreate1stPointAsCenter(bCenter); in MouseButtonDown()
214 mpView->SetResizeAtCenter(bCenter); in MouseButtonDown()
222 if(mpView->IsHlplVisible()) in MouseButtonDown()
223 bHelpLine = mpView->PickHelpLine(aMDPos, nHitLog, *mpWindow, nHelpLine, pPV); in MouseButtonDown()
224 sal_Bool bHitHdl = (mpView->PickHandle(aMDPos) != NULL); in MouseButtonDown()
227 && !mpView->IsCreateObj() in MouseButtonDown()
228 …&& ((mpView->GetEditMode() == SDREDITMODE_EDIT && !bHitHdl) || (rMEvt.IsShift() && bSnapModPressed… in MouseButtonDown()
231 mpView->BegDragHelpLine(nHelpLine, pPV); in MouseButtonDown()
232 bDragHelpLine = mpView->IsDragHelpLine(); in MouseButtonDown()
258 if (mpView->IsDragObj()) in MouseMove()
261 const SdrHdl* pHdl = mpView->GetDragStat().GetHdl(); in MouseMove()
270 if (mpView->IsAction()) in MouseMove()
285 mpView->SetDragWithCopy(rMEvt.IsMod1() && pFrameView->IsDragWithCopy()); in MouseMove()
290 if (mpView->IsGridSnap() != bGridSnap) in MouseMove()
291 mpView->SetGridSnap(bGridSnap); in MouseMove()
296 if (mpView->IsBordSnap() != bBordSnap) in MouseMove()
297 mpView->SetBordSnap(bBordSnap); in MouseMove()
302 if (mpView->IsHlplSnap() != bHlplSnap) in MouseMove()
303 mpView->SetHlplSnap(bHlplSnap); in MouseMove()
308 if (mpView->IsOFrmSnap() != bOFrmSnap) in MouseMove()
309 mpView->SetOFrmSnap(bOFrmSnap); in MouseMove()
314 if (mpView->IsOPntSnap() != bOPntSnap) in MouseMove()
315 mpView->SetOPntSnap(bOPntSnap); in MouseMove()
320 if (mpView->IsOConSnap() != bOConSnap) in MouseMove()
321 mpView->SetOConSnap(bOConSnap); in MouseMove()
325 if (mpView->IsAngleSnapEnabled() != bAngleSnap) in MouseMove()
326 mpView->SetAngleSnapEnabled(bAngleSnap); in MouseMove()
328 if (mpView->IsOrtho() != bOrtho) in MouseMove()
329 mpView->SetOrtho(bOrtho); in MouseMove()
333 if ( mpView->IsCreate1stPointAsCenter() != bCenter || in MouseMove()
334 mpView->IsResizeAtCenter() != bCenter ) in MouseMove()
336 mpView->SetCreate1stPointAsCenter(bCenter); in MouseMove()
337 mpView->SetResizeAtCenter(bCenter); in MouseMove()
340 if ( mpView->IsDragHelpLine() ) in MouseMove()
341 mpView->MovDragHelpLine(aPos); in MouseMove()
344 sal_Bool bReturn = mpView->MouseMove(rMEvt, mpWindow); in MouseMove()
346 if (mpView->IsAction()) in MouseMove()
349 if (mpView->IsOrtho() != bOrtho) in MouseMove()
350 mpView->SetOrtho(bOrtho); in MouseMove()
366 if ( mpView->IsDragHelpLine() ) in MouseButtonUp()
367 mpView->EndDragHelpLine(); in MouseButtonUp()
374 mpView->GetSdrPageView()->DeleteHelpLine(nHelpLine); in MouseButtonUp()
380 mpView->SetOrtho( pFrameView->IsOrtho() ); in MouseButtonUp()
381 mpView->SetAngleSnapEnabled( pFrameView->IsAngleSnapEnabled() ); in MouseButtonUp()
382 mpView->SetSnapEnabled(sal_True); in MouseButtonUp()
383 mpView->SetCreate1stPointAsCenter(sal_False); in MouseButtonUp()
384 mpView->SetResizeAtCenter(sal_False); in MouseButtonUp()
385 mpView->SetDragWithCopy(pFrameView->IsDragWithCopy()); in MouseButtonUp()
386 mpView->SetGridSnap(pFrameView->IsGridSnap()); in MouseButtonUp()
387 mpView->SetBordSnap(pFrameView->IsBordSnap()); in MouseButtonUp()
388 mpView->SetHlplSnap(pFrameView->IsHlplSnap()); in MouseButtonUp()
389 mpView->SetOFrmSnap(pFrameView->IsOFrmSnap()); in MouseButtonUp()
390 mpView->SetOPntSnap(pFrameView->IsOPntSnap()); in MouseButtonUp()
391 mpView->SetOConSnap(pFrameView->IsOConSnap()); in MouseButtonUp()
425 if ( mpView && mpView->IsPresObjSelected(sal_False, sal_True, sal_False, sal_True) ) in KeyInput()
448 mpView->DeleteMarked(); in KeyInput()
471 if(!mpView->MarkNextObj( !aCode.IsShift() )) in KeyInput()
474 if ( mpView->GetMarkableObjCount() > 1 && mpView->AreObjectsMarked() ) in KeyInput()
478 mpView->UnmarkAllObj(); in KeyInput()
479 mpView->MarkNextObj(!aCode.IsShift()); in KeyInput()
484 if(mpView->AreObjectsMarked()) in KeyInput()
485 mpView->MakeVisible(mpView->GetAllMarkedRect(), *mpWindow); in KeyInput()
499 mpView->UnmarkAllObj(); in KeyInput()
500 mpView->MarkNextObj(sal_False); in KeyInput()
503 if(mpView->AreObjectsMarked()) in KeyInput()
504 mpView->MakeVisible(mpView->GetAllMarkedRect(), *mpWindow); in KeyInput()
518 mpView->UnmarkAllObj(); in KeyInput()
519 mpView->MarkNextObj(sal_True); in KeyInput()
522 if(mpView->AreObjectsMarked()) in KeyInput()
523 mpView->MakeVisible(mpView->GetAllMarkedRect(), *mpWindow); in KeyInput()
614 if (mpView->IsDragObj()) in ForcePointer()
616 if (SD_MOD()->GetWaterCan() && !mpView->PickHandle(aPnt)) in ForcePointer()
627 SdrHdl* pHdl = mpView->PickHandle(aPnt); in ForcePointer()
651 else if (!mpView->IsAction()) in ForcePointer()
657 SdrDragMode eDragMode = mpView->GetDragMode(); in ForcePointer()
661 eHit = mpView->PickAnything(*pMEvt, SDRMOUSEMOVE, aVEvt); in ForcePointer()
670 const SdrMarkList& rMarkList = mpView->GetMarkedObjectList(); in ForcePointer()
682 mpView->PickObj(aPnt, mpView->getHitTolLog(), pObj, pPV, SDRSEARCH_ALSOONMASTER); in ForcePointer()
711 …if (mpView->PickObj(aPnt, mpView->getHitTolLog(), pObj, pPV, SDRSEARCH_ALSOONMASTER | SDRSEARCH_DE… in ForcePointer()
720 mpWindow->SetPointer(mpView->GetPreferedPointer( in ForcePointer()
745 const SetOfByte* pVisiLayer = &mpView->GetSdrPageView()->GetVisibleLayers(); in SetPointer()
759 … ( SdrObjectPrimitiveHit(*pObj, aHitPosR, nHitLog, *mpView->GetSdrPageView(), pVisiLayer, false) && in SetPointer()
760 … SdrObjectPrimitiveHit(*pObj, aHitPosL, nHitLog, *mpView->GetSdrPageView(), pVisiLayer, false) && in SetPointer()
761 … SdrObjectPrimitiveHit(*pObj, aHitPosT, nHitLog, *mpView->GetSdrPageView(), pVisiLayer, false) && in SetPointer()
762 SdrObjectPrimitiveHit(*pObj, aHitPosB, nHitLog, *mpView->GetSdrPageView(), pVisiLayer, false))) in SetPointer()
775 if ((mpView->ISA(DrawView) && in SetPointer()
787 (mpView->ISA(DrawView) && in SetPointer()
828 if ( mpView->AreObjectsMarked() ) in DoubleClick()
830 const SdrMarkList& rMarkList = mpView->GetMarkedObjectList(); in DoubleClick()
872 mpView->UnMarkAll(); in DoubleClick()
873 mpView->MarkObj(aMDPos, nHitLog, rMEvt.IsShift(), sal_True); in DoubleClick()
897 SdrHitKind eHit = mpView->PickAnything(aMEvt, SDRMOUSEBUTTONDOWN, aVEvt); in RequestHelp()
914 …if (mpView->PickObj(aPos, mpView->getHitTolLog(), pObj, pPV, SDRSEARCH_ALSOONMASTER | SDRSEARCH_DE… in RequestHelp()
1102 if ( mpView->IsAction() ) in cancel()
1104 mpView->BrkAction(); in cancel()
1107 else if ( mpView->IsTextEdit() ) in cancel()
1109 mpView->SdrEndTextEdit(); in cancel()
1116 else if ( mpView->AreObjectsMarked() ) in cancel()
1119 const SdrHdlList& rHdlList = mpView->GetHdlList(); in cancel()
1128 mpView->UnmarkAll(); in cancel()