19#ifndef INCLUDED_SW_INC_ANCHOREDDRAWOBJECT_HXX
20#define INCLUDED_SW_INC_ANCHOREDDRAWOBJECT_HXX
143 const SwRect* _pNewObjRect =
nullptr );
164 virtual const char*
getElementName( )
const override {
return "SwAnchoredDrawObject"; }
class for the positioning of drawing objects
void MakeObjPosAnchoredAtLayout()
method for the intrinsic positioning of an at-page|at-frame anchored drawing object
virtual const char * getElementName() const override
The element name to show in the XML dump.
virtual SwFrameFormat & GetFrameFormat() override
bool mbCaptureAfterLayoutDirChange
virtual bool SetObjTop_(const SwTwips _nTop) override
virtual void NotifyBackground(SwPageFrame *_pPageFrame, const SwRect &_rRect, PrepareHint _eHint) override
method to notify background of drawing object
virtual ~SwAnchoredDrawObject() override
virtual void UpdateLayoutDir() override
method update layout direction the layout direction, the anchored object is assigned to
virtual void MakeObjPos() override
method to determine position for the object and set the position at the object
std::optional< tools::Rectangle > const & GetLastObjRect() const
bool NotYetPositioned() const
virtual bool SetObjLeft_(const SwTwips _nLeft) override
bool IsOutsidePage() const
std::optional< tools::Rectangle > maLastObjRect
void SetLastObjRect(const tools::Rectangle &_rNewObjRect)
void SetDrawObjAnchor()
method to set internal anchor position of <SdrObject> instance of the drawing object
virtual SwRect GetObjRect() const override
void SetPositioningAttr()
method to set positioning attributes (not for as-character anchored)
virtual void InvalidateObjPos() override
method to invalidate position of the anchored object
void AdjustPositioningAttr(const SwFrame *_pNewAnchorFrame, const SwRect *_pNewObjRect=nullptr)
adjust positioning and alignment attributes for new anchor frame
void MakeObjPosAnchoredAtPara()
method for the intrinsic positioning of an at-paragraph|at-character anchored drawing object
virtual void RegisterAtCorrectPage() override
method to assure that anchored object is registered at the correct page frame
virtual void RegisterAtPage(SwPageFrame &) override
virtual void ObjectAttachedToAnchorFrame() override
method to indicate, that anchored object is attached to an anchor frame
virtual SwRect GetObjBoundRect() const override
void InvalidatePage_(SwPageFrame *_pPageFrame)
method to invalidate the given page frame
bool mbNotYetAttachedToAnchorFrame
wrapper class for the positioning of Writer fly frames and drawing objects
Base class of the Writer layout elements.
A page of the document layout.
Of course Writer needs its own rectangles.