45 virtual std::unique_ptr<SdrObjGeoData>
NewGeoData()
const override;
58 const SdrObject& GetReferencedObj()
const;
65 virtual void SetName(
const OUString& rStr,
const bool bSetChanged =
true)
override;
66 virtual const OUString&
GetName()
const override;
67 virtual void SetTitle(
const OUString& rStr)
override;
68 virtual OUString
GetTitle()
const override;
115 virtual void Move(
const Size& rSiz)
override;
117 bool bUnsetRelative =
true)
override;
142 virtual std::unique_ptr<SdrObjGeoData>
GetGeoData()
const override;
147 virtual bool HasMacro()
const override;
155 virtual Point GetOffset()
const;
All geometrical data of an arbitrary object for use in undo/redo.
virtual bool BckCreate(SdrDragStat &rStat)
virtual void RecalcSnapRect()
Snap is not done on the BoundRect but if possible on logic coordinates (i.e.
virtual void NbcSetAnchorPos(const Point &rPnt)
virtual Degree100 GetShearAngle(bool bVertical=false) const
virtual bool DoMacro(const SdrObjMacroHitRec &rRec)
virtual Degree100 GetRotateAngle() const
virtual void NbcSetPoint(const Point &rPnt, sal_uInt32 i)
virtual bool beginSpecialDrag(SdrDragStat &rDrag) const
virtual rtl::Reference< SdrObject > getFullDragClone() const
virtual void NbcSetLogicRect(const tools::Rectangle &rRect)
virtual sdr::properties::BaseProperties & GetProperties() const
virtual void NbcResize(const Point &rRef, const Fraction &xFact, const Fraction &yFact)
virtual void Shear(const Point &rRef, Degree100 nAngle, double tn, bool bVShear)
virtual OUString TakeObjNamePlural() const
virtual Point GetPoint(sal_uInt32 i) const
virtual bool BegCreate(SdrDragStat &rStat)
Every object must be able to create itself interactively.
virtual basegfx::B2DPolyPolygon TakeXorPoly() const
The Xor-Polygon is required by the View to drag the object.
virtual OUString GetTitle() const
virtual void SetTitle(const OUString &rStr)
virtual void RestoreGeoData(const SdrObjGeoData &rGeo)
virtual std::unique_ptr< SdrObjGeoData > GetGeoData() const
virtual void SetDescription(const OUString &rStr)
virtual SdrInventor GetObjInventor() const
virtual basegfx::B2DPolyPolygon TakeCreatePoly(const SdrDragStat &rDrag) const
Polygon dragged by the user when creating the object.
virtual sal_uInt32 GetSnapPointCount() const
snap to special points of an Object (polygon points, center of circle)
virtual bool supportsFullDrag() const
virtual basegfx::B2DPolyPolygon getSpecialDragPoly(const SdrDragStat &rDrag) const
virtual void Mirror(const Point &rRef1, const Point &rRef2)
virtual SdrObjList * GetSubList() const
virtual bool IsPolyObj() const
virtual void SaveGeoData(SdrObjGeoData &rGeo) const
virtual bool MovCreate(SdrDragStat &rStat)
virtual void Move(const Size &rSiz)
virtual bool HasLimitedRotation() const
virtual const tools::Rectangle & GetCurrentBoundRect() const
virtual OUString GetDescription() const
virtual void NbcSetSnapRect(const tools::Rectangle &rRect)
virtual void NbcMirror(const Point &rRef1, const Point &rRef2)
virtual const tools::Rectangle & GetSnapRect() const
virtual void NbcShear(const Point &rRef, Degree100 nAngle, double tn, bool bVShear)
virtual void SetLogicRect(const tools::Rectangle &rRect)
virtual void SetGeoData(const SdrObjGeoData &rGeo)
virtual const OUString & GetName() const
virtual std::unique_ptr< sdr::contact::ViewContact > CreateObjectSpecificViewContact()
virtual void Rotate(const Point &rRef, Degree100 nAngle, double sn, double cs)
virtual void PaintMacro(OutputDevice &rOut, const tools::Rectangle &rDirtyRect, const SdrObjMacroHitRec &rRec) const
virtual OUString getSpecialDragComment(const SdrDragStat &rDrag) const
virtual SdrObjKind GetObjIdentifier() const
virtual const tools::Rectangle & GetLastBoundRect() const
virtual rtl::Reference< SdrObject > CloneSdrObject(SdrModel &rTargetModel) const =0
virtual sal_uInt32 GetHdlCount() const
Via GetHdlCount the number of Handles can be retrieved.
virtual void SetSnapRect(const tools::Rectangle &rRect)
virtual void NbcReformatText()
virtual SdrObject * CheckMacroHit(const SdrObjMacroHitRec &rRec) const
virtual OUString TakeObjNameSingul() const
virtual PointerStyle GetMacroPointer(const SdrObjMacroHitRec &rRec) const
virtual void AddToHdlList(SdrHdlList &rHdlList) const
virtual bool applySpecialDrag(SdrDragStat &rDrag)
virtual bool EndCreate(SdrDragStat &rStat, SdrCreateCmd eCmd)
virtual void RecalcBoundRect()
virtual void BrkCreate(SdrDragStat &rStat)
virtual void SetDecorative(bool isDecorative)
virtual bool hasSpecialDrag() const
The standard transformations (Move,Resize,Rotate,Mirror,Shear) are taken over by the View (TakeXorPol...
virtual std::unique_ptr< SdrObjGeoData > NewGeoData() const
A derived class must override these 3 methods if it has own geometric data that must be saved for Und...
virtual Point GetSnapPoint(sal_uInt32 i) const
virtual void SetName(const OUString &rStr, const bool bSetChanged=true)
virtual bool HasMacro() const
virtual bool IsDecorative() const
virtual void AddToPlusHdlList(SdrHdlList &rHdlList, SdrHdl &rHdl) const
virtual void NbcMove(const Size &rSiz)
The methods Move, Resize, Rotate, Mirror, Shear, SetSnapRect and SetLogicRect call the corresponding ...
virtual sal_uInt32 GetPointCount() const
virtual void TakeObjInfo(SdrObjTransformInfoRec &rInfo) const
virtual const tools::Rectangle & GetLogicRect() const
virtual void Resize(const Point &rRef, const Fraction &xFact, const Fraction &yFact, bool bUnsetRelative=true)
virtual void NbcRotate(const Point &rRef, Degree100 nAngle, double sn, double cs)=0
FIXME: The virtual object is not yet fully implemented and tested.
rtl::Reference< SdrObject > mxRefObj
tools::Rectangle aSnapRect
SdrVirtObj(const SdrVirtObj &)=delete
virtual void Notify(SfxBroadcaster &rBC, const SfxHint &rHint)
#define SVXCORE_DLLPUBLIC