LibreOffice Module sw (master) 1
|
#include <layouter.hxx>
Classes | |
struct | fMoveBwdLayoutInfoKeyEq |
struct | fMoveBwdLayoutInfoKeyHash |
struct | tMoveBwdLayoutInfoKey |
Public Member Functions | |
SwLayouter () | |
~SwLayouter () | |
void | InsertEndnotes (SwSectionFrame const *pSect) |
void | CollectEndnote (SwFootnoteFrame *pFootnote) |
bool | HasEndnotes () const |
void | LoopControl (SwPageFrame *pPage) |
void | EndLoopControl () |
void | LoopingLouieLight (const SwDoc &rDoc, const SwTextFrame &rFrame) |
Static Public Member Functions | |
static void | CollectEndnotes (SwDoc *pDoc, SwSectionFrame *pSect) |
static bool | Collecting (SwDoc *pDoc, SwSectionFrame const *pSect, SwFootnoteFrame *pFootnote) |
static bool | StartLoopControl (SwDoc *pDoc, SwPageFrame const *pPage) |
static void | ClearMovedFwdFrames (const SwDoc &_rDoc) |
static void | InsertMovedFwdFrame (const SwDoc &_rDoc, const SwTextFrame &_rMovedFwdFrameByObjPos, const sal_uInt32 _nToPageNum) |
static bool | FrameMovedFwdByObjPos (const SwDoc &_rDoc, const SwTextFrame &_rTextFrame, sal_uInt32 &_ornToPageNum) |
static void | RemoveMovedFwdFrame (const SwDoc &_rDoc, const SwTextFrame &_rTextFrame) |
static bool | DoesRowContainMovedFwdFrame (const SwDoc &_rDoc, const SwRowFrame &_rRowFrame) |
static void | ClearObjsTmpConsiderWrapInfluence (const SwDoc &_rDoc) |
static void | InsertObjForTmpConsiderWrapInfluence (const SwDoc &_rDoc, SwAnchoredObject &_rAnchoredObj) |
static void | RemoveObjForTmpConsiderWrapInfluence (const SwDoc &_rDoc, SwAnchoredObject &_rAnchoredObj) |
static bool | MoveBwdSuppressed (const SwDoc &p_rDoc, const SwFlowFrame &p_rFlowFrame, const SwLayoutFrame &p_rNewUpperFrame) |
static void | ClearMoveBwdLayoutInfo (const SwDoc &p_rDoc) |
Private Member Functions | |
void | CollectEndnotes_ (SwSectionFrame *pSect) |
bool | StartLooping (SwPageFrame const *pPage) |
Private Attributes | |
std::unique_ptr< SwEndnoter > | mpEndnoter |
std::unique_ptr< SwLooping > | mpLooping |
std::unique_ptr< SwMovedFwdFramesByObjPos > | mpMovedFwdFrames |
std::unique_ptr< SwObjsMarkedAsTmpConsiderWrapInfluence > | mpObjsTmpConsiderWrapInfl |
std::unordered_map< tMoveBwdLayoutInfoKey, sal_uInt16, fMoveBwdLayoutInfoKeyHash, fMoveBwdLayoutInfoKeyEq > | maMoveBwdLayoutInfo |
Definition at line 43 of file layouter.hxx.
SwLayouter::SwLayouter | ( | ) |
Definition at line 205 of file layouter.cxx.
Referenced by CollectEndnotes(), InsertMovedFwdFrame(), InsertObjForTmpConsiderWrapInfluence(), MoveBwdSuppressed(), and StartLoopControl().
SwLayouter::~SwLayouter | ( | ) |
Definition at line 209 of file layouter.cxx.
|
static |
Definition at line 477 of file layouter.cxx.
References SwDoc::getIDocumentLayoutAccess(), and IDocumentLayoutAccess::GetLayouter().
Referenced by sw::DocumentLayoutManager::ClearSwLayouterEntries().
|
static |
Definition at line 303 of file layouter.cxx.
References SwDoc::getIDocumentLayoutAccess(), IDocumentLayoutAccess::GetLayouter(), and mpMovedFwdFrames.
Referenced by sw::DocumentLayoutManager::ClearSwLayouterEntries().
|
static |
Definition at line 383 of file layouter.cxx.
References SwDoc::getIDocumentLayoutAccess(), IDocumentLayoutAccess::GetLayouter(), and mpObjsTmpConsiderWrapInfl.
Referenced by sw::DocumentLayoutManager::ClearSwLayouterEntries().
void SwLayouter::CollectEndnote | ( | SwFootnoteFrame * | pFootnote | ) |
Definition at line 225 of file layouter.cxx.
References mpEndnoter.
Referenced by SwSectionFrame::CollectEndnotes(), Collecting(), SwTextFrame::ConnectFootnote(), and lcl_FindEndnote().
|
static |
Definition at line 267 of file layouter.cxx.
References CollectEndnotes_(), SwDoc::getIDocumentLayoutAccess(), IDocumentLayoutAccess::GetLayouter(), IDocumentLayoutAccess::SetLayouter(), and SwLayouter().
|
private |
Definition at line 213 of file layouter.cxx.
References mpEndnoter.
Referenced by CollectEndnotes().
|
static |
Definition at line 275 of file layouter.cxx.
References CollectEndnote(), SwDoc::getIDocumentLayoutAccess(), IDocumentLayoutAccess::GetLayouter(), and mpEndnoter.
Referenced by SwTextFrame::ConnectFootnote(), and SwTextFrame::RemoveFootnote().
|
static |
Definition at line 364 of file layouter.cxx.
References SwDoc::getIDocumentLayoutAccess(), IDocumentLayoutAccess::GetLayouter(), and mpMovedFwdFrames.
Referenced by SwTabFrame::ShouldBwdMoved().
void SwLayouter::EndLoopControl | ( | ) |
Definition at line 262 of file layouter.cxx.
References mpLooping.
Referenced by SwLayAction::InternalAction().
|
static |
Definition at line 342 of file layouter.cxx.
References FrameMovedFwdByObjPos(), SwDoc::getIDocumentLayoutAccess(), IDocumentLayoutAccess::GetLayouter(), and mpMovedFwdFrames.
Referenced by SwObjectFormatterTextFrame::DoFormatObj(), SwObjectFormatterTextFrame::DoFormatObjs(), FrameMovedFwdByObjPos(), SwContentFrame::MakeAll(), SwFlyAtContentFrame::MakeAll(), and RemoveMovedFwdFrame().
bool SwLayouter::HasEndnotes | ( | ) | const |
Definition at line 220 of file layouter.cxx.
References mpEndnoter.
Referenced by SwSectionFrame::CollectEndnotes().
void SwLayouter::InsertEndnotes | ( | SwSectionFrame const * | pSect | ) |
Definition at line 230 of file layouter.cxx.
References mpEndnoter.
|
static |
Definition at line 312 of file layouter.cxx.
References SwDoc::getIDocumentLayoutAccess(), IDocumentLayoutAccess::GetLayouter(), mpMovedFwdFrames, and SwLayouter().
Referenced by SwObjectFormatterTextFrame::DoFormatObj(), SwObjectFormatterTextFrame::DoFormatObjs(), LoopingLouieLight(), and SwFlyAtContentFrame::MakeAll().
|
static |
Definition at line 392 of file layouter.cxx.
References SwDoc::getIDocumentLayoutAccess(), IDocumentLayoutAccess::GetLayouter(), mpObjsTmpConsiderWrapInfl, and SwLayouter().
Referenced by SwAnchoredObject::SetTmpConsiderWrapInfluence().
void SwLayouter::LoopControl | ( | SwPageFrame * | pPage | ) |
Definition at line 237 of file layouter.cxx.
References mpLooping.
Referenced by SwLayAction::InternalAction().
void SwLayouter::LoopingLouieLight | ( | const SwDoc & | rDoc, |
const SwTextFrame & | rFrame | ||
) |
Definition at line 243 of file layouter.cxx.
References SwFrame::FindPageFrame(), SwPageFrame::GetPhyPageNum(), InsertMovedFwdFrame(), and mpLooping.
|
static |
Definition at line 437 of file layouter.cxx.
References SwRectFnSet::BottomDist(), SwFrameAreaDefinition::getFrameArea(), SwRectFnSet::GetHeight(), SwDoc::getIDocumentLayoutAccess(), IDocumentLayoutAccess::GetLayouter(), SwFrame::GetNext(), SwRectFnSet::GetPrtBottom(), SwRect::Height(), SwLayoutFrame::Lower(), maMoveBwdLayoutInfo, SwLayouter::tMoveBwdLayoutInfoKey::mnFrameId, SwLayouter::tMoveBwdLayoutInfoKey::mnFreeSpaceInNewUpper, SwLayouter::tMoveBwdLayoutInfoKey::mnNewUpperHeight, SwLayouter::tMoveBwdLayoutInfoKey::mnNewUpperPosX, SwLayouter::tMoveBwdLayoutInfoKey::mnNewUpperPosY, SwLayouter::tMoveBwdLayoutInfoKey::mnNewUpperWidth, SwRect::Pos(), SwLayouter(), and SwRect::Width().
|
static |
Definition at line 332 of file layouter.cxx.
References FrameMovedFwdByObjPos(), SwDoc::getIDocumentLayoutAccess(), IDocumentLayoutAccess::GetLayouter(), and mpMovedFwdFrames.
Referenced by SwObjectFormatterTextFrame::DoFormatObj(), SwObjectFormatterTextFrame::DoFormatObjs(), and SwFlyAtContentFrame::MakeAll().
|
static |
Definition at line 410 of file layouter.cxx.
References SwDoc::getIDocumentLayoutAccess(), IDocumentLayoutAccess::GetLayouter(), and mpObjsTmpConsiderWrapInfl.
Referenced by SwAnchoredObject::ClearTmpConsiderWrapInfluence().
|
static |
Definition at line 291 of file layouter.cxx.
References SwDoc::getIDocumentLayoutAccess(), IDocumentLayoutAccess::GetLayouter(), mpLooping, IDocumentLayoutAccess::SetLayouter(), StartLooping(), and SwLayouter().
Referenced by SwLayAction::InternalAction().
|
private |
Definition at line 254 of file layouter.cxx.
References mpLooping.
Referenced by StartLoopControl().
|
private |
Definition at line 95 of file layouter.hxx.
Referenced by MoveBwdSuppressed().
|
private |
Definition at line 45 of file layouter.hxx.
Referenced by CollectEndnote(), CollectEndnotes_(), Collecting(), HasEndnotes(), and InsertEndnotes().
|
private |
Definition at line 46 of file layouter.hxx.
Referenced by EndLoopControl(), LoopControl(), LoopingLouieLight(), StartLoopControl(), and StartLooping().
|
private |
Definition at line 51 of file layouter.hxx.
Referenced by ClearMovedFwdFrames(), DoesRowContainMovedFwdFrame(), FrameMovedFwdByObjPos(), InsertMovedFwdFrame(), and RemoveMovedFwdFrame().
|
private |
Definition at line 53 of file layouter.hxx.
Referenced by ClearObjsTmpConsiderWrapInfluence(), InsertObjForTmpConsiderWrapInfluence(), and RemoveObjForTmpConsiderWrapInfluence().