26 class CircleProperties;
134 virtual std::unique_ptr<SdrObjGeoData>
NewGeoData()
const override;
Degree100 GetEndAngle() const
Degree100 GetStartAngle() const
SdrCircKind GetCircleKind() const
All geometrical data of an arbitrary object for use in undo/redo.
Rectangle objects (rectangle, circle, ...)
virtual void NbcShear(const Point &rRef, Degree100 nAngle, double tn, bool bVShear) override
virtual void TakeUnrotatedSnapRect(tools::Rectangle &rRect) const override
virtual std::unique_ptr< sdr::properties::BaseProperties > CreateObjectSpecificProperties() override
virtual void NbcSetSnapRect(const tools::Rectangle &rRect) override
virtual bool hasSpecialDrag() const override
The standard transformations (Move,Resize,Rotate,Mirror,Shear) are taken over by the View (TakeXorPol...
virtual void NbcResize(const Point &rRef, const Fraction &xFact, const Fraction &yFact) override
virtual void RecalcXPoly()
Subclasses should override RecalcXPoly() by creating an XPolygon instance with new and assigning it t...
virtual rtl::Reference< SdrObject > DoConvertToPolyObj(bool bBezier, bool bAddText) const override
virtual sal_uInt32 GetHdlCount() const override
Via GetHdlCount the number of Handles can be retrieved.
virtual basegfx::B2DPolyPolygon TakeCreatePoly(const SdrDragStat &rDrag) const override
Polygon dragged by the user when creating the object.
virtual SdrObjKind GetObjIdentifier() const override
virtual OUString TakeObjNamePlural() const override
virtual void RecalcSnapRect() override
Snap is not done on the BoundRect but if possible on logic coordinates (i.e.
virtual rtl::Reference< SdrObject > CloneSdrObject(SdrModel &rTargetModel) const override
virtual basegfx::B2DPolyPolygon TakeXorPoly() const override
The Xor-Polygon is required by the View to drag the object.
virtual PointerStyle GetCreatePointer() const override
get the cursor/pointer that signals creating this object
virtual OUString getSpecialDragComment(const SdrDragStat &rDrag) const override
virtual void TakeObjInfo(SdrObjTransformInfoRec &rInfo) const override
virtual void AddToHdlList(SdrHdlList &rHdlList) const override
virtual void Notify(SfxBroadcaster &rBC, const SfxHint &rHint) override
Detects when a stylesheet is changed.
virtual OUString TakeObjNameSingul() const override
virtual void RestoreGeoData(const SdrObjGeoData &rGeo) override
virtual std::unique_ptr< sdr::contact::ViewContact > CreateObjectSpecificViewContact() override
virtual bool applySpecialDrag(SdrDragStat &rDrag) override
virtual void NbcMirror(const Point &rRef1, const Point &rRef2) override
virtual bool beginSpecialDrag(SdrDragStat &rDrag) const override
virtual void NbcMove(const Size &rSiz) override
The methods Move, Resize, Rotate, Mirror, Shear, SetSnapRect and SetLogicRect call the corresponding ...
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 void SaveGeoData(SdrObjGeoData &rGeo) const override
virtual bool MovCreate(SdrDragStat &rStat) override
virtual bool BegCreate(SdrDragStat &rStat) override
Every object must be able to create itself interactively.
virtual void BrkCreate(SdrDragStat &rStat) 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 bool EndCreate(SdrDragStat &rStat, SdrCreateCmd eCmd) override
SVXCORE_DLLPUBLIC SdrCircKind ToSdrCircKind(SdrObjKind)
#define SVXCORE_DLLPUBLIC