LibreOffice Module sw (master)
1
|
#include <pormulti.hxx>
Static Public Member Functions | |
static void | ResetSpaceAdd (SwLineLayout *pCurr) |
Private Attributes | |
std::unique_ptr< SwBracket > | m_pBracket |
SwTwips | m_nLineDiff |
TextFrameIndex | m_nBlank1 |
Number of blanks in the first line. More... | |
TextFrameIndex | m_nBlank2 |
Number of blanks in the second line. More... | |
Additional Inherited Members | |
![]() | |
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 |
![]() | |
SwLinePortion () | |
![]() | |
SwLinePortion * | mpNextPortion |
TextFrameIndex | mnLineLength |
SwTwips | mnAscent |
SwTwips | mnHangingBaseline |
Definition at line 157 of file pormulti.hxx.
SwDoubleLinePortion::SwDoubleLinePortion | ( | SwDoubleLinePortion & | rDouble, |
TextFrameIndex | nEnd | ||
) |
Definition at line 263 of file pormulti.cxx.
References BracketWidth(), ClearBrackets(), GetBrackets(), SwMultiPortion::GetDirection(), SetBrackets(), SwMultiPortion::SetDirection(), SwMultiPortion::SetDouble(), and SwPosSize::Width().
SwDoubleLinePortion::SwDoubleLinePortion | ( | const SwMultiCreator & | rCreate, |
TextFrameIndex | nEnd | ||
) |
Definition at line 289 of file pormulti.cxx.
References DIR_LEFT2RIGHT, DIR_RIGHT2LEFT, SvxTwoLinesItem::GetEndBracket(), CharFormat::GetItem(), SvxTwoLinesItem::GetStartBracket(), m_pBracket, SwMultiCreator::nLevel, SwMultiCreator::nStartOfAttr, SwMultiCreator::pAttr, SwMultiCreator::pItem, RES_CHRATR_TWO_LINES(), SwMultiPortion::SetDirection(), SwMultiPortion::SetDouble(), SW_SCRIPTS, and SwScriptInfo::WhichFont().
|
overridevirtual |
Definition at line 558 of file pormulti.cxx.
|
inline |
Definition at line 176 of file pormulti.hxx.
References PostWidth(), and PreWidth().
Referenced by SwDoubleLinePortion().
void SwDoubleLinePortion::CalcBlanks | ( | SwTextFormatInfo & | rInf | ) |
Definition at line 475 of file pormulti.cxx.
References SwLineLayout::GetFirstPortion(), SwTextSizeInfo::GetIdx(), SwLinePortion::GetLen(), SwLineLayout::GetNext(), SwLinePortion::GetNextPortion(), SwMultiPortion::GetRoot(), SwLinePortion::InTabGrp(), SwLinePortion::InTextGrp(), m_nBlank1, m_nBlank2, m_nLineDiff, SwTextSizeInfo::SetIdx(), SwMultiPortion::SetTab1(), SwMultiPortion::SetTab2(), and SwPosSize::Width().
|
overridevirtual |
Reimplemented from SwMultiPortion.
Definition at line 507 of file pormulti.cxx.
References GetSpaceCnt(), SwMultiPortion::HasTabulator(), and SPACING_PRECISION_FACTOR.
Referenced by PaintBracket().
|
overridevirtual |
Reimplemented from SwMultiPortion.
Definition at line 518 of file pormulti.cxx.
References SwLineLayout::CreateSpaceAdd(), SwLineLayout::GetLLSpaceAdd(), SwLineLayout::GetpLLSpaceAdd(), GetSmallerSpaceCnt(), GetSpaceCnt(), SwMultiPortion::HasTabulator(), SwLineLayout::IsSpaceAdd(), and SwLineLayout::SetLLSpaceAdd().
|
inline |
Definition at line 174 of file pormulti.hxx.
References SwPosSize::Width().
Referenced by SwDoubleLinePortion().
void SwDoubleLinePortion::FormatBrackets | ( | SwTextFormatInfo & | rInf, |
SwTwips & | nMaxWidth | ||
) |
Definition at line 409 of file pormulti.cxx.
References aStr, SwTextSizeInfo::GetAscent(), SwTextSizeInfo::GetFont(), SwTextSizeInfo::GetTextSize(), SwPosSize::Height(), m_pBracket, SwFont::SetProportion(), SW_SCRIPTS, SwPosSize::Width(), and SwTextPaintInfo::X().
|
inline |
Definition at line 168 of file pormulti.hxx.
Referenced by SwDoubleLinePortion().
|
inline |
Definition at line 180 of file pormulti.hxx.
References m_nLineDiff.
|
inline |
|
inline |
Definition at line 181 of file pormulti.hxx.
References m_nBlank1.
Referenced by CalcSpacing(), and ChgSpaceAdd().
void SwDoubleLinePortion::PaintBracket | ( | SwTextPaintInfo & | rInf, |
tools::Long | nSpaceAdd, | ||
bool | bOpen | ||
) | const |
Definition at line 360 of file pormulti.cxx.
References CalcSpacing(), SwTextSizeInfo::GetFont(), SwPosSize::Height(), m_pBracket, SwBlankPortion::Paint(), PostWidth(), PreWidth(), SwLinePortion::SetAscent(), SW_SCRIPTS, SwPosSize::Width(), and SwTextPaintInfo::X().
|
inline |
Definition at line 173 of file pormulti.hxx.
Referenced by BracketWidth(), and PaintBracket().
|
inline |
Definition at line 172 of file pormulti.hxx.
Referenced by BracketWidth(), and PaintBracket().
|
static |
Definition at line 551 of file pormulti.cxx.
References SwLineLayout::FinishSpaceAdd(), SwLineLayout::GetLLSpaceAddCount(), and SwLineLayout::RemoveFirstLLSpaceAdd().
Referenced by SwTextCursor::GetCharRect_(), and SwTextCursorSave::~SwTextCursorSave().
void SwDoubleLinePortion::SetBrackets | ( | const SwDoubleLinePortion & | rDouble | ) |
Definition at line 393 of file pormulti.cxx.
References m_pBracket.
Referenced by SwDoubleLinePortion().
|
private |
Number of blanks in the first line.
Definition at line 161 of file pormulti.hxx.
Referenced by CalcBlanks(), and GetSpaceCnt().
|
private |
Number of blanks in the second line.
Definition at line 162 of file pormulti.hxx.
Referenced by CalcBlanks(), and GetSmallerSpaceCnt().
|
private |
Definition at line 160 of file pormulti.hxx.
Referenced by CalcBlanks(), and GetLineDiff().
|
private |
Definition at line 159 of file pormulti.hxx.
Referenced by FormatBrackets(), PaintBracket(), SetBrackets(), and SwDoubleLinePortion().