19 #ifndef INCLUDED_SW_SOURCE_CORE_INC_LAYFRM_HXX
20 #define INCLUDED_SW_SOURCE_CORE_INC_LAYFRM_HXX
66 void RefreshExtraData(
const SwRect & )
const;
69 void ChgLowersProp(
const Size& rOldSize );
71 void AdjustColumns(
const SwFormatCol *pCol,
bool bAdjustAttributes );
74 const bool bChgFootnote =
false );
85 virtual void Cut()
override;
92 const SwContentFrame* GetContentPos( Point &rPoint,
const bool bDontLeave,
93 const bool bBodyOnly =
false,
95 const bool bDefaultExpand =
true )
const;
100 SwPrintData const*
const pPrintData =
nullptr )
const override;
115 const SwFrame *ContainsAny(
const bool _bInvestigateFootnoteForSections =
false )
const;
116 inline SwFrame *ContainsAny(
const bool _bInvestigateFootnoteForSections =
false );
117 bool IsAnLower(
const SwFrame * )
const;
135 void NotifyLowerObjs(
const bool _bUnlockPosOfObjs =
false );
142 void InvaPercentLowers(
SwTwips nDiff = 0 );
166 bool IsBefore(
const SwLayoutFrame* _pCheckRefLayFrame )
const;
168 const SwFrame* GetLastLower()
const;
169 inline SwFrame* GetLastLower();
171 virtual void PaintBreak()
const;
175 m_VertPosOrientFramesFor.push_back(pObj);
180 m_VertPosOrientFramesFor.erase(
181 std::remove(m_VertPosOrientFramesFor.begin(),
182 m_VertPosOrientFramesFor.end(), pObj),
183 m_VertPosOrientFramesFor.end());
224 #endif // INCLUDED_SW_SOURCE_CORE_INC_LAYFRM_HXX
Base class of the Writer layout elements.
Base class that provides the general functionalities for frames that are allowed at page breaks (flow...
friend void RestoreContent(SwFrame *, SwLayoutFrame *, SwFrame *pSibling)
Marks a position in the document model.
virtual void MakeAll(vcl::RenderContext *pRenderContext)=0
This class is used as parameter for creation of a block cursor selection.
Of course Writer needs its own rectangles.
void SetVertPosOrientFrameFor(SwAnchoredObject *pObj)
virtual bool GetModelPositionForViewPoint(SwPosition *, Point &, SwCursorMoveState *=nullptr, bool bTestBackground=false) const
wrapper class for the positioning of Writer fly frames and drawing objects
bool IsPageBodyFrame() const
virtual bool FillSelection(SwSelectionList &rList, const SwRect &rRect) const
void ClearVertPosOrientFrameFor(SwAnchoredObject *pObj)
virtual void DestroyImpl()
virtual void Paste(SwFrame *pParent, SwFrame *pSibling=nullptr)=0
friend SwFrame * SaveContent(SwLayoutFrame *, SwFrame *pStart)
bool IsColumnFrame() const
virtual SwTwips GrowFrame(SwTwips, bool bTst=false, bool bInfo=false)=0
std::vector< SwAnchoredObject * > m_VertPosOrientFramesFor
const SwFrame * GetLastLower() const
virtual void PaintSwFrame(vcl::RenderContext &rRenderContext, SwRect const &, SwPrintData const *const pPrintData=nullptr) const
const SwFrame * Lower() const
virtual SwTwips ShrinkFrame(SwTwips, bool bTst=false, bool bInfo=false)=0
SwLayoutFrame * GetUpper()
virtual void Format(vcl::RenderContext *pRenderContext, const SwBorderAttrs *pAttrs=nullptr)
friend class SwLayoutFrame
A page of the document layout.
const SwCellFrame * FirstCell() const
Calls ContainsAny first to reach the innermost cell.
const SwFrame * ContainsAny(const bool _bInvestigateFootnoteForSections=false) const
Method doesn't investigate content of footnotes by default.
bool IsColBodyFrame() const
These SwFrame inlines are here, so that frame.hxx does not need to include layfrm.hxx.
A layout frame is a frame that contains other frames (m_pLower), e.g. SwPageFrame or SwTabFrame...
const SwContentFrame * ContainsContent() const
Checks if the frame contains one or more ContentFrame's anywhere in his subsidiary structure; if so t...
SwCellFrame is one table cell in the document layout.