31 class MeasureProperties;
74 void UndirtyText()
const;
76 virtual std::unique_ptr<SdrObjGeoData>
NewGeoData()
const override;
145 bool bEdit, std::optional<Color>& rpTxtColor, std::optional<Color>& rpFldColor, std::optional<FontLineStyle>& rpFldLineStyle, OUString& rRet)
const override;
SdrMeasureFieldKind eMeasureFieldKind
virtual ~SdrMeasureObjGeoData() override
All geometrical data of an arbitrary object for use in undo/redo.
virtual void NbcSetPoint(const Point &rPnt, sal_uInt32 i)
const tools::Rectangle & getOutRectangle() const
virtual bool beginSpecialDrag(SdrDragStat &rDrag) const
virtual Point GetPoint(sal_uInt32 i) const
virtual bool IsPolyObj() const
virtual void SetBoundRectDirty()
virtual void SetBoundAndSnapRectsDirty(bool bNotMyself=false, bool bRecursive=true)
virtual sal_uInt32 GetPointCount() const
virtual std::unique_ptr< sdr::properties::BaseProperties > CreateObjectSpecificProperties() override
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 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 void TakeTextEditArea(Size *pPaperMin, Size *pPaperMax, tools::Rectangle *pViewInit, tools::Rectangle *pViewMin) const
virtual sal_uInt32 GetHdlCount() const override
Via GetHdlCount the number of Handles can be retrieved.
virtual Degree100 GetRotateAngle() const override
virtual OUString TakeObjNameSingul() const override
virtual bool BegTextEdit(SdrOutliner &rOutl)
virtual void TakeObjInfo(SdrObjTransformInfoRec &rInfo) const override
virtual const Size & GetTextSize() const
virtual bool BegCreate(SdrDragStat &rStat) override
Every object must be able to create itself interactively.
virtual void TakeTextAnchorRect(::tools::Rectangle &rAnchorRect) const
virtual OutlinerParaObject * GetOutlinerParaObject() const override
friend class SdrMeasureObj
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 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 CalcFieldValue(const SvxFieldItem &rField, sal_Int32 nPara, sal_uInt16 nPos, bool bEdit, std::optional< Color > &rpTxtColor, std::optional< Color > &rpFldColor, std::optional< FontLineStyle > &rpFldLineStyle, OUString &rRet) const
virtual bool BckCreate(SdrDragStat &rStat) override
virtual void TakeTextRect(SdrOutliner &rOutliner, tools::Rectangle &rTextRect, bool bNoEditText, tools::Rectangle *pAnchorRect, bool bLineWidth=true) const
virtual void NbcSetOutlinerParaObject(std::optional< OutlinerParaObject > pTextObject) override
virtual void AddToHdlList(SdrHdlList &rHdlList) const override
virtual SdrObjKind GetObjIdentifier() const override
virtual void TakeUnrotatedSnapRect(tools::Rectangle &rRect) const
virtual EEAnchorMode GetOutlinerViewAnchorMode() 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
#define SVXCORE_DLLPUBLIC