20#ifndef INCLUDED_SVX_SVDDRGV_HXX
21#define INCLUDED_SVX_SVDDRGV_HXX
36 eDragXorPolyLimit = 100,
37 eDragXorPointLimit = 500
67 bool ImpBegInsObjPoint(
bool bIdxZwang,
const Point& rPnt,
bool bNewObj,
OutputDevice* pOut);
78 virtual bool IsAction()
const override;
95 bool TakeDragObjAnchorPos(
Point& rPos,
bool bTopRight )
const;
101 void MovDragObj(
const Point& rPnt);
102 bool EndDragObj(
bool bCopy=
false);
104 bool IsDragObj()
const {
return mpCurrentSdrDragMethod && !mbInsPolyPoint && !mbInsGluePoint; }
123 bool IsInsObjPointPossible()
const;
124 bool BegInsObjPoint(
const Point& rPnt,
bool bNewObj) {
return ImpBegInsObjPoint(
false, rPnt, bNewObj,
nullptr); }
134 bool IsInsGluePointPossible()
const;
135 bool BegInsGluePoint(
const Point& rPnt);
145 void SetDragStripes(
bool bOn);
155 void SetNoDragXorPolys(
bool bOn);
169 void SetSolidDragging(
bool bOn);
170 bool IsSolidDragging()
const;
189 bool IsOrthoDesired()
const;
SdrDragMethod * GetDragMethod() const
const tools::Rectangle & GetWorkArea() const
void SetWorkArea(const tools::Rectangle &rRect)
sal_Int32 GetDragThresholdPixels() const
OUString maInsPointUndoStr
SdrUndoGeoObj * mpInsPointUndo
bool IsDragWithCopy() const
bool IsNoDragXorPolys() const
sal_Int32 mnDragThresholdPixels
bool IsInsGluePointMode() const
bool IsInsGluePoint() const
void SetDragWithCopy(bool bOn)
bool mbMarkedHitMovesAlways
bool IsDragStripes() const
bool IsInsertGluePoint() const
void SetDragThresholdPixels(sal_Int32 nDragThresholdPixels)
bool IsDraggingGluePoints() const
tools::Rectangle maDragLimit
bool IsResizeAtCenter() const
void SetInsGluePointMode(bool bOn)
bool IsInsObjPoint() const
void SetInsObjPointMode(bool bOn)
void MovInsObjPoint(const Point &rPnt)
void SetResizeAtCenter(bool bOn)
bool BegInsObjPoint(const Point &rPnt, bool bNewObj)
static size_t GetDragXorPolyLimit()
void SetMarkedHitMovesAlways(bool bOn)
SdrHdl * GetDragHdl() const
bool IsCrookAtCenter() const
bool IsInsObjPointMode() const
bool IsMarkedHitMovesAlways() const
void SetCrookAtCenter(bool bOn)
void SetInsertGluePoint(bool bOn)
bool IsDraggingPoints() const
std::unique_ptr< SdrDragMethod > mpCurrentSdrDragMethod
static size_t GetDragXorPointLimit()
virtual void SetMarkHandles(SfxViewShell *pOtherShell)
virtual void BrkAction() override
virtual void MovAction(const Point &rPnt) override
virtual bool IsAction() const override
virtual void EndAction() override
virtual void TakeActionRect(tools::Rectangle &rRect) const override
virtual void BckAction() override
tools::Rectangle maMaxWorkArea
Changing the geometry of an object.
#define SVXCORE_DLLPUBLIC