34 class ConnectorProperties;
175 void ImpRecalcEdgeTrack();
182 void ImpSetTailPoint(
bool bTail1,
const Point& rPt);
183 void ImpUndirtyEdgeTrack();
184 void ImpDirtyEdgeTrack();
185 void ImpSetAttrToEdgeInfo();
186 void ImpSetEdgeInfoToAttr();
217 bool CheckNodeConnection(
bool bTail1)
const;
269 virtual std::unique_ptr<SdrObjGeoData>
NewGeoData()
const override;
280 Point GetTailPoint(
bool bTail )
const;
281 void SetTailPoint(
bool bTail,
const Point& rPt );
282 void setGluePointIndex(
bool bTail, sal_Int32 nId = -1 );
283 sal_Int32 getGluePointIndex(
bool bTail );
virtual const tools::Rectangle & GetSnapRect() const override
virtual void Notify(SfxBroadcaster &rBC, const SfxHint &rHint) override
Detects when a stylesheet is changed.
Utility class SdrEdgeInfoRec.
void ImpSetLineOffset(SdrEdgeLineCode eLineCode, const XPolygon &rXP, tools::Long nVal)
bool ImpIsHorzLine(SdrEdgeLineCode eLineCode, const XPolygon &rXP) const
Point & ImpGetLineOffsetPoint(SdrEdgeLineCode eLineCode)
sal_uInt16 ImpGetPolyIdx(SdrEdgeLineCode eLineCode, const XPolygon &rXP) const
tools::Long ImpGetLineOffset(SdrEdgeLineCode eLineCode, const XPolygon &rXP) const
Utility class SdrEdgeObjGeoData.
bool bEdgeTrackUserDefined
virtual ~SdrEdgeObjGeoData() override
std::optional< XPolygon > pEdgeTrack
Utility class SdrEdgeObj.
const SdrObjConnection & GetConnection(bool bTail1) const
void SetSuppressDefaultConnect(bool bNew)
bool mbSuppressDefaultConnect
SdrObjConnection & GetConnection(bool bTail1)
bool bEdgeTrackUserDefined
bool mbBoundRectCalculationRunning
sal_uInt16 nNotifyingCount
bool GetSuppressDefaultConnect() const
std::optional< XPolygon > pEdgeTrack
Utility class SdrObjConnection.
bool TakeGluePoint(SdrGluePoint &rGP) const
sal_uInt16 GetConnectorId() const
void SetBestConnection(bool rB)
void SetBestVertex(bool rB)
void SetAutoVertex(bool rB)
bool IsAutoVertex() const
bool IsBestConnection() const
SdrObject * GetObject() const
void SetConnectorId(sal_uInt16 nId)
All geometrical data of an arbitrary object for use in undo/redo.
virtual void NbcSetAnchorPos(const Point &rPnt)
virtual SdrGluePointList * ForceGluePointList()
virtual void NbcSetPoint(const Point &rPnt, sal_uInt32 i)
virtual bool beginSpecialDrag(SdrDragStat &rDrag) const
virtual Point GetPoint(sal_uInt32 i) const
virtual bool IsPolyObj() const
virtual const tools::Rectangle & GetCurrentBoundRect() const
virtual void ConnectToNode(bool bTail1, SdrObject *pObj)
virtual const SdrGluePointList * GetGluePointList() const
virtual void DisconnectFromNode(bool bTail1)
virtual SdrObject * GetConnectedNode(bool bTail1) const
virtual SdrGluePoint GetCornerGluePoint(sal_uInt16 nNum) const
virtual SdrGluePoint GetVertexGluePoint(sal_uInt16 nNum) const
virtual sal_uInt32 GetPointCount() const
A SdrPage contains exactly one SdrObjList and a description of the physical page dimensions (size / m...
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 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 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 void handlePageChange(SdrPage *pOldPage, SdrPage *pNewPage) 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 rtl::Reference< SdrObject > getFullDragClone() const 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
#define SVXCORE_DLLPUBLIC