19#ifndef INCLUDED_SW_SOURCE_CORE_LAYOUT_OBJECTFORMATTERTXTFRM_HXX
20#define INCLUDED_SW_SOURCE_CORE_LAYOUT_OBJECTFORMATTERTXTFRM_HXX
22#include <objectformatter.hxx>
97 const sal_Int16 _nWrapInfluenceOnPosition,
98 sal_uInt32& _noToPageNum,
100 bool& o_rbPageHasFlysAnchoredBelowThis);
122 const bool _bCheckForMovedFwd =
false )
override;
182 const bool _bAnchoredAtMasterBeforeFormatAnchor,
183 sal_uInt32& _noToPageNum,
185 bool& o_rbPageHasFlysAnchoredBelowThis);
wrapper class for the positioning of Writer fly frames and drawing objects
Base class of the Writer layout elements.
The usage of LayAction is always the same:
void InvalidateFollowObjs(SwAnchoredObject &_rAnchoredObj)
method to invalidate objects, anchored after the given object at the page frame
SwObjectFormatterTextFrame(SwTextFrame &_rAnchorTextFrame, const SwPageFrame &_rPageFrame, SwTextFrame *_pMasterAnchorTextFrame, SwLayAction *_pLayAction)
SwTextFrame & mrAnchorTextFrame
SwAnchoredObject * GetFirstObjWithMovedFwdAnchor(const sal_Int16 _nWrapInfluenceOnPosition, sal_uInt32 &_noToPageNum, bool &_boInFollow, bool &o_rbPageHasFlysAnchoredBelowThis)
method to determine first anchored object, whose 'anchor is moved forward'.
virtual bool DoFormatObjs() override
intrinsic method to format all floating screen objects
void InvalidatePrevObjs(SwAnchoredObject &_rAnchoredObj)
method to invalidate objects, anchored previous to given object at the anchor text frame
SwTextFrame * mpMasterAnchorTextFrame
bool AtLeastOneObjIsTmpConsiderWrapInfluence()
method to determine if at least one anchored object has state <temporarily consider wrapping style in...
static void FormatAnchorFrameAndItsPrevs(SwTextFrame &_rAnchorTextFrame)
method to format given anchor text frame and its previous frames
virtual ~SwObjectFormatterTextFrame() override
virtual bool DoFormatObj(SwAnchoredObject &_rAnchoredObj, const bool _bCheckForMovedFwd=false) override
intrinsic method to format a certain floating screen object
virtual SwFrame & GetAnchorFrame() override
static std::unique_ptr< SwObjectFormatterTextFrame > CreateObjFormatter(SwTextFrame &_rAnchorTextFrame, const SwPageFrame &_rPageFrame, SwLayAction *_pLayAction)
method to create an instance of <SwObjectFormatterTextFrame> is necessary.
void FormatAnchorFrameForCheckMoveFwd()
method to format the anchor frame for checking of the move forward condition
static bool CheckMovedFwdCondition(SwAnchoredObject &_rAnchoredObj, SwPageFrame const &rFromPageFrame, const bool _bAnchoredAtMasterBeforeFormatAnchor, sal_uInt32 &_noToPageNum, bool &_boInFollow, bool &o_rbPageHasFlysAnchoredBelowThis)
method to check the conditions, if 'anchor is moved forward'
A page of the document layout.
Represents the visualization of a paragraph.