20 #ifndef INCLUDED_SW_SOURCE_CORE_INC_FLOWFRM_HXX
21 #define INCLUDED_SW_SOURCE_CORE_INC_FLOWFRM_HXX
114 const SwTwips _nUpperSpaceWithoutGrid )
const;
142 bool CheckMoveFwd(
bool& rbMakePage,
bool bKeep,
bool bIgnoreMyOwnKeepValue );
143 bool MoveFwd(
bool bMakePage,
bool bPageBreak,
bool bMoveAlways =
false );
144 bool MoveBwd(
bool &rbReformat );
184 bool bBreakCheck =
false )
const;
199 const bool _bConsiderGrid =
true )
const;
266 m_bOldJoinLocked =
false;
272 if (m_pFlow && !m_bOldJoinLocked)
bool IsKeepFwdMoveAllowed(bool bIgnoreMyOwnKeepValue=false)
Base class of the Writer layout elements.
Base class that provides the general functionalities for frames that are allowed at page breaks (flow...
bool IsAnyJoinLocked() const
SwFlowFrame * GetPrecede()
static void SetMoveBwdJump(bool bNew)
bool MoveFwd(bool bMakePage, bool bPageBreak, bool bMoveAlways=false)
Return value guarantees that a new page was not created, although false does not NECESSARILY indicate...
bool IsKeep(SvxFormatKeepItem const &rKeep, SvxFormatBreakItem const &rBreak, bool bBreakCheck=false) const
method to determine if a Keep needs to be considered (Breaks!)
bool IsPrevObjMove() const
void SetFlyLock(bool bNew)
friend void TableSplitRecalcLock(SwFlowFrame *)
SwTwips GetUpperSpaceAmountConsideredForPageGrid_(const SwTwips _nUpperSpaceWithoutGrid) const
method to determine the upper space amount, which is considered for the page grid ...
SwTwips CalcLowerSpace(const SwBorderAttrs *_pAttrs=nullptr) const
calculation of lower space
~FlowFrameJoinLockGuard()
bool MoveBwd(bool &rbReformat)
Return value tells whether any changes have been made.
Of course Writer needs its own rectangles.
const SwFrame * GetPrevFrameForUpperSpaceCalc_(const SwFrame *_pProposedPrevFrame=nullptr) const
helper method to determine previous frame for calculation of the upper space
static SwFlowFrame * CastFlowFrame(SwFrame *pFrame)
SwTwips CalcUpperSpace(const SwBorderAttrs *pAttrs=nullptr, const SwFrame *pPr=nullptr, const bool _bConsiderGrid=true) const
method to determine the upper space hold by the frame
FlowFrameJoinLockGuard(SwLayoutFrame *pFrame)
bool IsPageBreak(bool bAct) const
|* If there's a hard page break before the Frame AND there's a |* predecessor on the same page...
const SwFrame & GetFrame() const
void SetUndersized(const bool bNew)
friend void PrepareLock(SwFlowFrame *)
SwFrame * GetIndPrev() const
bool HasParaSpaceAtPages(bool bSct) const
static bool s_bMoveBwdJump
indicates that a backward move was done over multiple pages
bool IsFwdMoveAllowed() const
virtual bool ShouldBwdMoved(SwLayoutFrame *pNewUpper, bool &rReformat)=0
SwTwips CalcAddLowerSpaceAsLastInTableCell(const SwBorderAttrs *_pAttrs=nullptr) const
calculation of the additional space to be considered, if flow frame is the last inside a table cell ...
bool IsJoinLocked() const
void SetFollow(SwFlowFrame *const pFollow)
static bool PasteTree(SwFrame *, SwLayoutFrame *, SwFrame *, SwFrame *)
A specialized form of Paste(), which relocates a whole chain (this and the following, in particular).
bool IsUndersized() const
SwTwips GetUpperSpaceAmountConsideredForPrevFrameAndPageGrid() const
method to determine the upper space amount, which is considered for the previous frame and the page g...
bool HasLockedFollow() const
Marks a node in the document model.
friend void MakeFrames(SwDoc *, const SwNodeIndex &, const SwNodeIndex &)
A page of the document layout.
sal_uInt8 BwdMoveNecessary(const SwPageFrame *pPage, const SwRect &rRect)
method to determine overlapping of an object that requests floating
bool CheckMoveFwd(bool &rbMakePage, bool bKeep, bool bIgnoreMyOwnKeepValue)
Moves the Frame forward if it seems necessary regarding the current conditions and attributes...
const SwFlowFrame * GetPrecede() const
SwFlowFrame * GetFollow()
void MoveSubTree(SwLayoutFrame *pParent, SwFrame *pSibling=nullptr)
hook tree onto new parent with minimal operations and notifications
friend void CalcContent(SwLayoutFrame *pLay, bool bNoColl)
bool ForbiddenForFootnoteCntFwd() const
SwTwips GetUpperSpaceAmountConsideredForPrevFrame() const
method to determine the upper space amount, which is considered for the previous frame ...
The SwNode2LayImpl class does the actual work, the SwNode2Layout class is just the public interface...
static SwLayoutFrame * CutTree(SwFrame *)
A specialized form of Cut(), which relocates a whole chain (this and the following, in particular).
friend void UnsetFollow(SwFlowFrame *pFlow)
bool IsColBreak(bool bAct) const
|* If there's a hard column break before the Frame AND there is |* a predecessor in the same column...
bool IsAnFollow(const SwFlowFrame *pFlow) const
SwFlowFrame(SwFrame &rFrame)
friend void PrepareUnlock(SwFlowFrame *)
A layout frame is a frame that contains other frames (m_pLower), e.g. SwPageFrame or SwTabFrame...
friend void TableSplitRecalcUnlock(SwFlowFrame *)
const SwFlowFrame * GetFollow() const
static bool IsMoveBwdJump()