20#ifndef INCLUDED_SVX_SVDDRAG_HXX
21#define INCLUDED_SVX_SVDDRAG_HXX
80 sal_Int32
GetPrevPos()
const {
return mvPnts.size()-(mvPnts.size()>1 ? 2 : 1); }
89 sal_Int32 objectOrdNum = -1;
114 void SetUser(std::unique_ptr<SdrDragStatUserData> pU) { mpUserData = std::move(pU); }
121 void SetMinMove(sal_uInt16 nDist) { nMinMov=nDist;
if (nMinMov<1) nMinMov=1; }
154 void NextMove(
const Point& rPnt);
157 bool CheckMinMoved(
const Point& rPnt);
void SetView(SdrView *pV)
const Point & GetPoint(sal_Int32 nNum) const
const Point & GetRef2() const
bool IsOrtho4Possible() const
std::unique_ptr< SdrDragStatUserData > mpUserData
bool mbEndDragChangesLayout
Table row drag: table will re-layout itself later.
bool bEndDragChangesGeoAndAttributes
void SetNow(Point const &pt)
const Point & GetPos0() const
void SetUser(std::unique_ptr< SdrDragStatUserData > pU)
void SetActionRect(const tools::Rectangle &rR)
void SetDragMethod(SdrDragMethod *pMth)
sal_Int32 GetPointCount() const
bool IsEndDragChangesLayout() const
void SetRef2(const Point &pt)
SdrDragStatUserData * GetUser() const
const Point & GetRef1() const
bool IsEndDragChangesGeoAndAttributes() const
bool bEndDragChangesAttributes
bool IsOrtho8Possible() const
tools::Long GetDY() const
std::vector< Point > mvPnts
void SetOrtho4Possible(bool bOn=true)
const Point & GetStart() const
SdrDragMethod * GetDragMethod() const
SdrView * GetView() const
void SetHorFixed(bool bOn)
void SetMouseDown(bool bDown)
void SetEndDragChangesGeoAndAttributes(bool bOn)
void SetPageView(SdrPageView *pPV)
void SetVerFixed(bool bOn)
const SdrHdl * GetHdl() const
const Point & GetNow() const
void SetNoSnap(bool bOn=true)
void SetOrtho8Possible(bool bOn=true)
SdrPageView * GetPageView() const
void SetEndDragChangesAttributes(bool bOn)
tools::Long GetDX() const
SdrDragMethod * pDragMethod
const tools::Rectangle & GetActionRect() const
sal_Int32 GetPrevPos() const
const Point & GetPrev() const
void SetMinMove(sal_uInt16 nDist)
bool IsEndDragChangesAttributes() const
tools::Rectangle aActionRect
void SetEndDragChangesLayout(bool bOn)
void SetRef1(const Point &pt)
void Clear(EHistoryType eHistory)
virtual ~SdrDragStatUserData()=0
#define SVXCORE_DLLPUBLIC