19#ifndef INCLUDED_SW_INC_DCONTACT_HXX
20#define INCLUDED_SW_INC_DCONTACT_HXX
93 void MoveObjToLayer(
const bool _bToVisible,
125 virtual void MoveObjToVisibleLayer(
SdrObject* _pDrawObj );
134 virtual void MoveObjToInvisibleLayer(
SdrObject* _pDrawObj );
154 const SwNode* pNode = GetAnchorFormat().GetAnchorNode();
160 virtual void GetAnchoredObjs( std::vector<SwAnchoredObject*>& _roAnchoredObjs )
const = 0;
165 sal_uInt32 GetMinOrdNum()
const;
170 sal_uInt32 GetMaxOrdNum()
const;
181 sal_uInt32 GetOrdNumForNewRef(
const SwFlyFrame* pFly,
SwFrame const& rAnchorFrame);
204 virtual void GetAnchoredObjs( std::vector<SwAnchoredObject*>& _roAnchoredObjs )
const override;
264 virtual ::basegfx::B2DPolyPolygon
TakeXorPoly()
const override;
265 virtual ::basegfx::B2DPolyPolygon
TakeContour()
const override;
272 virtual void Move(
const Size& rSiz)
override;
332 void InvalidateObjs_(
const bool _bUpdateSortedObjsList =
false );
351 const SwFrame* GetAnchorFrame(
const SdrObject* _pDrawObj =
nullptr )
const;
371 void InsertMasterIntoDrawPage();
373 void DisconnectFromLayout(
bool _bMoveMasterToInvisibleLayer =
true );
376 void DisconnectObjFromLayout(
SdrObject* _pDrawObj );
383 void RemoveMasterFromDrawPage();
385 void RemoveAllVirtObjs();
400 void ChangeMasterObject(
SdrObject *pNewMaster );
404 void NotifyBackgroundOfAllVirtObjs(
const tools::Rectangle* pOldBoundRect );
408 static void GetTextObjectsFromFormat( std::list<SdrTextObj*>&,
SwDoc& );
409 virtual void GetAnchoredObjs( std::vector<SwAnchoredObject*>& _roAnchoredObjs )
const override;
helper class for method <SwDrawContact::Changed_(..)> for handling nested <SdrObjUserCall> events
virtual void Changed(const SdrObject &rObj, SdrUserCallType eType, const tools::Rectangle &rOldBoundRect)
virtual void const * GetPDFAnchorStructureElementKey(SdrObject const &rObj)
class for the positioning of drawing objects
wrapper class for the positioning of Writer fly frames and drawing objects
SwPageFrame * GetPageFrame()
const SwModify * GetRegisteredIn() const
virtual void SwClientNotify(const SwModify &, const SfxHint &rHint) override
new class for re-direct methods calls at a 'virtual' drawing object to its referenced object.
virtual void SetLayer(SdrLayerID nLayer) override
virtual void NbcResize(const Point &rRef, const Fraction &xFact, const Fraction &yFact) override
virtual void RecalcBoundRect() override
All overridden methods which need to use the offset.
virtual void NbcSetLayer(SdrLayerID nLayer) override
virtual void SetSnapRect(const tools::Rectangle &rRect) override
virtual const tools::Rectangle & GetSnapRect() const override
virtual void NbcSetLogicRect(const tools::Rectangle &rRect) override
virtual ::basegfx::B2DPolyPolygon TakeContour() const override
virtual void AddToHdlList(SdrHdlList &rHdlList) const override
const SwFrame * GetAnchorFrame() const
virtual ~SwDrawVirtObj() override
virtual const tools::Rectangle & GetCurrentBoundRect() const override
virtual rtl::Reference< SdrObject > CloneSdrObject(SdrModel &rTargetModel) const override
virtual void NbcShear(const Point &rRef, Degree100 nAngle, double tn, bool bVShear) override
virtual void NbcSetSnapRect(const tools::Rectangle &rRect) override
SwAnchoredObject & AnchoredObj()
virtual void RecalcSnapRect() override
virtual const tools::Rectangle & GetLogicRect() const override
virtual bool HasTextEdit() const override
virtual std::unique_ptr< sdr::contact::ViewContact > CreateObjectSpecificViewContact() override
AW: Need own sdr::contact::ViewContact since AnchorPos from parent is not used but something own (top...
virtual void Mirror(const Point &rRef1, const Point &rRef2) override
virtual void Resize(const Point &rRef, const Fraction &xFact, const Fraction &yFact, bool bUnsetRelative=true) override
void RemoveFromDrawingPage()
virtual Point GetPoint(sal_uInt32 i) const override
virtual void NbcSetPoint(const Point &rPnt, sal_uInt32 i) override
virtual void NbcMove(const Size &rSiz) override
SwDrawContact & mrDrawContact
writer-drawing contact object the 'virtual' drawing object is controlled by.
void RemoveFromWriterLayout()
virtual void NbcSetAnchorPos(const Point &rPnt) override
SwDrawVirtObj(SdrModel &rSdrModel, SdrObject &_rNewObj, SwDrawContact &_rDrawContact)
virtual ::basegfx::B2DPolyPolygon TakeXorPoly() const override
virtual void SetLogicRect(const tools::Rectangle &rRect) override
virtual void Rotate(const Point &rRef, Degree100 nAngle, double sn, double cs) override
virtual void Shear(const Point &rRef, Degree100 nAngle, double tn, bool bVShear) override
virtual const tools::Rectangle & GetLastBoundRect() const override
virtual void SetBoundRectDirty() override
bool IsConnected() const
is 'virtual' drawing object connected to writer layout and / to drawing layer.
virtual Point GetOffset() const override
access to offset
void AddToDrawingPage(SwFrame const &rAnchorFrame)
connection to drawing layer
const SwAnchoredObject & GetAnchoredObj() const
connection to writer layout
virtual void Move(const Size &rSiz) override
virtual void NbcRotate(const Point &rRef, Degree100 nAngle, double sn, double cs) override
virtual Point GetSnapPoint(sal_uInt32 i) const override
virtual SdrLayerID GetLayer() const override
virtual void NbcMirror(const Point &rRef1, const Point &rRef2) override
SwAnchoredDrawObject maAnchoredDrawObj
anchored drawing object instance for the 'virtual' drawing object
general base class for all free-flowing frames
Base class of the Writer layout elements.
Base class of the Writer document model elements.
A page of the document layout.
Of course Writer needs its own rectangles.
virtual SotClipboardFormatId GetFormat(const TransferableDataHelper &aHelper) override
Marks a position in the document model.