LibreOffice Module sw (master)  1
Classes | Functions
sectfrm.cxx File Reference
#include <sal/config.h>
#include <sal/log.hxx>
#include <o3tl/safeint.hxx>
#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 <flyfrms.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.

Classes

class  ExtraFormatToPositionObjs
 

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

static void lcl_ColumnRefresh ( SwSectionFrame pSect,
bool  bFollow 
)
static
static SwTwips lcl_DeadLine ( const SwFrame pFrame)
static
static void lcl_FindContentFrame ( SwContentFrame *&  rpContentFrame,
SwFootnoteFrame *&  rpFootnoteFrame,
SwFrame pFrame,
bool &  rbChkFootnote 
)
static
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 960 of file sectfrm.cxx.

References SwLayouter::CollectEndnote(), 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().

static SwContentFrame* lcl_GetNextContentFrame ( const SwLayoutFrame pLay,
bool  bFwd 
)
static
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 556 of file sectfrm.cxx.

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

Referenced by SwSectionFrame::MoveContentAndDelete().