|
LibreOffice Module sw (master) 1
|
#include <pormulti.hxx>
Public Member Functions | |
| virtual | ~SwMultiPortion () override |
| const SwLineLayout & | GetRoot () const |
| SwLineLayout & | GetRoot () |
| bool | HasTabulator () const |
| bool | IsFormatted () const |
| void | SetFormatted () |
| bool | IsFollowField () const |
| void | SetFollowField () |
| bool | HasFlyInContent () const |
| void | SetFlyInContent (bool bNew) |
| bool | IsDouble () const |
| bool | IsRuby () const |
| bool | IsBidi () const |
| bool | OnTop () const |
| bool | OnRight () const |
| RubyPosition | GetRubyPosition () const |
| void | ActualizeTabulator () |
| virtual void | Paint (const SwTextPaintInfo &rInf) const override |
| virtual tools::Long | CalcSpacing (tools::Long nSpaceAdd, const SwTextSizeInfo &rInf) const override |
| virtual bool | ChgSpaceAdd (SwLineLayout *pCurr, tools::Long nSpaceAdd) const |
| void | CalcSize (SwTextFormatter &rLine, SwTextFormatInfo &rInf) |
| bool | HasBrackets () const |
| bool | HasRotation () const |
| bool | IsRevers () const |
| sal_uInt8 | GetDirection () const |
| virtual void | HandlePortion (SwPortionHandler &rPH) const override |
| void | dumpAsXml (xmlTextWriterPtr pWriter, const OUString &rText, TextFrameIndex &nOffset) const override |
Public Member Functions inherited from SwLinePortion | |
| SwLinePortion (const SwLinePortion &rPortion) | |
| virtual | ~SwLinePortion () |
| SwLinePortion * | GetNextPortion () const |
| SwLinePortion & | operator= (const SwLinePortion &rPortion) |
| TextFrameIndex | GetLen () const |
| void | SetLen (TextFrameIndex const nLen) |
| void | SetNextPortion (SwLinePortion *pNew) |
| SwTwips & | GetAscent () |
| SwTwips | GetAscent () const |
| void | SetAscent (const SwTwips nNewAsc) |
| void | PrtWidth (SwTwips nNewWidth) |
| SwTwips | PrtWidth () const |
| void | AddPrtWidth (const SwTwips nNew) |
| void | SubPrtWidth (const SwTwips nNew) |
| SwTwips | ExtraBlankWidth () const |
| void | ExtraBlankWidth (const SwTwips nNew) |
| SwTwips | GetHangingBaseline () const |
| void | SetHangingBaseline (const SwTwips nNewBaseline) |
| virtual SwLinePortion * | Insert (SwLinePortion *pPortion) |
| virtual SwLinePortion * | Append (SwLinePortion *pPortion) |
| SwLinePortion * | Cut (SwLinePortion *pVictim) |
| void | Truncate () |
| virtual SwLinePortion * | Compress () |
| void | SetWhichPor (const PortionType nNew) |
| PortionType | GetWhichPor () const |
| bool | InTextGrp () const |
| bool | InGlueGrp () const |
| bool | InTabGrp () const |
| bool | InHyphGrp () const |
| bool | InNumberGrp () const |
| bool | InFixGrp () const |
| bool | InFieldGrp () const |
| bool | InToxRefGrp () const |
| bool | InToxRefOrFieldGrp () const |
| bool | InExpGrp () const |
| bool | InFixMargGrp () const |
| bool | InSpaceGrp () const |
| bool | IsGrfNumPortion () const |
| bool | IsFlyCntPortion () const |
| bool | IsBlankPortion () const |
| bool | IsBreakPortion () const |
| bool | IsErgoSumPortion () const |
| bool | IsQuoVadisPortion () const |
| bool | IsTabLeftPortion () const |
| bool | IsTabRightPortion () const |
| bool | IsTabCenterPortion () const |
| bool | IsTabDecimalPortion () const |
| bool | IsFootnoteNumPortion () const |
| bool | IsFootnotePortion () const |
| bool | IsDropPortion () const |
| bool | IsLayPortion () const |
| bool | IsParaPortion () const |
| bool | IsMarginPortion () const |
| bool | IsFlyPortion () const |
| bool | IsHolePortion () const |
| bool | IsSoftHyphPortion () const |
| bool | IsPostItsPortion () const |
| bool | IsCombinedPortion () const |
| bool | IsTextPortion () const |
| bool | IsHangingPortion () const |
| bool | IsKernPortion () const |
| bool | IsArrowPortion () const |
| bool | IsMultiPortion () const |
| bool | IsNumberPortion () const |
| bool | IsControlCharPortion () const |
| SwLinePortion * | FindPrevPortion (const SwLinePortion *pRoot) |
| SwLinePortion * | FindLastPortion () |
| virtual TextFrameIndex | GetModelPositionForViewPoint (sal_uInt16 nOfst) const |
| the parameter is actually SwTwips apparently? More... | |
| virtual SwPosSize | GetTextSize (const SwTextSizeInfo &rInfo) const |
| void | CalcTextSize (const SwTextSizeInfo &rInfo) |
| virtual void | Paint (const SwTextPaintInfo &rInf) const =0 |
| void | PrePaint (const SwTextPaintInfo &rInf, const SwLinePortion *pLast) const |
| virtual bool | Format (SwTextFormatInfo &rInf) |
| virtual void | FormatEOL (SwTextFormatInfo &rInf) |
| void | Move (SwTextPaintInfo &rInf) |
| virtual bool | GetExpText (const SwTextSizeInfo &rInf, OUString &rText) const |
| virtual sal_uInt16 | GetViewWidth (const SwTextSizeInfo &rInf) const |
| virtual tools::Long | CalcSpacing (tools::Long nSpaceAdd, const SwTextSizeInfo &rInf) const |
| virtual void | HandlePortion (SwPortionHandler &rPH) const |
| bool | GetJoinBorderWithPrev () const |
| bool | GetJoinBorderWithNext () const |
| void | SetJoinBorderWithPrev (const bool bJoinPrev) |
| void | SetJoinBorderWithNext (const bool bJoinNext) |
| virtual void | dumpAsXml (xmlTextWriterPtr pWriter, const OUString &rText, TextFrameIndex &rOffset) const |
| void | dumpAsXmlAttributes (xmlTextWriterPtr writer, std::u16string_view rText, TextFrameIndex nOffset) const |
Public Member Functions inherited from SwPosSize | |
| SwPosSize (const SwTwips nW=0, const SwTwips nH=0) | |
| SwPosSize (const Size &rSize) | |
| virtual | ~SwPosSize () |
| SwPosSize (SwPosSize const &)=default | |
| SwPosSize (SwPosSize &&)=default | |
| SwPosSize & | operator= (SwPosSize const &)=default |
| SwPosSize & | operator= (SwPosSize &&)=default |
| SwTwips | Height () const |
| virtual void | Height (const SwTwips nNew, const bool=true) |
| SwTwips | Width () const |
| void | Width (const SwTwips nNew) |
| Size | SvLSize () const |
| void | SvLSize (const Size &rSize) |
| void | SvXSize (const Size &rSize) |
| SwPosSize & | operator= (const Size &rSize) |
Protected Member Functions | |
| SwMultiPortion (TextFrameIndex const nEnd) | |
| void | SetDouble () |
| void | SetRuby () |
| void | SetBidi () |
| void | SetRubyPosition (RubyPosition eNew) |
| void | SetTab1 (bool bNew) |
| void | SetTab2 (bool bNew) |
| void | SetDirection (sal_uInt8 nNew) |
| bool | GetTab1 () const |
| bool | GetTab2 () const |
Protected Member Functions inherited from SwLinePortion | |
| SwLinePortion () | |
Private Attributes | |
| SwLineLayout | m_aRoot |
| bool | m_bTab1:1 |
| bool | m_bTab2:1 |
| bool | m_bDouble:1 |
| bool | m_bRuby:1 |
| bool | m_bBidi:1 |
| bool | m_bFormatted:1 |
| bool | m_bFollowField:1 |
| bool | m_bFlyInContent:1 |
| RubyPosition | m_eRubyPosition |
| sal_uInt8 | m_nDirection:2 |
Additional Inherited Members | |
Protected Attributes inherited from SwLinePortion | |
| SwLinePortion * | mpNextPortion |
| TextFrameIndex | mnLineLength |
| SwTwips | mnAscent |
| SwTwips | mnHangingBaseline |
Definition at line 80 of file pormulti.hxx.
|
inlineexplicitprotected |
Definition at line 94 of file pormulti.hxx.
References Multi, SwLinePortion::SetLen(), and SwLinePortion::SetWhichPor().
|
overridevirtual |
Definition at line 55 of file pormulti.cxx.
| void SwMultiPortion::ActualizeTabulator | ( | ) |
Definition at line 163 of file pormulti.cxx.
References SwLineLayout::GetFirstPortion(), SwLineLayout::GetNext(), SwLinePortion::GetNextPortion(), GetRoot(), SwLinePortion::InTabGrp(), m_bTab1, m_bTab2, SetTab1(), and SetTab2().
Referenced by SwTextFormatter::BuildMultiPortion().
| void SwMultiPortion::CalcSize | ( | SwTextFormatter & | rLine, |
| SwTextFormatInfo & | rInf | ||
| ) |
Definition at line 66 of file pormulti.cxx.
References SwLineLayout::CalcLine(), SwLinePortion::GetAscent(), SwLineLayout::GetNext(), GetRoot(), HasBrackets(), SwPosSize::Height(), SwLineLayout::Height(), SwTextFormatter::IsFlyInCntBase(), IsRuby(), OnRight(), OnTop(), SwLinePortion::SetAscent(), SetFlyInContent(), and SwPosSize::Width().
Referenced by SwTextFormatter::BuildMultiPortion().
|
overridevirtual |
Reimplemented from SwLinePortion.
Reimplemented in SwDoubleLinePortion, and SwBidiPortion.
Definition at line 122 of file pormulti.cxx.
Referenced by SwTextPainter::PaintMultiPortion().
|
virtual |
Reimplemented in SwDoubleLinePortion, and SwBidiPortion.
Definition at line 127 of file pormulti.cxx.
Referenced by SwTextCursorSave::SwTextCursorSave().
|
overridevirtual |
Reimplemented from SwLinePortion.
Definition at line 137 of file pormulti.cxx.
References SwLinePortion::dumpAsXml(), SwLinePortion::dumpAsXmlAttributes(), SwLineLayout::GetFirstPortion(), SwLineLayout::GetNext(), SwLinePortion::GetNextPortion(), and GetRoot().
|
inline |
Definition at line 148 of file pormulti.hxx.
Referenced by SwTextFormatter::BuildMultiPortion(), SwTextFormatter::MakeRestPortion(), SwDoubleLinePortion::SwDoubleLinePortion(), and SwRubyPortion::SwRubyPortion().
|
inline |
Definition at line 121 of file pormulti.hxx.
|
inline |
Definition at line 120 of file pormulti.hxx.
Referenced by ActualizeTabulator(), SwRubyPortion::Adjust(), SwRubyPortion::Adjust_(), SwTextFormatter::BuildMultiPortion(), SwDoubleLinePortion::CalcBlanks(), SwRubyPortion::CalcRubyOffset(), CalcSize(), dumpAsXml(), SwBidiPortion::GetSpaceCnt(), lcl_TruncateMultiPortion(), SwTextFormatter::MakeRestPortion(), SwTextPainter::PaintMultiPortion(), SwRubyPortion::SwRubyPortion(), SwTextCursorSave::SwTextCursorSave(), and SwTextFormatter::UpdatePos().
|
inline |
Definition at line 135 of file pormulti.hxx.
Referenced by SwRubyPortion::SwRubyPortion().
|
inlineprotected |
Definition at line 116 of file pormulti.hxx.
Referenced by SwRubyPortion::Adjust_().
|
inlineprotected |
Definition at line 117 of file pormulti.hxx.
Referenced by SwRubyPortion::Adjust_().
|
overridevirtual |
Reimplemented from SwLinePortion.
Definition at line 132 of file pormulti.cxx.
References SwLinePortion::GetLen(), SwLinePortion::GetWhichPor(), and SwPortionHandler::Text().
|
inline |
Definition at line 251 of file pormulti.hxx.
References IsDouble().
Referenced by SwTextFormatter::BuildMultiPortion(), CalcSize(), and SwTextPainter::PaintMultiPortion().
|
inline |
Definition at line 128 of file pormulti.hxx.
Referenced by SwTextFormatter::BuildPortions(), and SwLineLayout::CalcLine().
|
inline |
Definition at line 146 of file pormulti.hxx.
Referenced by SwTextFormatter::BuildMultiPortion(), SwTextCursor::GetModelPositionForViewPoint(), SwTextFormatter::MakeRestPortion(), SwTextPainter::PaintMultiPortion(), and SwTextFormatter::WhichFirstPortion().
|
inline |
Definition at line 123 of file pormulti.hxx.
Referenced by SwTextAdjuster::CalcFlyAdjust(), SwTextAdjuster::CalcNewBlock(), SwDoubleLinePortion::CalcSpacing(), SwBidiPortion::CalcSpacing(), SwDoubleLinePortion::ChgSpaceAdd(), SwBidiPortion::ChgSpaceAdd(), SwTextCursor::GetCharRect_(), SwTextCursor::GetModelPositionForViewPoint(), and SwTextCursorSave::SwTextCursorSave().
|
inline |
Definition at line 132 of file pormulti.hxx.
Referenced by SwTextFormatter::BuildMultiPortion(), SwTextFormatter::BuildPortions(), SwTextAdjuster::CalcNewBlock(), SwTextPainter::CheckSpecialUnderline(), SwTextCursor::GetCharRect_(), SwTextCursor::GetModelPositionForViewPoint(), SwTextSizeInfo::GetMultiCreator(), SwBidiPortion::GetSpaceCnt(), SwTextFormatter::MakeRestPortion(), SwTextFormatter::NewPortion(), SwTextPainter::PaintMultiPortion(), and SwTextCursorSave::SwTextCursorSave().
|
inline |
Definition at line 130 of file pormulti.hxx.
Referenced by SwTextFormatter::BuildMultiPortion(), SwTextAdjuster::CalcNewBlock(), SwTextCursor::GetCharRect_(), HasBrackets(), SwTextFormatter::MakeRestPortion(), SwTextPainter::PaintMultiPortion(), and SwTextCursorSave::SwTextCursorSave().
|
inline |
Definition at line 126 of file pormulti.hxx.
|
inline |
Definition at line 124 of file pormulti.hxx.
Referenced by SwTextFormatter::BuildMultiPortion().
|
inline |
Definition at line 147 of file pormulti.hxx.
Referenced by SwTextCursor::GetModelPositionForViewPoint(), and SwTextPainter::PaintMultiPortion().
|
inline |
Definition at line 131 of file pormulti.hxx.
Referenced by SwTextFormatter::BuildMultiPortion(), CalcSize(), SwTextCursor::GetModelPositionForViewPoint(), SwTextFormatter::MakeRestPortion(), and SwTextPainter::PaintMultiPortion().
|
inline |
Definition at line 134 of file pormulti.hxx.
References RIGHT.
Referenced by SwTextFormatter::BuildMultiPortion(), CalcSize(), SwTextPainter::PaintMultiPortion(), and SwRubyPortion::SwRubyPortion().
|
inline |
Definition at line 133 of file pormulti.hxx.
References ABOVE.
Referenced by SwTextFormatter::BuildMultiPortion(), SwRubyPortion::CalcRubyOffset(), CalcSize(), SwTextFormatter::MakeRestPortion(), SwTextPainter::PaintMultiPortion(), and SwRubyPortion::SwRubyPortion().
|
overridevirtual |
Implements SwLinePortion.
Definition at line 59 of file pormulti.cxx.
|
inlineprotected |
Definition at line 111 of file pormulti.hxx.
Referenced by SwBidiPortion::SwBidiPortion().
|
inlineprotected |
Definition at line 115 of file pormulti.hxx.
Referenced by SwBidiPortion::SwBidiPortion(), SwDoubleLinePortion::SwDoubleLinePortion(), SwRotatedPortion::SwRotatedPortion(), and SwRubyPortion::SwRubyPortion().
|
inlineprotected |
Definition at line 109 of file pormulti.hxx.
Referenced by SwDoubleLinePortion::SwDoubleLinePortion().
|
inline |
Definition at line 129 of file pormulti.hxx.
Referenced by CalcSize().
|
inline |
Definition at line 127 of file pormulti.hxx.
Referenced by SwTextFormatter::BuildMultiPortion(), and SwTextFormatter::MakeRestPortion().
|
inline |
Definition at line 125 of file pormulti.hxx.
Referenced by SwTextFormatter::BuildMultiPortion().
|
inlineprotected |
Definition at line 110 of file pormulti.hxx.
Referenced by SwRubyPortion::SwRubyPortion().
|
inlineprotected |
Definition at line 112 of file pormulti.hxx.
Referenced by SwRubyPortion::SwRubyPortion().
|
inlineprotected |
Definition at line 113 of file pormulti.hxx.
Referenced by ActualizeTabulator(), and SwDoubleLinePortion::CalcBlanks().
|
inlineprotected |
Definition at line 114 of file pormulti.hxx.
Referenced by ActualizeTabulator(), and SwDoubleLinePortion::CalcBlanks().
|
private |
Definition at line 82 of file pormulti.hxx.
|
private |
Definition at line 87 of file pormulti.hxx.
|
private |
Definition at line 85 of file pormulti.hxx.
|
private |
Definition at line 90 of file pormulti.hxx.
|
private |
Definition at line 89 of file pormulti.hxx.
|
private |
Definition at line 88 of file pormulti.hxx.
|
private |
Definition at line 86 of file pormulti.hxx.
|
private |
Definition at line 83 of file pormulti.hxx.
Referenced by ActualizeTabulator().
|
private |
Definition at line 84 of file pormulti.hxx.
Referenced by ActualizeTabulator().
|
private |
Definition at line 91 of file pormulti.hxx.
|
private |
Definition at line 92 of file pormulti.hxx.