Lines Matching refs:getSdrDragView

356 … if(getSdrDragView().GetSdrPageView() && getSdrDragView().GetSdrPageView()->HasMarkedObjPageView())  in createSdrDragEntries()
358 if(getSdrDragView().IsDraggingPoints()) in createSdrDragEntries()
362 else if(getSdrDragView().IsDraggingGluePoints()) in createSdrDragEntries()
389 const sal_uInt32 nMarkAnz(getSdrDragView().GetMarkedObjectCount()); in createSdrDragEntries_SolidDrag()
390 SdrPageView* pPV = getSdrDragView().GetSdrPageView(); in createSdrDragEntries_SolidDrag()
396 SdrMark* pM = getSdrDragView().GetSdrMarkByIndex(a); in createSdrDragEntries_SolidDrag()
449 const sal_uInt32 nMarkAnz(getSdrDragView().GetMarkedObjectCount()); in createSdrDragEntries_PolygonDrag()
450 …bool bNoPolygons(getSdrDragView().IsNoDragXorPolys() || nMarkAnz > getSdrDragView().GetDragXorPoly… in createSdrDragEntries_PolygonDrag()
456 SdrMark* pM = getSdrDragView().GetSdrMarkByIndex(a); in createSdrDragEntries_PolygonDrag()
458 if(pM->GetPageView() == getSdrDragView().GetSdrPageView()) in createSdrDragEntries_PolygonDrag()
467 if(nPointCount > getSdrDragView().GetDragXorPointLimit()) in createSdrDragEntries_PolygonDrag()
481 const Rectangle aR(getSdrDragView().GetSdrPageView()->MarkSnap()); in createSdrDragEntries_PolygonDrag()
496 const sal_uInt32 nMarkAnz(getSdrDragView().GetMarkedObjectCount()); in createSdrDragEntries_PointDrag()
501 SdrMark* pM = getSdrDragView().GetSdrMarkByIndex(nm); in createSdrDragEntries_PointDrag()
503 if(pM->GetPageView() == getSdrDragView().GetSdrPageView()) in createSdrDragEntries_PointDrag()
544 const sal_uInt32 nMarkAnz(getSdrDragView().GetMarkedObjectCount()); in createSdrDragEntries_GlueDrag()
549 SdrMark* pM = getSdrDragView().GetSdrMarkByIndex(nm); in createSdrDragEntries_GlueDrag()
551 if(pM->GetPageView() == getSdrDragView().GetSdrPageView()) in createSdrDragEntries_GlueDrag()
594 getSdrDragView().ImpTakeDescriptionStr(nStrCacheID,rStr,nVal,nOpt); in ImpTakeDescriptionStr()
600 if (getSdrDragView().pDragHdl!=NULL) pObj=getSdrDragView().pDragHdl->GetObj(); in GetDragObj()
601 if (pObj==NULL) pObj=getSdrDragView().pMarkedObj; in GetDragObj()
608 if (getSdrDragView().pDragHdl!=NULL) pPV=getSdrDragView().pDragHdl->GetPageView(); in GetDragPV()
609 if (pPV==NULL) pPV=getSdrDragView().pMarkedPV; in GetDragPV()
670 mbSolidDraggingActive(getSdrDragView().IsSolidDragging()) in SdrDragMethod()
686 getSdrDragView().ShowDragObj(); in Show()
691 getSdrDragView().HideDragObj(); in Hide()
848 if(getSdrDragView().IsDragStripes()) in CreateOverlayGeometry()
851 getSdrDragView().TakeActionRect(aActionRectangle); in CreateOverlayGeometry()
871 const SdrMarkList& rMarkedNodes = getSdrDragView().GetEdgesOfMarkedNodes(); in DoAddConnectorOverlays()
878 if(!getSdrDragView().IsRubberEdgeDragging() && !getSdrDragView().IsDetailedEdgeDragging()) in DoAddConnectorOverlays()
883 if(getSdrDragView().IsDraggingPoints() || getSdrDragView().IsDraggingGluePoints()) in DoAddConnectorOverlays()
895 const bool bDetail(getSdrDragView().IsDetailedEdgeDragging() && getMoveOnly()); in DoAddConnectorOverlays()
897 if(!bDetail && !getSdrDragView().IsRubberEdgeDragging()) in DoAddConnectorOverlays()
914 const bool bDetail(getSdrDragView().IsDetailedEdgeDragging() && getMoveOnly()); in AddConnectorOverlays()
915 const SdrMarkList& rMarkedNodes = getSdrDragView().GetEdgesOfMarkedNodes(); in AddConnectorOverlays()
1011 if (getSdrDragView().IsDragWithCopy()) rStr+=ImpGetResStr(STR_EditWithCopy); in TakeSdrDragComment()
1065getSdrDragView().CheckSnap(Ref1()+aDif,NULL,nBestXSnap,nBestYSnap,bXSnapped,bYSnapped); in MoveSdrDrag()
1066getSdrDragView().CheckSnap(Ref2()+aDif,NULL,nBestXSnap,nBestYSnap,bXSnapped,bYSnapped); in MoveSdrDrag()
1093 if (getSdrDragView().IsAngleSnapEnabled()) in MoveSdrDrag()
1094 nSA=getSdrDragView().GetSnapAngle(); in MoveSdrDrag()
1096 if (getSdrDragView().IsMirrorAllowed(true,true)) in MoveSdrDrag()
1098 if (!getSdrDragView().IsMirrorAllowed(false,false)) nSA=4500; in MoveSdrDrag()
1099 if (!getSdrDragView().IsMirrorAllowed(true,false)) nSA=9000; in MoveSdrDrag()
1102 if (getSdrDragView().IsOrtho() && nSA!=9000) in MoveSdrDrag()
1243 SdrPageView* pPV = getSdrDragView().GetSdrPageView(); in createSdrDragEntries()
1343 if(getSdrDragView().IsOrtho()) in MoveSdrDrag()
1347 OrthoDistance8(DragStat().GetStart(),aPnt,getSdrDragView().IsBigOrtho()); in MoveSdrDrag()
1351 OrthoDistance4(DragStat().GetStart(),aPnt,getSdrDragView().IsBigOrtho()); in MoveSdrDrag()
1413 const bool bUndo = getSdrDragView().IsUndoEnabled(); in EndSdrDrag()
1417 if(!getSdrDragView().IsInsObjPoint() && pObj->IsInserted() ) in EndSdrDrag()
1421 … pUndo=getSdrDragView().GetModel()->GetSdrUndoFactory().CreateUndoAttrObject(*pObj); in EndSdrDrag()
1425 … vConnectorUndoActions = getSdrDragView().CreateConnectorUndo( *pObj ); in EndSdrDrag()
1426 … pUndo2 = getSdrDragView().GetModel()->GetSdrUndoFactory().CreateUndoGeoObject(*pObj); in EndSdrDrag()
1431 … vConnectorUndoActions = getSdrDragView().CreateConnectorUndo( *pObj ); in EndSdrDrag()
1432 … pUndo= getSdrDragView().GetModel()->GetSdrUndoFactory().CreateUndoGeoObject(*pObj); in EndSdrDrag()
1438 getSdrDragView().BegUndo( pUndo->GetComment() ); in EndSdrDrag()
1442 getSdrDragView().BegUndo(); in EndSdrDrag()
1472 getSdrDragView().AddUndoActions( vConnectorUndoActions ); in EndSdrDrag()
1476 getSdrDragView().AddUndo(pUndo); in EndSdrDrag()
1481 getSdrDragView().AddUndo(pUndo2); in EndSdrDrag()
1502 getSdrDragView().EndUndo(); in EndSdrDrag()
1556 getSdrDragView().GetModel()->TakeMetricStr(DragStat().GetDX(), aStr); in TakeSdrDragComment()
1559 getSdrDragView().GetModel()->TakeMetricStr(DragStat().GetDY(), aStr); in TakeSdrDragComment()
1563 if(getSdrDragView().IsDragWithCopy()) in TakeSdrDragComment()
1565 if(!getSdrDragView().IsInsObjPoint() && !getSdrDragView().IsInsGluePoint()) in TakeSdrDragComment()
1640 if (!getSdrDragView().IsMoveSnapOnlyTopLeft()) in MoveSdrDrag()
1648 bool bOrtho=getSdrDragView().IsOrtho(); in MoveSdrDrag()
1651 OrthoDistance8(DragStat().GetStart(),aPnt,getSdrDragView().IsBigOrtho()); in MoveSdrDrag()
1656 Rectangle aLR(getSdrDragView().GetWorkArea()); in MoveSdrDrag()
1708 if (getSdrDragView().IsDraggingGluePoints()) in MoveSdrDrag()
1766 if (getSdrDragView().IsInsObjPoint() || getSdrDragView().IsInsGluePoint()) in EndSdrDrag()
1771 getSdrDragView().MoveMarkedPoints(Size(DragStat().GetDX(),DragStat().GetDY()),bCopy); in EndSdrDrag()
1775 getSdrDragView().MoveMarkedGluePoints(Size(DragStat().GetDX(),DragStat().GetDY()),bCopy); in EndSdrDrag()
1779 getSdrDragView().MoveMarkedObj(Size(DragStat().GetDX(),DragStat().GetDY()),bCopy); in EndSdrDrag()
1839 getSdrDragView().GetModel()->TakePercentStr(aXFact, aStr); in TakeSdrDragComment()
1849 getSdrDragView().GetModel()->TakePercentStr(aYFact, aStr); in TakeSdrDragComment()
1856 if(getSdrDragView().IsDragWithCopy()) in TakeSdrDragComment()
1881 if (pRefHdl!=NULL && !getSdrDragView().IsResizeAtCenter()) in BeginSdrDrag()
1921 Rectangle aLR(getSdrDragView().GetWorkArea()); in MoveSdrDrag()
2001 bool bOrtho=getSdrDragView().IsOrtho() || !getSdrDragView().IsResizeAllowed(false); in MoveSdrDrag()
2010 if ((Fraction(nXMul,nXDiv)>Fraction(nYMul,nYDiv)) !=getSdrDragView().IsBigOrtho()) in MoveSdrDrag()
2107 getSdrDragView().ResizeMarkedPoints(DragStat().Ref1(),aXFact,aYFact,bCopy); in EndSdrDrag()
2111 getSdrDragView().ResizeMarkedGluePoints(DragStat().Ref1(),aXFact,aYFact,bCopy); in EndSdrDrag()
2115 getSdrDragView().ResizeMarkedObj(DragStat().Ref1(),aXFact,aYFact,bCopy); in EndSdrDrag()
2164 getSdrDragView().GetModel()->TakeWinkStr(nTmpWink, aStr); in TakeSdrDragComment()
2168 if(getSdrDragView().IsDragWithCopy()) in TakeSdrDragComment()
2205 if (getSdrDragView().IsAngleSnapEnabled()) in MoveSdrDrag()
2206 nSA=getSdrDragView().GetSnapAngle(); in MoveSdrDrag()
2208 if (!getSdrDragView().IsRotateAllowed(false)) in MoveSdrDrag()
2252 getSdrDragView().RotateMarkedPoints(DragStat().GetRef1(),nWink,bCopy); in EndSdrDrag()
2256 getSdrDragView().RotateMarkedGluePoints(DragStat().GetRef1(),nWink,bCopy); in EndSdrDrag()
2260 getSdrDragView().RotateMarkedObj(DragStat().GetRef1(),nWink,bCopy); in EndSdrDrag()
2302 getSdrDragView().GetModel()->TakeWinkStr(nTmpWink, aStr); in TakeSdrDragComment()
2306 if(getSdrDragView().IsDragWithCopy()) in TakeSdrDragComment()
2370 bResize=!getSdrDragView().IsOrtho(); in MoveSdrDrag()
2373 if (getSdrDragView().IsAngleSnapEnabled()) in MoveSdrDrag()
2374 nSA=getSdrDragView().GetSnapAngle(); in MoveSdrDrag()
2517 getSdrDragView().BegUndo(aStr); in EndSdrDrag()
2524 getSdrDragView().ResizeMarkedObj(DragStat().GetRef1(),aFact,Fraction(1,1),bCopy); in EndSdrDrag()
2528 getSdrDragView().ResizeMarkedObj(DragStat().GetRef1(),Fraction(1,1),aFact,bCopy); in EndSdrDrag()
2536 getSdrDragView().ShearMarkedObj(DragStat().GetRef1(),nWink,bVertical,bCopy); in EndSdrDrag()
2540 getSdrDragView().EndUndo(); in EndSdrDrag()
2596 if (getSdrDragView().IsDragWithCopy()) in TakeSdrDragComment()
2616 if (!getSdrDragView().IsMirrorAllowed(false,false) && !b45) in BeginSdrDrag()
2619 if (!getSdrDragView().IsMirrorAllowed(true,false) && !b90) in BeginSdrDrag()
2676 getSdrDragView().MirrorMarkedObj(DragStat().GetRef1(),DragStat().GetRef2(),bCopy); in EndSdrDrag()
2812 …pIAOHandle->FromIAOToItem(getSdrDragView().GetMarkedObjectList().GetMark(0)->GetMarkedSdrObj(), fa… in MoveSdrDrag()
2823 …pIAOHandle->FromIAOToItem(getSdrDragView().GetMarkedObjectList().GetMark(0)->GetMarkedSdrObj(), tr… in EndSdrDrag()
2841 …pIAOHandle->FromIAOToItem(getSdrDragView().GetMarkedObjectList().GetMark(0)->GetMarkedSdrObj(), tr… in CancelSdrDrag()
2891 getSdrDragView().GetModel()->TakeWinkStr(nVal, aStr); in TakeSdrDragComment()
2896 if(getSdrDragView().IsDragWithCopy()) in TakeSdrDragComment()
2981 if(getSdrDragView().GetSdrPageView()) in createSdrDragEntries()
2983 …const basegfx::B2DPolyPolygon aDragRaster(impCreateDragRaster(*getSdrDragView().GetSdrPageView(), … in createSdrDragEntries()
2997 bContortionAllowed=getSdrDragView().IsCrookAllowed(false); in BeginSdrDrag()
2998 bNoContortionAllowed=getSdrDragView().IsCrookAllowed(true); in BeginSdrDrag()
2999 bResizeAllowed=getSdrDragView().IsResizeAllowed(false); in BeginSdrDrag()
3000 bRotateAllowed=getSdrDragView().IsRotateAllowed(false); in BeginSdrDrag()
3021 SdrPageView* pPV = getSdrDragView().GetSdrPageView(); in _MovAllPoints()
3031 if (!bContortion && !getSdrDragView().IsNoDragXorPolys()) in _MovAllPoints()
3187 bool bNeuMoveOnly=getSdrDragView().IsMoveOnlyDragging(); in MoveSdrDrag()
3189 SdrCrookMode eNeuMode=getSdrDragView().GetCrookMode(); in MoveSdrDrag()
3190 …bool bNeuContortion=!bNeuMoveOnly && ((bContortionAllowed && !getSdrDragView().IsCrookNoContortion… in MoveSdrDrag()
3191 bResize=!getSdrDragView().IsOrtho() && bResizeAllowed && !bNeuMoveOnly; in MoveSdrDrag()
3206 if (!getSdrDragView().IsCrookAtCenter()) in MoveSdrDrag()
3426 const Rectangle aLocalMarkRect(getSdrDragView().GetMarkedObjRect()); in applyCurrentTransformationToSdrObject()
3427 …const bool bLocalRotate(!bContortion && eMode == SDRCROOK_ROTATE && getSdrDragView().IsRotateAllow… in applyCurrentTransformationToSdrObject()
3429getSdrDragView().ImpCrookObj(&rTarget,aCenter,aRad,eMode,bVertical,!bContortion,bLocalRotate,aLoca… in applyCurrentTransformationToSdrObject()
3447 const bool bUndo = getSdrDragView().IsUndoEnabled(); in EndSdrDrag()
3461 getSdrDragView().BegUndo(aStr); in EndSdrDrag()
3471 getSdrDragView().ResizeMarkedObj(aCenter,aFact1,aFact,bCopy); in EndSdrDrag()
3473 getSdrDragView().ResizeMarkedObj(aCenter,aFact,aFact1,bCopy); in EndSdrDrag()
3478 getSdrDragView().CopyMarkedObj(); in EndSdrDrag()
3480 sal_uLong nMarkAnz=getSdrDragView().GetMarkedObjectList().GetMarkCount(); in EndSdrDrag()
3484 SdrMark* pM=getSdrDragView().GetMarkedObjectList().GetMark(nm); in EndSdrDrag()
3496 … AddUndo(getSdrDragView().GetModel()->GetSdrUndoFactory().CreateUndoMoveObject(*pO,aSiz)); in EndSdrDrag()
3506 getSdrDragView().CrookMarkedObj(aCenter,aRad,eMode,bVertical,!bContortion,bCopy); in EndSdrDrag()
3507 getSdrDragView().SetLastCrookCenter(aCenter); in EndSdrDrag()
3511 getSdrDragView().EndUndo(); in EndSdrDrag()
3544 getSdrDragView().GetModel()->TakeMetricStr(DragStat().GetDX(), aStr); in TakeSdrDragComment()
3547 getSdrDragView().GetModel()->TakeMetricStr(DragStat().GetDY(), aStr); in TakeSdrDragComment()
3551 if(getSdrDragView().IsDragWithCopy()) in TakeSdrDragComment()
3558 if(getSdrDragView().GetSdrPageView()) in createSdrDragEntries()
3560 …const basegfx::B2DPolyPolygon aDragRaster(impCreateDragRaster(*getSdrDragView().GetSdrPageView(), … in createSdrDragEntries()
3574 bContortionAllowed=getSdrDragView().IsDistortAllowed(false); in BeginSdrDrag()
3575 bNoContortionAllowed=getSdrDragView().IsDistortAllowed(true); in BeginSdrDrag()
3603 SdrPageView* pPV = getSdrDragView().GetSdrPageView(); in _MovAllPoints()
3629 if (getSdrDragView().IsOrtho()) in MoveSdrDrag()
3630 OrthoDistance8(DragStat().GetStart(),aPnt,getSdrDragView().IsBigOrtho()); in MoveSdrDrag()
3632 …bool bNeuContortion=(bContortionAllowed && !getSdrDragView().IsCrookNoContortion()) || !bNoContort… in MoveSdrDrag()
3652 getSdrDragView().DistortMarkedObj(aMarkRect,aDistortedRect,!bContortion,bCopy); in EndSdrDrag()
3670 getSdrDragView().ImpDistortObj(&rTarget, aMarkRect, aDistortedRect, !bContortion); in applyCurrentTransformationToSdrObject()
3699 getSdrDragView().GetModel()->TakeMetricStr(DragStat().GetDX(), aStr); in TakeSdrDragComment()
3702 getSdrDragView().GetModel()->TakeMetricStr(DragStat().GetDY(), aStr); in TakeSdrDragComment()
3706 if(getSdrDragView().IsDragWithCopy()) in TakeSdrDragComment()
3731 const SdrMarkList& rMarkList = getSdrDragView().GetMarkedObjectList(); in EndSdrDrag()
3755 const bool bUndo = getSdrDragView().IsUndoEnabled(); in EndSdrDrag()
3762 getSdrDragView().BegUndo( aUndoStr ); in EndSdrDrag()
3763getSdrDragView().AddUndo( getSdrDragView().GetModel()->GetSdrUndoFactory().CreateUndoGeoObject(*pO… in EndSdrDrag()
3765getSdrDragView().AddUndo( getSdrDragView().GetModel()->GetSdrUndoFactory().CreateUndoAttrObject(*p… in EndSdrDrag()
3966 SfxItemPool& rPool = getSdrDragView().GetModel()->GetItemPool(); in EndSdrDrag()
3969 getSdrDragView().SetAttributes( aSet, false ); in EndSdrDrag()
3972 getSdrDragView().EndUndo(); in EndSdrDrag()