LibreOffice Module svx (master) 1
|
#include <textchainflow.hxx>
Public Member Functions | |
TextChainFlow (SdrTextObj *pChainTarget) | |
virtual | ~TextChainFlow () |
virtual void | CheckForFlowEvents (SdrOutliner *) |
void | ExecuteUnderflow (SdrOutliner *) |
void | ExecuteOverflow (SdrOutliner *, SdrOutliner *) |
bool | IsOverflow () const |
bool | IsUnderflow () const |
SdrTextObj * | GetLinkTarget () const |
Protected Member Functions | |
void | impCheckForFlowEvents (SdrOutliner *, SdrOutliner *) |
TextChain * | GetTextChain () const |
virtual void | impLeaveOnlyNonOverflowingText (SdrOutliner *) |
void | impMoveChainedTextToNextLink (SdrOutliner *) |
virtual void | impSetFlowOutlinerParams (SdrOutliner *, SdrOutliner *) |
Protected Attributes | |
std::unique_ptr< OFlowChainedText > | mpOverflChText |
std::unique_ptr< UFlowChainedText > | mpUnderflChText |
ESelection | maOverflowPosSel |
ESelection | maPostChainingSel |
bool | mbPossiblyCursorOut |
Private Member Functions | |
void | impUpdateCursorInfo () |
Private Attributes | |
SdrTextObj * | mpTargetLink |
SdrTextObj * | mpNextLink |
TextChain * | mpTextChain |
bool | mbOFisUFinduced |
bool | bUnderflow |
bool | bOverflow |
Definition at line 34 of file textchainflow.hxx.
TextChainFlow::TextChainFlow | ( | SdrTextObj * | pChainTarget | ) |
Definition at line 29 of file textchainflow.cxx.
References bOverflow, bUnderflow, SdrTextObj::GetNextLinkInChain(), SdrTextObj::GetTextChain(), mbOFisUFinduced, mbPossiblyCursorOut, mpNextLink, mpOverflChText, mpTargetLink, mpTextChain, mpUnderflChText, and SAL_INFO.
|
virtual |
Definition at line 48 of file textchainflow.cxx.
References mpOverflChText, and mpUnderflChText.
|
virtual |
Reimplemented in EditingTextChainFlow.
Definition at line 134 of file textchainflow.cxx.
References impCheckForFlowEvents().
Referenced by ExecuteUnderflow(), and SdrTextObj::impHandleChainingEventsDuringDecomposition().
void TextChainFlow::ExecuteOverflow | ( | SdrOutliner * | pNonOverflOutl, |
SdrOutliner * | pOverflOutl | ||
) |
Definition at line 184 of file textchainflow.cxx.
References SdrTextObj::GetPreventChainable(), impLeaveOnlyNonOverflowingText(), impMoveChainedTextToNextLink(), and mpTargetLink.
Referenced by SdrTextObj::impHandleChainingEventsDuringDecomposition(), and SdrTextObj::onChainingEvent().
void TextChainFlow::ExecuteUnderflow | ( | SdrOutliner * | pOutl | ) |
Definition at line 154 of file textchainflow.cxx.
References CheckForFlowEvents(), Outliner::GetEmptyParaObject(), SdrTextObj::GetOutlinerParaObject(), SdrTextObj::GetPreventChainable(), SdrTextObj::IsInEditMode(), mpNextLink, mpTargetLink, mpUnderflChText, SdrTextObj::NbcSetOutlinerParaObject(), and Outliner::SetText().
Referenced by SdrTextObj::impHandleChainingEventsDuringDecomposition(), and SdrTextObj::onChainingEvent().
SdrTextObj * TextChainFlow::GetLinkTarget | ( | ) | const |
Definition at line 241 of file textchainflow.cxx.
References mpTargetLink.
Referenced by EditingTextChainFlow::CheckForFlowEvents(), EditingTextChainFlow::impBroadcastCursorInfo(), and impUpdateCursorInfo().
|
protected |
Definition at line 246 of file textchainflow.cxx.
References mpTextChain.
Referenced by EditingTextChainFlow::impBroadcastCursorInfo(), impCheckForFlowEvents(), impMoveChainedTextToNextLink(), and impUpdateCursorInfo().
|
protected |
Definition at line 66 of file textchainflow.cxx.
References bOverflow, bUnderflow, TextChain::GetIsPartOfLastParaInNextLink(), GetTextChain(), SdrTextObj::HasText(), impSetFlowOutlinerParams(), impUpdateCursorInfo(), Outliner::IsPageOverflow(), Outliner::IsUpdateLayout(), mbOFisUFinduced, mpNextLink, mpOverflChText, mpTargetLink, mpUnderflChText, and Outliner::SetUpdateLayout().
Referenced by CheckForFlowEvents(), and EditingTextChainFlow::CheckForFlowEvents().
|
protectedvirtual |
Reimplemented in EditingTextChainFlow.
Definition at line 199 of file textchainflow.cxx.
References Outliner::GetPaperSize(), EditTextObject::GetParagraphCount(), Outliner::GetTextHeight(), OutlinerParaObject::GetTextObject(), mpOverflChText, mpTargetLink, SdrTextObj::NbcSetOutlinerParaObject(), SAL_INFO, Outliner::SetPaperSize(), Outliner::SetText(), and Size::Width().
Referenced by ExecuteOverflow().
|
protected |
Definition at line 216 of file textchainflow.cxx.
References SdrTextObj::GetOutlinerParaObject(), EditTextObject::GetParagraphCount(), GetTextChain(), OutlinerParaObject::GetTextObject(), mpNextLink, mpOverflChText, mpTargetLink, SdrTextObj::NbcSetOutlinerParaObject(), SAL_INFO, and TextChain::SetIsPartOfLastParaInNextLink().
Referenced by ExecuteOverflow().
|
protectedvirtual |
Reimplemented in EditingTextChainFlow.
Definition at line 54 of file textchainflow.cxx.
Referenced by impCheckForFlowEvents().
|
private |
Definition at line 115 of file textchainflow.cxx.
References bOverflow, GetLinkTarget(), TextChain::GetPreChainingSel(), GetTextChain(), maOverflowPosSel, maPostChainingSel, mbPossiblyCursorOut, mpOverflChText, ESelection::nStartPara, and ESelection::nStartPos.
Referenced by impCheckForFlowEvents().
bool TextChainFlow::IsOverflow | ( | ) | const |
Definition at line 140 of file textchainflow.cxx.
References bOverflow.
Referenced by SdrTextObj::impHandleChainingEventsDuringDecomposition(), and SdrTextObj::onChainingEvent().
bool TextChainFlow::IsUnderflow | ( | ) | const |
Definition at line 145 of file textchainflow.cxx.
References bUnderflow.
Referenced by SdrTextObj::impHandleChainingEventsDuringDecomposition(), and SdrTextObj::onChainingEvent().
|
private |
Definition at line 80 of file textchainflow.hxx.
Referenced by impCheckForFlowEvents(), impUpdateCursorInfo(), IsOverflow(), and TextChainFlow().
|
private |
Definition at line 79 of file textchainflow.hxx.
Referenced by impCheckForFlowEvents(), IsUnderflow(), and TextChainFlow().
|
protected |
Definition at line 70 of file textchainflow.hxx.
Referenced by EditingTextChainFlow::impBroadcastCursorInfo(), and impUpdateCursorInfo().
|
protected |
Definition at line 71 of file textchainflow.hxx.
Referenced by EditingTextChainFlow::impBroadcastCursorInfo(), and impUpdateCursorInfo().
|
private |
Definition at line 78 of file textchainflow.hxx.
Referenced by impCheckForFlowEvents(), and TextChainFlow().
|
protected |
Definition at line 72 of file textchainflow.hxx.
Referenced by EditingTextChainFlow::impBroadcastCursorInfo(), impUpdateCursorInfo(), and TextChainFlow().
|
private |
Definition at line 76 of file textchainflow.hxx.
Referenced by ExecuteUnderflow(), impCheckForFlowEvents(), impMoveChainedTextToNextLink(), and TextChainFlow().
|
protected |
Definition at line 67 of file textchainflow.hxx.
Referenced by impCheckForFlowEvents(), impLeaveOnlyNonOverflowingText(), EditingTextChainFlow::impLeaveOnlyNonOverflowingText(), impMoveChainedTextToNextLink(), impUpdateCursorInfo(), TextChainFlow(), and ~TextChainFlow().
|
private |
Definition at line 75 of file textchainflow.hxx.
Referenced by ExecuteOverflow(), ExecuteUnderflow(), GetLinkTarget(), impCheckForFlowEvents(), impLeaveOnlyNonOverflowingText(), impMoveChainedTextToNextLink(), and TextChainFlow().
|
private |
Definition at line 77 of file textchainflow.hxx.
Referenced by GetTextChain(), and TextChainFlow().
|
protected |
Definition at line 68 of file textchainflow.hxx.
Referenced by ExecuteUnderflow(), impCheckForFlowEvents(), TextChainFlow(), and ~TextChainFlow().