51 bool mbHandleScale =
false;
54 std::unique_ptr<ImpPathForDragAndCreate>
mpDAC;
57 void ImpSetClosed(
bool bClose);
59 void ImpForceLineAngle();
126 sal_uInt32 NbcInsPointOld(
const Point& rPos,
bool bNewObj);
127 sal_uInt32 NbcInsPoint(
const Point& rPos,
bool bNewObj);
133 virtual std::unique_ptr<SdrObjGeoData>
NewGeoData()
const override;
171 void SetHandleScale(
bool bHandleScale);
All geometrical data of an arbitrary object for use in undo/redo.
virtual void NbcSetPoint(const Point &rPnt, sal_uInt32 i)
virtual bool beginSpecialDrag(SdrDragStat &rDrag) const
virtual Point GetPoint(sal_uInt32 i) const
virtual basegfx::B2DPolyPolygon getSpecialDragPoly(const SdrDragStat &rDrag) const
virtual bool IsPolyObj() const
virtual void AddToPlusHdlList(SdrHdlList &rHdlList, SdrHdl &rHdl) const
virtual sal_uInt32 GetPointCount() const
virtual ~SdrPathObjGeoData() override
basegfx::B2DPolyPolygon maPathPolygon
basegfx::B2DPolyPolygon maPathPolygon
virtual ~SdrPathObj() override
std::unique_ptr< ImpPathForDragAndCreate > mpDAC
const basegfx::B2DPolyPolygon & GetPathPoly() const
virtual rtl::Reference< SdrObject > CloneSdrObject(SdrModel &rTargetModel) const override
virtual std::unique_ptr< SdrObjGeoData > NewGeoData() const override
A derived class must override these 3 methods if it has own geometric data that must be saved for Und...
virtual OUString getSpecialDragComment(const SdrDragStat &rDrag) const override
virtual void SaveGeoData(SdrObjGeoData &rGeo) const override
virtual void NbcMirror(const Point &rRef1, const Point &rRef2) override
virtual void NbcSetSnapRect(const tools::Rectangle &rRect) override
virtual void RestoreGeoData(const SdrObjGeoData &rGeo) override
virtual void NbcShear(const Point &rRef, Degree100 nAngle, double tn, bool bVShear) override
virtual void NbcMove(const Size &rSiz) override
The methods Move, Resize, Rotate, Mirror, Shear, SetSnapRect and SetLogicRect call the corresponding ...
virtual void RecalcSnapRect() override
Snap is not done on the BoundRect but if possible on logic coordinates (i.e.
virtual bool applySpecialDrag(SdrDragStat &rDrag) override
virtual bool MovCreate(SdrDragStat &rStat) override
virtual sal_uInt32 GetHdlCount() const override
Via GetHdlCount the number of Handles can be retrieved.
virtual OUString TakeObjNameSingul() const override
virtual void TakeObjInfo(SdrObjTransformInfoRec &rInfo) const override
virtual bool BegCreate(SdrDragStat &rStat) override
Every object must be able to create itself interactively.
virtual OUString TakeObjNamePlural() const override
virtual PointerStyle GetCreatePointer() const override
get the cursor/pointer that signals creating this object
virtual void TRSetBaseGeometry(const basegfx::B2DHomMatrix &rMatrix, const basegfx::B2DPolyPolygon &rPolyPolygon) override
virtual basegfx::B2DPolyPolygon TakeXorPoly() const override
The Xor-Polygon is required by the View to drag the object.
virtual const tools::Rectangle & GetLogicRect() const override
virtual void BrkCreate(SdrDragStat &rStat) override
virtual basegfx::B2DPolyPolygon TakeCreatePoly(const SdrDragStat &rDrag) const override
Polygon dragged by the user when creating the object.
virtual std::unique_ptr< sdr::contact::ViewContact > CreateObjectSpecificViewContact() override
virtual Point GetSnapPoint(sal_uInt32 i) const override
virtual sal_uInt32 GetSnapPointCount() const override
snap to special points of an Object (polygon points, center of circle)
virtual bool BckCreate(SdrDragStat &rStat) override
virtual void AddToHdlList(SdrHdlList &rHdlList) const override
virtual SdrObjKind GetObjIdentifier() const override
virtual void TakeUnrotatedSnapRect(tools::Rectangle &rRect) const
virtual rtl::Reference< SdrObject > DoConvertToPolyObj(bool bBezier, bool bAddText) const override
virtual void NbcResize(const Point &rRef, const Fraction &xFact, const Fraction &yFact) override
virtual bool EndCreate(SdrDragStat &rStat, SdrCreateCmd eCmd) override
virtual bool TRGetBaseGeometry(basegfx::B2DHomMatrix &rMatrix, basegfx::B2DPolyPolygon &rPolyPolygon) const override
virtual bool hasSpecialDrag() const override
The standard transformations (Move,Resize,Rotate,Mirror,Shear) are taken over by the View (TakeXorPol...
virtual void NbcRotate(const Point &rRef, Degree100 nAngle, double sn, double cs) override
@ PathFill
open Bezier-curve
@ FreehandLine
closed Bezier-curve
@ PathPolyLine
Polygon/PolyPolygon represented by SdrPathObj.
@ PolyLine
polygon, PolyPolygon
@ FreehandFill
open free-hand line
#define SVXCORE_DLLPUBLIC