Lines Matching refs:getSdrDragView
352 … if(getSdrDragView().GetSdrPageView() && getSdrDragView().GetSdrPageView()->HasMarkedObjPageView()) in createSdrDragEntries()
354 if(getSdrDragView().IsDraggingPoints()) in createSdrDragEntries()
358 else if(getSdrDragView().IsDraggingGluePoints()) in createSdrDragEntries()
384 const sal_uInt32 nMarkAnz(getSdrDragView().GetMarkedObjectCount()); in createSdrDragEntries_SolidDrag()
385 SdrPageView* pPV = getSdrDragView().GetSdrPageView(); in createSdrDragEntries_SolidDrag()
391 SdrMark* pM = getSdrDragView().GetSdrMarkByIndex(a); in createSdrDragEntries_SolidDrag()
443 const sal_uInt32 nMarkAnz(getSdrDragView().GetMarkedObjectCount()); in createSdrDragEntries_PolygonDrag()
444 …bool bNoPolygons(getSdrDragView().IsNoDragXorPolys() || nMarkAnz > getSdrDragView().GetDragXorPoly… in createSdrDragEntries_PolygonDrag()
450 SdrMark* pM = getSdrDragView().GetSdrMarkByIndex(a); in createSdrDragEntries_PolygonDrag()
452 if(pM->GetPageView() == getSdrDragView().GetSdrPageView()) in createSdrDragEntries_PolygonDrag()
461 if(nPointCount > getSdrDragView().GetDragXorPointLimit()) in createSdrDragEntries_PolygonDrag()
475 const Rectangle aR(getSdrDragView().GetSdrPageView()->MarkSnap()); in createSdrDragEntries_PolygonDrag()
490 const sal_uInt32 nMarkAnz(getSdrDragView().GetMarkedObjectCount()); in createSdrDragEntries_PointDrag()
495 SdrMark* pM = getSdrDragView().GetSdrMarkByIndex(nm); in createSdrDragEntries_PointDrag()
497 if(pM->GetPageView() == getSdrDragView().GetSdrPageView()) in createSdrDragEntries_PointDrag()
538 const sal_uInt32 nMarkAnz(getSdrDragView().GetMarkedObjectCount()); in createSdrDragEntries_GlueDrag()
543 SdrMark* pM = getSdrDragView().GetSdrMarkByIndex(nm); in createSdrDragEntries_GlueDrag()
545 if(pM->GetPageView() == getSdrDragView().GetSdrPageView()) in createSdrDragEntries_GlueDrag()
588 getSdrDragView().ImpTakeDescriptionStr(nStrCacheID,rStr,nVal,nOpt); in ImpTakeDescriptionStr()
594 if (getSdrDragView().pDragHdl!=NULL) pObj=getSdrDragView().pDragHdl->GetObj(); in GetDragObj()
595 if (pObj==NULL) pObj=getSdrDragView().pMarkedObj; in GetDragObj()
602 if (getSdrDragView().pDragHdl!=NULL) pPV=getSdrDragView().pDragHdl->GetPageView(); in GetDragPV()
603 if (pPV==NULL) pPV=getSdrDragView().pMarkedPV; in GetDragPV()
664 mbSolidDraggingActive(getSdrDragView().IsSolidDragging()) in SdrDragMethod()
680 getSdrDragView().ShowDragObj(); in Show()
685 getSdrDragView().HideDragObj(); in Hide()
842 if(getSdrDragView().IsDragStripes()) in CreateOverlayGeometry()
845 getSdrDragView().TakeActionRect(aActionRectangle); in CreateOverlayGeometry()
865 const SdrMarkList& rMarkedNodes = getSdrDragView().GetEdgesOfMarkedNodes(); in DoAddConnectorOverlays()
872 if(!getSdrDragView().IsRubberEdgeDragging() && !getSdrDragView().IsDetailedEdgeDragging()) in DoAddConnectorOverlays()
877 if(getSdrDragView().IsDraggingPoints() || getSdrDragView().IsDraggingGluePoints()) in DoAddConnectorOverlays()
889 const bool bDetail(getSdrDragView().IsDetailedEdgeDragging() && getMoveOnly()); in DoAddConnectorOverlays()
891 if(!bDetail && !getSdrDragView().IsRubberEdgeDragging()) in DoAddConnectorOverlays()
908 const bool bDetail(getSdrDragView().IsDetailedEdgeDragging() && getMoveOnly()); in AddConnectorOverlays()
909 const SdrMarkList& rMarkedNodes = getSdrDragView().GetEdgesOfMarkedNodes(); in AddConnectorOverlays()
1004 if (getSdrDragView().IsDragWithCopy()) rStr+=ImpGetResStr(STR_EditWithCopy); in TakeSdrDragComment()
1058 … getSdrDragView().CheckSnap(Ref1()+aDif,NULL,nBestXSnap,nBestYSnap,bXSnapped,bYSnapped); in MoveSdrDrag()
1059 … getSdrDragView().CheckSnap(Ref2()+aDif,NULL,nBestXSnap,nBestYSnap,bXSnapped,bYSnapped); in MoveSdrDrag()
1086 if (getSdrDragView().IsAngleSnapEnabled()) in MoveSdrDrag()
1087 nSA=getSdrDragView().GetSnapAngle(); in MoveSdrDrag()
1089 if (getSdrDragView().IsMirrorAllowed(true,true)) in MoveSdrDrag()
1091 if (!getSdrDragView().IsMirrorAllowed(false,false)) nSA=4500; in MoveSdrDrag()
1092 if (!getSdrDragView().IsMirrorAllowed(true,false)) nSA=9000; in MoveSdrDrag()
1095 if (getSdrDragView().IsOrtho() && nSA!=9000) in MoveSdrDrag()
1236 SdrPageView* pPV = getSdrDragView().GetSdrPageView(); in createSdrDragEntries()
1335 if(getSdrDragView().IsOrtho()) in MoveSdrDrag()
1339 OrthoDistance8(DragStat().GetStart(),aPnt,getSdrDragView().IsBigOrtho()); in MoveSdrDrag()
1343 OrthoDistance4(DragStat().GetStart(),aPnt,getSdrDragView().IsBigOrtho()); in MoveSdrDrag()
1405 const bool bUndo = getSdrDragView().IsUndoEnabled(); in EndSdrDrag()
1409 if(!getSdrDragView().IsInsObjPoint() && pObj->IsInserted() ) in EndSdrDrag()
1413 … pUndo=getSdrDragView().GetModel()->GetSdrUndoFactory().CreateUndoAttrObject(*pObj); in EndSdrDrag()
1417 vConnectorUndoActions = getSdrDragView().CreateConnectorUndo( *pObj ); in EndSdrDrag()
1418 … pUndo2 = getSdrDragView().GetModel()->GetSdrUndoFactory().CreateUndoGeoObject(*pObj); in EndSdrDrag()
1423 vConnectorUndoActions = getSdrDragView().CreateConnectorUndo( *pObj ); in EndSdrDrag()
1424 … pUndo= getSdrDragView().GetModel()->GetSdrUndoFactory().CreateUndoGeoObject(*pObj); in EndSdrDrag()
1430 getSdrDragView().BegUndo( pUndo->GetComment() ); in EndSdrDrag()
1434 getSdrDragView().BegUndo(); in EndSdrDrag()
1464 getSdrDragView().AddUndoActions( vConnectorUndoActions ); in EndSdrDrag()
1468 getSdrDragView().AddUndo(pUndo); in EndSdrDrag()
1473 getSdrDragView().AddUndo(pUndo2); in EndSdrDrag()
1494 getSdrDragView().EndUndo(); in EndSdrDrag()
1548 getSdrDragView().GetModel()->TakeMetricStr(DragStat().GetDX(), aStr); in TakeSdrDragComment()
1551 getSdrDragView().GetModel()->TakeMetricStr(DragStat().GetDY(), aStr); in TakeSdrDragComment()
1555 if(getSdrDragView().IsDragWithCopy()) in TakeSdrDragComment()
1557 if(!getSdrDragView().IsInsObjPoint() && !getSdrDragView().IsInsGluePoint()) in TakeSdrDragComment()
1632 if (!getSdrDragView().IsMoveSnapOnlyTopLeft()) in MoveSdrDrag()
1640 bool bOrtho=getSdrDragView().IsOrtho(); in MoveSdrDrag()
1643 OrthoDistance8(DragStat().GetStart(),aPnt,getSdrDragView().IsBigOrtho()); in MoveSdrDrag()
1648 Rectangle aLR(getSdrDragView().GetWorkArea()); in MoveSdrDrag()
1700 if (getSdrDragView().IsDraggingGluePoints()) in MoveSdrDrag()
1758 if (getSdrDragView().IsInsObjPoint() || getSdrDragView().IsInsGluePoint()) in EndSdrDrag()
1763 getSdrDragView().MoveMarkedPoints(Size(DragStat().GetDX(),DragStat().GetDY()),bCopy); in EndSdrDrag()
1767 getSdrDragView().MoveMarkedGluePoints(Size(DragStat().GetDX(),DragStat().GetDY()),bCopy); in EndSdrDrag()
1771 getSdrDragView().MoveMarkedObj(Size(DragStat().GetDX(),DragStat().GetDY()),bCopy); in EndSdrDrag()
1831 getSdrDragView().GetModel()->TakePercentStr(aXFact, aStr); in TakeSdrDragComment()
1841 getSdrDragView().GetModel()->TakePercentStr(aYFact, aStr); in TakeSdrDragComment()
1848 if(getSdrDragView().IsDragWithCopy()) in TakeSdrDragComment()
1873 if (pRefHdl!=NULL && !getSdrDragView().IsResizeAtCenter()) in BeginSdrDrag()
1913 Rectangle aLR(getSdrDragView().GetWorkArea()); in MoveSdrDrag()
1993 bool bOrtho=getSdrDragView().IsOrtho() || !getSdrDragView().IsResizeAllowed(false); in MoveSdrDrag()
2002 if ((Fraction(nXMul,nXDiv)>Fraction(nYMul,nYDiv)) !=getSdrDragView().IsBigOrtho()) in MoveSdrDrag()
2099 getSdrDragView().ResizeMarkedPoints(DragStat().Ref1(),aXFact,aYFact,bCopy); in EndSdrDrag()
2103 getSdrDragView().ResizeMarkedGluePoints(DragStat().Ref1(),aXFact,aYFact,bCopy); in EndSdrDrag()
2107 getSdrDragView().ResizeMarkedObj(DragStat().Ref1(),aXFact,aYFact,bCopy); in EndSdrDrag()
2156 getSdrDragView().GetModel()->TakeWinkStr(nTmpWink, aStr); in TakeSdrDragComment()
2160 if(getSdrDragView().IsDragWithCopy()) in TakeSdrDragComment()
2197 if (getSdrDragView().IsAngleSnapEnabled()) in MoveSdrDrag()
2198 nSA=getSdrDragView().GetSnapAngle(); in MoveSdrDrag()
2200 if (!getSdrDragView().IsRotateAllowed(false)) in MoveSdrDrag()
2244 getSdrDragView().RotateMarkedPoints(DragStat().GetRef1(),nWink,bCopy); in EndSdrDrag()
2248 getSdrDragView().RotateMarkedGluePoints(DragStat().GetRef1(),nWink,bCopy); in EndSdrDrag()
2252 getSdrDragView().RotateMarkedObj(DragStat().GetRef1(),nWink,bCopy); in EndSdrDrag()
2294 getSdrDragView().GetModel()->TakeWinkStr(nTmpWink, aStr); in TakeSdrDragComment()
2298 if(getSdrDragView().IsDragWithCopy()) in TakeSdrDragComment()
2362 bResize=!getSdrDragView().IsOrtho(); in MoveSdrDrag()
2365 if (getSdrDragView().IsAngleSnapEnabled()) in MoveSdrDrag()
2366 nSA=getSdrDragView().GetSnapAngle(); in MoveSdrDrag()
2509 getSdrDragView().BegUndo(aStr); in EndSdrDrag()
2516 getSdrDragView().ResizeMarkedObj(DragStat().GetRef1(),aFact,Fraction(1,1),bCopy); in EndSdrDrag()
2520 getSdrDragView().ResizeMarkedObj(DragStat().GetRef1(),Fraction(1,1),aFact,bCopy); in EndSdrDrag()
2528 getSdrDragView().ShearMarkedObj(DragStat().GetRef1(),nWink,bVertical,bCopy); in EndSdrDrag()
2532 getSdrDragView().EndUndo(); in EndSdrDrag()
2588 if (getSdrDragView().IsDragWithCopy()) in TakeSdrDragComment()
2608 if (!getSdrDragView().IsMirrorAllowed(false,false) && !b45) in BeginSdrDrag()
2611 if (!getSdrDragView().IsMirrorAllowed(true,false) && !b90) in BeginSdrDrag()
2668 getSdrDragView().MirrorMarkedObj(DragStat().GetRef1(),DragStat().GetRef2(),bCopy); in EndSdrDrag()
2804 …pIAOHandle->FromIAOToItem(getSdrDragView().GetMarkedObjectList().GetMark(0)->GetMarkedSdrObj(), fa… in MoveSdrDrag()
2815 …pIAOHandle->FromIAOToItem(getSdrDragView().GetMarkedObjectList().GetMark(0)->GetMarkedSdrObj(), tr… in EndSdrDrag()
2833 …pIAOHandle->FromIAOToItem(getSdrDragView().GetMarkedObjectList().GetMark(0)->GetMarkedSdrObj(), tr… in CancelSdrDrag()
2883 getSdrDragView().GetModel()->TakeWinkStr(nVal, aStr); in TakeSdrDragComment()
2888 if(getSdrDragView().IsDragWithCopy()) in TakeSdrDragComment()
2973 if(getSdrDragView().GetSdrPageView()) in createSdrDragEntries()
2975 …const basegfx::B2DPolyPolygon aDragRaster(impCreateDragRaster(*getSdrDragView().GetSdrPageView(), … in createSdrDragEntries()
2989 bContortionAllowed=getSdrDragView().IsCrookAllowed(false); in BeginSdrDrag()
2990 bNoContortionAllowed=getSdrDragView().IsCrookAllowed(true); in BeginSdrDrag()
2991 bResizeAllowed=getSdrDragView().IsResizeAllowed(false); in BeginSdrDrag()
2992 bRotateAllowed=getSdrDragView().IsRotateAllowed(false); in BeginSdrDrag()
3013 SdrPageView* pPV = getSdrDragView().GetSdrPageView(); in _MovAllPoints()
3023 if (!bContortion && !getSdrDragView().IsNoDragXorPolys()) in _MovAllPoints()
3179 bool bNeuMoveOnly=getSdrDragView().IsMoveOnlyDragging(); in MoveSdrDrag()
3181 SdrCrookMode eNeuMode=getSdrDragView().GetCrookMode(); in MoveSdrDrag()
3182 …bool bNeuContortion=!bNeuMoveOnly && ((bContortionAllowed && !getSdrDragView().IsCrookNoContortion… in MoveSdrDrag()
3183 bResize=!getSdrDragView().IsOrtho() && bResizeAllowed && !bNeuMoveOnly; in MoveSdrDrag()
3198 if (!getSdrDragView().IsCrookAtCenter()) in MoveSdrDrag()
3418 const Rectangle aLocalMarkRect(getSdrDragView().GetMarkedObjRect()); in applyCurrentTransformationToSdrObject()
3419 …const bool bLocalRotate(!bContortion && eMode == SDRCROOK_ROTATE && getSdrDragView().IsRotateAllow… in applyCurrentTransformationToSdrObject()
3421 …getSdrDragView().ImpCrookObj(&rTarget,aCenter,aRad,eMode,bVertical,!bContortion,bLocalRotate,aLoca… in applyCurrentTransformationToSdrObject()
3439 const bool bUndo = getSdrDragView().IsUndoEnabled(); in EndSdrDrag()
3453 getSdrDragView().BegUndo(aStr); in EndSdrDrag()
3463 getSdrDragView().ResizeMarkedObj(aCenter,aFact1,aFact,bCopy); in EndSdrDrag()
3465 getSdrDragView().ResizeMarkedObj(aCenter,aFact,aFact1,bCopy); in EndSdrDrag()
3470 getSdrDragView().CopyMarkedObj(); in EndSdrDrag()
3472 sal_uLong nMarkAnz=getSdrDragView().GetMarkedObjectList().GetMarkCount(); in EndSdrDrag()
3476 SdrMark* pM=getSdrDragView().GetMarkedObjectList().GetMark(nm); in EndSdrDrag()
3488 … AddUndo(getSdrDragView().GetModel()->GetSdrUndoFactory().CreateUndoMoveObject(*pO,aSiz)); in EndSdrDrag()
3498 getSdrDragView().CrookMarkedObj(aCenter,aRad,eMode,bVertical,!bContortion,bCopy); in EndSdrDrag()
3499 getSdrDragView().SetLastCrookCenter(aCenter); in EndSdrDrag()
3503 getSdrDragView().EndUndo(); in EndSdrDrag()
3536 getSdrDragView().GetModel()->TakeMetricStr(DragStat().GetDX(), aStr); in TakeSdrDragComment()
3539 getSdrDragView().GetModel()->TakeMetricStr(DragStat().GetDY(), aStr); in TakeSdrDragComment()
3543 if(getSdrDragView().IsDragWithCopy()) in TakeSdrDragComment()
3550 if(getSdrDragView().GetSdrPageView()) in createSdrDragEntries()
3552 …const basegfx::B2DPolyPolygon aDragRaster(impCreateDragRaster(*getSdrDragView().GetSdrPageView(), … in createSdrDragEntries()
3566 bContortionAllowed=getSdrDragView().IsDistortAllowed(false); in BeginSdrDrag()
3567 bNoContortionAllowed=getSdrDragView().IsDistortAllowed(true); in BeginSdrDrag()
3595 SdrPageView* pPV = getSdrDragView().GetSdrPageView(); in _MovAllPoints()
3621 if (getSdrDragView().IsOrtho()) in MoveSdrDrag()
3622 OrthoDistance8(DragStat().GetStart(),aPnt,getSdrDragView().IsBigOrtho()); in MoveSdrDrag()
3624 …bool bNeuContortion=(bContortionAllowed && !getSdrDragView().IsCrookNoContortion()) || !bNoContort… in MoveSdrDrag()
3644 getSdrDragView().DistortMarkedObj(aMarkRect,aDistortedRect,!bContortion,bCopy); in EndSdrDrag()
3662 getSdrDragView().ImpDistortObj(&rTarget, aMarkRect, aDistortedRect, !bContortion); in applyCurrentTransformationToSdrObject()
3691 getSdrDragView().GetModel()->TakeMetricStr(DragStat().GetDX(), aStr); in TakeSdrDragComment()
3694 getSdrDragView().GetModel()->TakeMetricStr(DragStat().GetDY(), aStr); in TakeSdrDragComment()
3698 if(getSdrDragView().IsDragWithCopy()) in TakeSdrDragComment()
3723 const SdrMarkList& rMarkList = getSdrDragView().GetMarkedObjectList(); in EndSdrDrag()
3747 const bool bUndo = getSdrDragView().IsUndoEnabled(); in EndSdrDrag()
3754 getSdrDragView().BegUndo( aUndoStr ); in EndSdrDrag()
3755 …getSdrDragView().AddUndo( getSdrDragView().GetModel()->GetSdrUndoFactory().CreateUndoGeoObject(*pO… in EndSdrDrag()
3757 …getSdrDragView().AddUndo( getSdrDragView().GetModel()->GetSdrUndoFactory().CreateUndoAttrObject(*p… in EndSdrDrag()
3958 SfxItemPool& rPool = getSdrDragView().GetModel()->GetItemPool(); in EndSdrDrag()
3961 getSdrDragView().SetAttributes( aSet, false ); in EndSdrDrag()
3964 getSdrDragView().EndUndo(); in EndSdrDrag()