19#ifndef INCLUDED_SW_SOURCE_CORE_INC_LAYFRM_HXX
20#define INCLUDED_SW_SOURCE_CORE_INC_LAYFRM_HXX
38 friend class SwFlowFrame;
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;
93 const bool bBodyOnly =
false,
95 const bool bDefaultExpand =
true )
const;
100 SwPrintData const*
const pPrintData =
nullptr )
const override;
103 bool ContainsDeleteForbiddenLayFrame()
const;
116 const SwFrame *ContainsAny(
const bool _bInvestigateFootnoteForSections =
false )
const;
117 inline SwFrame *ContainsAny(
const bool _bInvestigateFootnoteForSections =
false );
118 bool IsAnLower(
const SwFrame * )
const;
136 void NotifyLowerObjs(
const bool _bUnlockPosOfObjs =
false );
143 void InvaPercentLowers(
SwTwips nDiff = 0 );
167 bool IsBefore(
const SwLayoutFrame* _pCheckRefLayFrame )
const;
169 const SwFrame* GetLastLower()
const;
170 inline SwFrame* GetLastLower();
172 virtual void PaintBreak()
const;
176 m_VertPosOrientFramesFor.push_back(pObj);
181 m_VertPosOrientFramesFor.erase(
182 std::remove(m_VertPosOrientFramesFor.begin(),
183 m_VertPosOrientFramesFor.end(), pObj),
184 m_VertPosOrientFramesFor.end());
wrapper class for the positioning of Writer fly frames and drawing objects
SwCellFrame is one table cell in the document layout.
SwContentFrame is the layout for content nodes: a common base class for text (paragraph) and non-text...
Base class of the Writer layout elements.
virtual void DestroyImpl()
virtual SwTwips ShrinkFrame(SwTwips, bool bTst=false, bool bInfo=false)=0
bool IsColumnFrame() const
virtual bool FillSelection(SwSelectionList &rList, const SwRect &rRect) const
bool IsPageBodyFrame() const
friend class SwLayoutFrame
virtual bool GetModelPositionForViewPoint(SwPosition *, Point &, SwCursorMoveState *=nullptr, bool bTestBackground=false) const
friend void RestoreContent(SwFrame *, SwLayoutFrame *, SwFrame *pSibling)
virtual void Paste(SwFrame *pParent, SwFrame *pSibling=nullptr)=0
SwLayoutFrame * GetUpper()
virtual void Format(vcl::RenderContext *pRenderContext, const SwBorderAttrs *pAttrs=nullptr)
Calculates the frame area size and the print area, in case they are invalid.
friend SwFrame * SaveContent(SwLayoutFrame *, SwFrame *pStart)
virtual SwTwips GrowFrame(SwTwips, bool bTst=false, bool bInfo=false)=0
virtual void PaintSwFrame(vcl::RenderContext &rRenderContext, SwRect const &, SwPrintData const *const pPrintData=nullptr) const
virtual void MakeAll(vcl::RenderContext *pRenderContext)=0
bool IsColBodyFrame() const
These SwFrame inlines are here, so that frame.hxx does not need to include layfrm....
A layout frame is a frame that contains other frames (m_pLower), e.g. SwPageFrame or SwTabFrame.
const SwCellFrame * FirstCell() const
Calls ContainsAny first to reach the innermost cell.
void ClearVertPosOrientFrameFor(SwAnchoredObject *pObj)
const SwFrame * ContainsAny(const bool _bInvestigateFootnoteForSections=false) const
Method <ContainsAny()> doesn't investigate content of footnotes by default.
std::vector< SwAnchoredObject * > m_VertPosOrientFramesFor
const SwFrame * GetLastLower() const
const SwContentFrame * ContainsContent() const
Checks if the frame contains one or more ContentFrame's anywhere in his subsidiary structure; if so t...
void SetVertPosOrientFrameFor(SwAnchoredObject *pObj)
const SwFrame * Lower() const
A page of the document layout.
Of course Writer needs its own rectangles.
This class is used as parameter for creation of a block cursor selection.
virtual SotClipboardFormatId GetFormat(const TransferableDataHelper &aHelper) override
Marks a position in the document model.