LibreOffice Module sw (master) 1
Macros | Functions | Variables
calcmove.cxx File Reference
#include <memory>
#include <rootfrm.hxx>
#include <pagefrm.hxx>
#include <viewopt.hxx>
#include <frmatr.hxx>
#include <frmtool.hxx>
#include <txtftn.hxx>
#include <fmtftn.hxx>
#include <ndtxt.hxx>
#include <editeng/ulspitem.hxx>
#include <editeng/keepitem.hxx>
#include <osl/diagnose.h>
#include <svx/sdtaitm.hxx>
#include <fmtfsize.hxx>
#include <fmtanchr.hxx>
#include <fmtclbl.hxx>
#include <tabfrm.hxx>
#include <ftnfrm.hxx>
#include <txtfrm.hxx>
#include <sectfrm.hxx>
#include <dbg_lay.hxx>
#include <sortedobjs.hxx>
#include <layouter.hxx>
#include <flyfrms.hxx>
#include <DocumentSettingManager.hxx>
#include <IDocumentLayoutAccess.hxx>
Include dependency graph for calcmove.cxx:

Go to the source code of this file.

Macros

#define STOP_FLY_FORMAT   10
 

Functions

void PrepareLock (SwFlowFrame *pTab)
 
void PrepareUnlock (SwFlowFrame *pTab)
 
static bool lcl_IsCalcUpperAllowed (const SwFrame &rFrame)
 
static SwFramelcl_Prev (SwFrame *pFrame, bool bSectPrv=true)
 
static SwFramelcl_NotHiddenPrev (SwFrame *pFrame)
 
static void lcl_CheckObjects (SwSortedObjs &rSortedObjs, const SwFrame *pFrame, tools::Long &rBot)
 
void ValidateSz (SwFrame *pFrame)
 
void MakeNxt (SwFrame *pFrame, SwFrame *pNxt)
 
static bool lcl_IsNextFootnoteBoss (const SwFrame *pFrame, const SwFrame *pNxt)
 This routine checks whether there are no other FootnoteBosses between the pFrame's FootnoteBoss and the pNxt's FootnoteBoss. More...
 

Variables

const int cnStopFormat = 15
 

Macro Definition Documentation

◆ STOP_FLY_FORMAT

#define STOP_FLY_FORMAT   10

Definition at line 1197 of file calcmove.cxx.

Function Documentation

◆ lcl_CheckObjects()

static void lcl_CheckObjects ( SwSortedObjs rSortedObjs,
const SwFrame pFrame,
tools::Long rBot 
)
static

Definition at line 698 of file calcmove.cxx.

References FAR_AWAY, SwFrame::IsBodyFrame(), and SwFrame::IsPageFrame().

Referenced by SwPageFrame::GetContentHeight().

◆ lcl_IsCalcUpperAllowed()

static bool lcl_IsCalcUpperAllowed ( const SwFrame rFrame)
static

◆ lcl_IsNextFootnoteBoss()

static bool lcl_IsNextFootnoteBoss ( const SwFrame pFrame,
const SwFrame pNxt 
)
static

This routine checks whether there are no other FootnoteBosses between the pFrame's FootnoteBoss and the pNxt's FootnoteBoss.

Definition at line 1965 of file calcmove.cxx.

References SwFrame::FindFootnoteBossFrame(), SwFrame::GetNext(), SwFrame::GetPrev(), SwFrame::GetUpper(), and SwFrame::IsColumnFrame().

Referenced by SwContentFrame::WouldFit_().

◆ lcl_NotHiddenPrev()

static SwFrame * lcl_NotHiddenPrev ( SwFrame pFrame)
static

Definition at line 516 of file calcmove.cxx.

References SwTextFrame::IsHiddenNow(), SwFrame::IsTextFrame(), and lcl_Prev().

Referenced by SwContentFrame::WouldFit_().

◆ lcl_Prev()

static SwFrame * lcl_Prev ( SwFrame pFrame,
bool  bSectPrv = true 
)
static

◆ MakeNxt()

void MakeNxt ( SwFrame pFrame,
SwFrame pNxt 
)

Definition at line 1902 of file calcmove.cxx.

◆ PrepareLock()

void PrepareLock ( SwFlowFrame *  pTab)
inline

Definition at line 208 of file calcmove.cxx.

Referenced by SwFrame::PrepareMake(), and SAL_LOPLUGIN_ANNOTATE().

◆ PrepareUnlock()

void PrepareUnlock ( SwFlowFrame *  pTab)
inline

Definition at line 212 of file calcmove.cxx.

Referenced by SwFrame::PrepareMake(), and SAL_LOPLUGIN_ANNOTATE().

◆ ValidateSz()

void ValidateSz ( SwFrame pFrame)
inline

Definition at line 1201 of file calcmove.cxx.

Variable Documentation

◆ cnStopFormat

const int cnStopFormat = 15

Definition at line 1199 of file calcmove.cxx.

Referenced by SwContentFrame::MakeAll().