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 203 of file layouter.cxx.
Referenced by CollectEndnotes(), InsertMovedFwdFrame(), InsertObjForTmpConsiderWrapInfluence(), MoveBwdSuppressed(), and StartLoopControl().
SwLayouter::~SwLayouter | ( | ) |
Definition at line 207 of file layouter.cxx.
|
static |
Definition at line 473 of file layouter.cxx.
References SwDoc::getIDocumentLayoutAccess(), and IDocumentLayoutAccess::GetLayouter().
Referenced by sw::DocumentLayoutManager::ClearSwLayouterEntries().
|
static |
Definition at line 299 of file layouter.cxx.
References SwDoc::getIDocumentLayoutAccess(), IDocumentLayoutAccess::GetLayouter(), and mpMovedFwdFrames.
Referenced by sw::DocumentLayoutManager::ClearSwLayouterEntries().
|
static |
Definition at line 379 of file layouter.cxx.
References SwDoc::getIDocumentLayoutAccess(), IDocumentLayoutAccess::GetLayouter(), and mpObjsTmpConsiderWrapInfl.
Referenced by sw::DocumentLayoutManager::ClearSwLayouterEntries().
void SwLayouter::CollectEndnote | ( | SwFootnoteFrame * | pFootnote | ) |
Definition at line 223 of file layouter.cxx.
References mpEndnoter.
Referenced by SwSectionFrame::CollectEndnotes(), Collecting(), SwTextFrame::ConnectFootnote(), and lcl_FindEndnote().
|
static |
Definition at line 263 of file layouter.cxx.
References CollectEndnotes_(), SwDoc::getIDocumentLayoutAccess(), IDocumentLayoutAccess::GetLayouter(), IDocumentLayoutAccess::SetLayouter(), and SwLayouter().
|
private |
Definition at line 211 of file layouter.cxx.
References mpEndnoter.
Referenced by CollectEndnotes().
|
static |
Definition at line 271 of file layouter.cxx.
References CollectEndnote(), SwDoc::getIDocumentLayoutAccess(), IDocumentLayoutAccess::GetLayouter(), and mpEndnoter.
Referenced by SwTextFrame::ConnectFootnote(), and SwTextFrame::RemoveFootnote().
|
static |
Definition at line 360 of file layouter.cxx.
References SwDoc::getIDocumentLayoutAccess(), IDocumentLayoutAccess::GetLayouter(), and mpMovedFwdFrames.
Referenced by SwTabFrame::ShouldBwdMoved().
void SwLayouter::EndLoopControl | ( | ) |
Definition at line 258 of file layouter.cxx.
References mpLooping.
Referenced by SwLayAction::InternalAction().
|
static |
Definition at line 338 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 218 of file layouter.cxx.
References mpEndnoter.
Referenced by SwSectionFrame::CollectEndnotes().
void SwLayouter::InsertEndnotes | ( | SwSectionFrame const * | pSect | ) |
Definition at line 228 of file layouter.cxx.
References mpEndnoter.
|
static |
Definition at line 308 of file layouter.cxx.
References SwDoc::getIDocumentLayoutAccess(), IDocumentLayoutAccess::GetLayouter(), mpMovedFwdFrames, and SwLayouter().
Referenced by SwObjectFormatterTextFrame::DoFormatObj(), SwObjectFormatterTextFrame::DoFormatObjs(), SwTextFrame::Format(), LoopingLouieLight(), and SwFlyAtContentFrame::MakeAll().
|
static |
Definition at line 388 of file layouter.cxx.
References SwDoc::getIDocumentLayoutAccess(), IDocumentLayoutAccess::GetLayouter(), mpObjsTmpConsiderWrapInfl, and SwLayouter().
Referenced by SwAnchoredObject::SetTmpConsiderWrapInfluence().
void SwLayouter::LoopControl | ( | SwPageFrame * | pPage | ) |
Definition at line 235 of file layouter.cxx.
References mpLooping.
Referenced by SwLayAction::InternalAction().
void SwLayouter::LoopingLouieLight | ( | const SwDoc & | rDoc, |
const SwTextFrame & | rFrame | ||
) |
Definition at line 241 of file layouter.cxx.
References SwFrame::FindPageFrame(), SwPageFrame::GetPhyPageNum(), InsertMovedFwdFrame(), mpLooping, and SAL_WARN.
|
static |
Definition at line 433 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 328 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 406 of file layouter.cxx.
References SwDoc::getIDocumentLayoutAccess(), IDocumentLayoutAccess::GetLayouter(), and mpObjsTmpConsiderWrapInfl.
Referenced by SwAnchoredObject::ClearTmpConsiderWrapInfluence().
|
static |
Definition at line 287 of file layouter.cxx.
References SwDoc::getIDocumentLayoutAccess(), IDocumentLayoutAccess::GetLayouter(), mpLooping, IDocumentLayoutAccess::SetLayouter(), StartLooping(), and SwLayouter().
Referenced by SwLayAction::InternalAction().
|
private |
Definition at line 250 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().