19#ifndef INCLUDED_SW_SOURCE_CORE_INC_SECTFRM_HXX
20#define INCLUDED_SW_SOURCE_CORE_INC_SECTFRM_HXX
61 void Cut_(
bool bRemove );
88 virtual void Cut()
override;
176 return static_cast<const SwSectionFrame*
>(SwFlowFrame::GetFollow());
SwContentFrame is the layout for content nodes: a common base class for text (paragraph) and non-text...
Base class of the Writer layout elements.
A layout frame is a frame that contains other frames (m_pLower), e.g. SwPageFrame or SwTabFrame.
const SwFrame * ContainsAny(const bool _bInvestigateFootnoteForSections=false) const
Method <ContainsAny()> doesn't investigate content of footnotes by default.
A page of the document layout.
Of course Writer needs its own rectangles.
bool IsAnyNoteAtEnd() const
bool IsOwnFootnoteNum() const
void CheckClipping(bool bGrow, bool bMaximize)
Adapt size to surroundings.
bool MoveAllowed(const SwFrame *) const
void DelEmpty(bool bRemove)
bool IsContentLocked() const
virtual void MakeAll(vcl::RenderContext *pRenderContext) override
virtual void Notify(SfxHint const &rHint) override
const SwSectionFormat * GetEndSectFormat() const
bool CalcMinDiff(SwTwips &rMinDiff) const
const SwSection * GetSection() const
SwTwips Shrink_(SwTwips, bool bTst)
virtual void PaintSubsidiaryLines(const SwPageFrame *, const SwRect &) const override
virtual void dumpAsXml(xmlTextWriterPtr writer=nullptr) const override
virtual ~SwSectionFrame() override
void CalcFootnoteAtEndFlag()
void CollectEndnotes(SwLayouter *pLayouter)
bool Growable() const
checks whether the SectionFrame is still able to grow, as case may be the environment has to be asked
virtual void Cut() override
void MergeNext(SwSectionFrame *pNxt)
|* Merges two SectionFrames, in case it's about the same section.
SwTwips Grow_(SwTwips, bool bTst)
const SwSectionFormat * GetEndSectFormat_() const
bool IsEndnoteAtMyEnd() const
bool IsBalancedSection() const
bool IsSuperfluous() const
virtual void DestroyImpl() override
const SwContentFrame * FindLastContent() const
bool HasToBreak(const SwFrame *pFrame) const
|* Here it's decided whether the this-SectionFrame should break up |* the passed (Section)frm (or not...
SwTwips CalcUndersize() const
void CalcFootnoteContent()
SwSectionFrame(SwSection &, SwFrame *)
void SetFootnoteLock(bool bNew)
virtual void Format(vcl::RenderContext *pRenderContext, const SwBorderAttrs *pAttrs=nullptr) override
"formats" the frame; Frame and PrtArea
virtual bool ShouldBwdMoved(SwLayoutFrame *pNewUpper, bool &rReformat) override
void SetContentLock(bool bNew)
void UpdateAttr_(const SfxPoolItem *, const SfxPoolItem *, SwSectionFrameInvFlags &, SwAttrSetChg *pa=nullptr, SwAttrSetChg *pb=nullptr)
SwFootnoteContFrame * ContainsFootnoteCont(const SwFootnoteContFrame *pCont=nullptr) const
Check every Column for FootnoteContFrames.
static void MoveContentAndDelete(SwSectionFrame *pDel, bool bSave)
virtual void Paste(SwFrame *pParent, SwFrame *pSibling=nullptr) override
SwSectionFrame * FindMaster() const
void InvalidateFootnotePos()
bool ToMaximize(bool bCheckFollow) const
A sectionfrm has to maximize, if he has a follow or a ftncontainer at the end of the page.
SwSectionFrame * SplitSect(SwFrame *pFrameStartAfter, SwFrame *pFramePutAfter)
Splits the SectionFrame surrounding the pFrame up in two parts: pFrame and the start of the 2nd part.
SwTwips Undersize()
Returns the size delta that the section would like to be greater if it has undersized TextFrames in i...
bool IsFootnoteAtEnd() const
bool IsDescendantFrom(const SwSectionFormat *pSect) const
virtual void dumpAsXmlAttributes(xmlTextWriterPtr writer) const override
virtual void CheckDirection(bool bVert) override
bool IsFootnoteLock() const
virtual void SwClientNotify(const SwModify &, const SfxHint &) override
const SwSectionFrame * GetFollow() const
struct _xmlTextWriter * xmlTextWriterPtr