LibreOffice Module sw (master) 1
Functions
sectfrm.cxx File Reference
#include <config_wasm_strip.h>
#include <sal/config.h>
#include <sal/log.hxx>
#include <o3tl/safeint.hxx>
#include <osl/diagnose.h>
#include <svl/itemiter.hxx>
#include <txtftn.hxx>
#include <fmtftn.hxx>
#include <fmtclbl.hxx>
#include <sectfrm.hxx>
#include <cellfrm.hxx>
#include <section.hxx>
#include <IDocumentSettingAccess.hxx>
#include <rootfrm.hxx>
#include <pagefrm.hxx>
#include <txtfrm.hxx>
#include <fmtclds.hxx>
#include <colfrm.hxx>
#include <tabfrm.hxx>
#include <ftnfrm.hxx>
#include <layouter.hxx>
#include <dbg_lay.hxx>
#include <viewopt.hxx>
#include <viewimp.hxx>
#include <editeng/brushitem.hxx>
#include <fmtftntx.hxx>
#include <flyfrm.hxx>
#include <sortedobjs.hxx>
#include <hints.hxx>
#include <frmatr.hxx>
#include <frmtool.hxx>
Include dependency graph for sectfrm.cxx:

Go to the source code of this file.

Functions

static void lcl_InvalidateInfFlags (SwFrame *pFrame, bool bInva)
 |* MoveContent is called for destroying a SectionFrames, due to |* the cancellation or hiding of a section, to handle the content. More...
 
static SwContentFramelcl_GetNextContentFrame (const SwLayoutFrame *pLay, bool bFwd)
 
static void lcl_FindContentFrame (SwContentFrame *&rpContentFrame, SwFootnoteFrame *&rpFootnoteFrame, SwFrame *pFrame, bool &rbChkFootnote)
 
static SwFootnoteFramelcl_FindEndnote (SwSectionFrame *&rpSect, bool &rbEmpty, SwLayouter *pLayouter)
 CollectEndnotes looks for endnotes in the sectionfrm and his follows, the endnotes will cut off the layout and put into the array. More...
 
static void lcl_ColumnRefresh (SwSectionFrame *pSect, bool bFollow)
 
static SwTwips lcl_DeadLine (const SwFrame *pFrame)
 

Function Documentation

◆ lcl_ColumnRefresh()

static void lcl_ColumnRefresh ( SwSectionFrame pSect,
bool  bFollow 
)
static

◆ lcl_DeadLine()

static SwTwips lcl_DeadLine ( const SwFrame pFrame)
static

◆ lcl_FindContentFrame()

static void lcl_FindContentFrame ( SwContentFrame *&  rpContentFrame,
SwFootnoteFrame *&  rpFootnoteFrame,
SwFrame pFrame,
bool &  rbChkFootnote 
)
static

◆ lcl_FindEndnote()

static SwFootnoteFrame * lcl_FindEndnote ( SwSectionFrame *&  rpSect,
bool &  rbEmpty,
SwLayouter pLayouter 
)
static

CollectEndnotes looks for endnotes in the sectionfrm and his follows, the endnotes will cut off the layout and put into the array.

If the first endnote is not a master-SwFootnoteFrame, the whole sectionfrm contains only endnotes and it is not necessary to collect them.

Definition at line 990 of file sectfrm.cxx.

References SwLayouter::CollectEndnote(), SwFootnoteBossFrame::FindFootnoteCont(), SwFootnoteFrame::GetAttr(), SwSectionFrame::GetFollow(), SwTextAttr::GetFootnote(), SwFootnoteFrame::GetMaster(), SwFrame::GetNext(), SwFrame::GetUpper(), SwFrame::IsColumnFrame(), SwFormatFootnote::IsEndNote(), SwFrame::IsFootnoteFrame(), and SwLayoutFrame::Lower().

Referenced by SwSectionFrame::CheckClipping(), and SwSectionFrame::CollectEndnotes().

◆ lcl_GetNextContentFrame()

static SwContentFrame * lcl_GetNextContentFrame ( const SwLayoutFrame pLay,
bool  bFwd 
)
static

◆ lcl_InvalidateInfFlags()

static void lcl_InvalidateInfFlags ( SwFrame pFrame,
bool  bInva 
)
static

|* MoveContent is called for destroying a SectionFrames, due to |* the cancellation or hiding of a section, to handle the content.

|* If the SectionFrame hasn't broken up another one, then the content |* is moved to the Upper. Otherwise the content is moved to another |* SectionFrame, which has to be potentially merged. |

Definition at line 586 of file sectfrm.cxx.

References SwFrame::GetNext(), SwFrame::InvalidateInfFlags(), SwFrame::InvalidatePos_(), SwFrame::InvalidatePrt_(), SwFrame::InvalidateSize_(), SwFrame::IsLayoutFrame(), and lcl_InvalidateInfFlags().

Referenced by lcl_InvalidateInfFlags(), and SwSectionFrame::MoveContentAndDelete().