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