26#include <osl/diagnose.h>
32 mrAnchorLayFrame( _rAnchorLayFrame )
48 OSL_FAIL(
"<SwObjectFormatterLayFrame::CreateObjFormatter(..)> - unexpected type of anchor frame " );
52 std::unique_ptr<SwObjectFormatterLayFrame> pObjFormatter;
110 OSL_FAIL(
"<SwObjectFormatterLayFrame::AdditionalFormatObjsOnPage()> - mis-usage of method, call only for anchor frames of type page frame" );
129 bool bSuccess(
true );
147 OSL_ENSURE( pPageFrameOfAnchor,
148 "<SwObjectFormatterLayFrame::AdditionalFormatObjsOnPage()> - missing page frame" );
149 if ( pPageFrameOfAnchor &&
170 const size_t nActPosOfObj =
177 else if ( nActPosOfObj <
i )
wrapper class for the positioning of Writer fly frames and drawing objects
const SwFrame * GetAnchorFrame() const
SwPageFrame * FindPageFrameOfAnchor()
method to determine the page frame, on which the 'anchor' of the given anchored object is.
Base class of the Writer layout elements.
SwFlyFrame * FindFlyFrame()
const SwSortedObjs * GetDrawObjs() const
The usage of LayAction is always the same:
A layout frame is a frame that contains other frames (m_pLower), e.g. SwPageFrame or SwTabFrame.
A page of the document layout.
sal_uInt16 GetPhyPageNum() const
const SwSortedObjs * GetSortedObjs() const
size_t ListPosOf(const SwAnchoredObject &_rAnchoredObj) const
Position of object <_rAnchoredObj> in sorted list.