|
LibreOffice Module sw (master) 1
|
#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>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 SwContentFrame * | lcl_GetNextContentFrame (const SwLayoutFrame *pLay, bool bFwd) |
| static void | lcl_FindContentFrame (SwContentFrame *&rpContentFrame, SwFootnoteFrame *&rpFootnoteFrame, SwFrame *pFrame, bool &rbChkFootnote) |
| static SwFootnoteFrame * | lcl_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) |
|
static |
Definition at line 1041 of file sectfrm.cxx.
References SwFrame::Calc(), SwSectionFrame::ColLock(), SwSectionFrame::ColUnlock(), SwRootFrame::GetCurrShell(), SwSectionFrame::GetFollow(), SwFrame::GetNext(), SwViewShell::GetOut(), SwFrame::getRootFrame(), SwFrame::InvalidatePos_(), SwFrame::InvalidateSize_(), SwFrame::IsColLocked(), SwFrame::IsColumnFrame(), Lower, and SwLayoutFrame::Lower().
Referenced by SwSectionFrame::CheckClipping(), SwSectionFrame::CollectEndnotes(), and SwSectionFrame::SimpleFormat().
Definition at line 2151 of file sectfrm.cxx.
References SwRectFnSet::GetBottom(), SwFrameAreaDefinition::getFrameArea(), SwRectFnSet::GetPrtBottom(), SwFrame::GetUpper(), SwFrame::IsColBodyFrame(), SwFrame::IsInSct(), and SwFrame::IsSctFrame().
Referenced by SwSectionFrame::Grow_(), and SwSectionFrame::Growable().
|
static |
Definition at line 905 of file sectfrm.cxx.
References SwFootnoteFrame::GetAttr(), SwTextAttr::GetFootnote(), SwFrame::GetNext(), SwFrame::GetPrev(), SwFrame::IsContentFrame(), SwFormatFootnote::IsEndNote(), SwFrame::IsFootnoteFrame(), SwFrame::IsLayoutFrame(), lcl_FindContentFrame(), and Lower.
Referenced by SwSectionFrame::FindLastContent(), and lcl_FindContentFrame().
|
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().
|
static |
Definition at line 604 of file sectfrm.cxx.
References SwFrame::GetNext(), SwFrame::GetPrev(), SwFrame::GetUpper(), SwFrame::IsContentFrame(), SwFrame::IsFlyFrame(), SwFrame::IsLayoutFrame(), Lower, and p.
Referenced by SwSectionFrame::MoveContentAndDelete().
|
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().