LibreOffice Module sw (master) 1
Public Member Functions | Protected Member Functions | Protected Attributes | Private Member Functions | Private Attributes | List of all members
SwLinePortion Class Referenceabstract

Base class for anything that can be part of a line in the Writer layout. More...

#include <porlin.hxx>

Inheritance diagram for SwLinePortion:
[legend]
Collaboration diagram for SwLinePortion:
[legend]

Public Member Functions

 SwLinePortion (const SwLinePortion &rPortion)
 
virtual ~SwLinePortion ()
 
SwLinePortionGetNextPortion () const
 
SwLinePortionoperator= (const SwLinePortion &rPortion)
 
TextFrameIndex GetLen () const
 
void SetLen (TextFrameIndex const nLen)
 
void SetNextPortion (SwLinePortion *pNew)
 
SwTwipsGetAscent ()
 
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 SwLinePortionInsert (SwLinePortion *pPortion)
 
virtual SwLinePortionAppend (SwLinePortion *pPortion)
 
SwLinePortionCut (SwLinePortion *pVictim)
 
void Truncate ()
 
virtual SwLinePortionCompress ()
 
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
 
SwLinePortionFindPrevPortion (const SwLinePortion *pRoot)
 
SwLinePortionFindLastPortion ()
 
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
 
SwPosSizeoperator= (SwPosSize const &)=default
 
SwPosSizeoperator= (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)
 
SwPosSizeoperator= (const Size &rSize)
 

Protected Member Functions

 SwLinePortion ()
 

Protected Attributes

SwLinePortionmpNextPortion
 
TextFrameIndex mnLineLength
 
SwTwips mnAscent
 
SwTwips mnHangingBaseline
 

Private Member Functions

void Truncate_ ()
 

Private Attributes

PortionType mnWhichPor
 
bool m_bJoinBorderWithPrev
 
bool m_bJoinBorderWithNext
 
SwTwips m_nExtraBlankWidth = 0
 

Detailed Description

Base class for anything that can be part of a line in the Writer layout.

Typically owned by SwLineLayout.

Definition at line 51 of file porlin.hxx.

Constructor & Destructor Documentation

◆ SwLinePortion() [1/2]

SwLinePortion::SwLinePortion ( )
protected

Definition at line 66 of file porlin.cxx.

◆ SwLinePortion() [2/2]

SwLinePortion::SwLinePortion ( const SwLinePortion rPortion)
inlineexplicit

Definition at line 201 of file porlin.hxx.

◆ ~SwLinePortion()

SwLinePortion::~SwLinePortion ( )
virtual

Definition at line 52 of file porlin.cxx.

Member Function Documentation

◆ AddPrtWidth()

void SwLinePortion::AddPrtWidth ( const SwTwips  nNew)
inline

◆ Append()

SwLinePortion * SwLinePortion::Append ( SwLinePortion pPortion)
virtual

◆ CalcSpacing()

tools::Long SwLinePortion::CalcSpacing ( tools::Long  nSpaceAdd,
const SwTextSizeInfo rInf 
) const
virtual

◆ CalcTextSize()

void SwLinePortion::CalcTextSize ( const SwTextSizeInfo rInfo)

◆ Compress()

SwLinePortion * SwLinePortion::Compress ( )
virtual

◆ Cut()

SwLinePortion * SwLinePortion::Cut ( SwLinePortion pVictim)

Definition at line 201 of file porlin.cxx.

References FindPrevPortion(), GetNextPortion(), and SetNextPortion().

Referenced by SwLineLayout::CalcLine(), and SwGluePortion::Join().

◆ dumpAsXml()

void SwLinePortion::dumpAsXml ( xmlTextWriterPtr  pWriter,
const OUString &  rText,
TextFrameIndex rOffset 
) const
virtual

◆ dumpAsXmlAttributes()

void SwLinePortion::dumpAsXmlAttributes ( xmlTextWriterPtr  writer,
std::u16string_view  rText,
TextFrameIndex  nOffset 
) const

◆ ExtraBlankWidth() [1/2]

SwTwips SwLinePortion::ExtraBlankWidth ( ) const
inline

Definition at line 87 of file porlin.hxx.

Referenced by SwTextCursor::AddExtraBlankWidth(), and SwTextPortion::Format_().

◆ ExtraBlankWidth() [2/2]

void SwLinePortion::ExtraBlankWidth ( const SwTwips  nNew)
inline

Definition at line 88 of file porlin.hxx.

◆ FindLastPortion()

SwLinePortion * SwLinePortion::FindLastPortion ( )

◆ FindPrevPortion()

SwLinePortion * SwLinePortion::FindPrevPortion ( const SwLinePortion pRoot)

◆ Format()

bool SwLinePortion::Format ( SwTextFormatInfo rInf)
virtual

◆ FormatEOL()

void SwLinePortion::FormatEOL ( SwTextFormatInfo rInf)
virtual

◆ GetAscent() [1/2]

SwTwips & SwLinePortion::GetAscent ( )
inline

◆ GetAscent() [2/2]

SwTwips SwLinePortion::GetAscent ( ) const
inline

Definition at line 81 of file porlin.hxx.

◆ GetExpText()

bool SwLinePortion::GetExpText ( const SwTextSizeInfo rInf,
OUString &  rText 
) const
virtual

◆ GetHangingBaseline()

SwTwips SwLinePortion::GetHangingBaseline ( ) const
inline

◆ GetJoinBorderWithNext()

bool SwLinePortion::GetJoinBorderWithNext ( ) const
inline

◆ GetJoinBorderWithPrev()

bool SwLinePortion::GetJoinBorderWithPrev ( ) const
inline

◆ GetLen()

TextFrameIndex SwLinePortion::GetLen ( ) const
inline

Definition at line 77 of file porlin.hxx.

Referenced by SwRubyPortion::Adjust_(), SwMarginPortion::AdjustRight(), SwTextFormatter::AllowRepaintOpt(), SwTextFormatter::BuildMultiPortion(), SwTextFormatter::BuildPortions(), SwTextFormatter::CalcAscent(), SwDoubleLinePortion::CalcBlanks(), SwTextAdjuster::CalcFlyAdjust(), SwDropCapCache::CalcFontSize(), SwLineLayout::CalcLine(), SwTextAdjuster::CalcNewBlock(), SwTextPainter::CalcPaintOfst(), SwTextPortion::CalcSpacing(), CalcTextSize(), SwTextCursor::CharCursorToLine(), SwTextIter::CharToLine(), SwTextPainter::CheckSpecialUnderline(), Compress(), SwFieldPortion::Compress(), SwTextPaintInfo::DrawBackBrush(), SwTextPainter::DrawTextLine(), SwExpandPortion::dumpAsXml(), SwBlankPortion::dumpAsXml(), SwFieldPortion::dumpAsXml(), SwGluePortion::dumpAsXml(), SwFixPortion::dumpAsXml(), SwHyphPortion::dumpAsXml(), SwLineLayout::dumpAsXml(), SwParaPortion::dumpAsXml(), SwBreakPortion::dumpAsXml(), SwHolePortion::dumpAsXml(), dumpAsXml(), dumpAsXmlAttributes(), SwParaPortion::FindDropPortion(), SwFieldPortion::Format(), SwLineLayout::Format(), SwHiddenTextPortion::Format(), SwTextPortion::Format(), SwTextPortion::Format_(), SwTextFrame::Format_(), SwTextAdjuster::FormatBlock(), SwBlankPortion::FormatEOL(), SwSoftHyphPortion::FormatEOL(), SwTextPortion::FormatEOL(), SwTextFrame::FormatLine(), SwTextFormatter::FormatLine(), SwTextFormatter::FormatQuoVadis(), SwDropPortion::FormatText(), SwTextCursor::GetCharRect_(), SwTextCursor::GetEndCharRect(), SwGluePortion::GetExpText(), SwTextInputFieldPortion::GetExpText(), SwTextFrameInfo::GetFirstIndent(), SwTextIter::GetLength(), GetModelPositionForViewPoint(), SwGluePortion::GetModelPositionForViewPoint(), SwTextCursor::GetModelPositionForViewPoint(), SwParaPortion::GetParLen(), SwTextPortion::GetSpaceCnt(), SwTextFrameInfo::GetSpaces(), SwTextMargin::GetTextEnd(), SwGluePortion::GetTextSize(), SwTextMargin::GetTextStart(), SwCombinedPortion::GetViewWidth(), SwTextGuess::Guess(), HandlePortion(), SwExpandPortion::HandlePortion(), SwBlankPortion::HandlePortion(), SwFieldPortion::HandlePortion(), SwQuoVadisPortion::HandlePortion(), SwHyphPortion::HandlePortion(), SwHyphStrPortion::HandlePortion(), SwSoftHyphPortion::HandlePortion(), SwMultiPortion::HandlePortion(), SwIsoRefPortion::HandlePortion(), SwBreakPortion::HandlePortion(), SwBookmarkPortion::HandlePortion(), SwTabPortion::HandlePortion(), SwIsoToxPortion::HandlePortion(), SwTextPortion::HandlePortion(), SwHolePortion::HandlePortion(), SwTextFormatter::Hyphenate(), SwLineLayout::Insert(), SwTextFormatter::InsertPortion(), SwTextFrame::IsIdxInside(), SwTextFrameInfo::IsOneLine(), SwGluePortion::Join(), SwTextFormatInfo::LastKernPortion(), lcl_AddSpace(), lcl_GetCharRectInsideField(), lcl_OldFieldRest(), lcl_VisualMoveRecursion(), SwTextFormatter::MakeRestPortion(), SwLineLayout::MaxAscentDescent(), SwBlankPortion::MayUnderflow(), SwTextFormatter::MergeCharacterBorder(), Move(), SwTextFormatter::NewPortion(), SwTextFormatter::NewTextPortion(), SwTextIter::Next(), SwCombinedPortion::Paint(), SwGluePortion::Paint(), SwTabPortion::Paint(), SwTextPortion::Paint(), SwTextPainter::PaintDropPortion(), SwTextPainter::PaintMultiPortion(), SwDropPortion::PaintText(), SwTabPortion::PreFormat(), SwTextFrame::PrepareVisualMove(), SwTextFrame::PrepWidows(), SwTextIter::Prev(), SwTextFrame::RightMargin(), SwTaggedPDFHelper::SetAttributes(), SwTextFrame::StopAnimation(), SwTextSlot::SwTextSlot(), SwTextIter::TruncLines(), SwTextFormatter::Underflow(), SwTextFormatter::UpdatePos(), and SwTextFormatter::WhichTextPor().

◆ GetModelPositionForViewPoint()

TextFrameIndex SwLinePortion::GetModelPositionForViewPoint ( sal_uInt16  nOfst) const
virtual

◆ GetNextPortion()

SwLinePortion * SwLinePortion::GetNextPortion ( ) const
inline

Definition at line 75 of file porlin.hxx.

Referenced by SwMultiPortion::ActualizeTabulator(), SwTextCursor::AddExtraBlankWidth(), SwRubyPortion::Adjust_(), SwTextCursor::AdjustBaseLine(), SwMarginPortion::AdjustRight(), SwTextFormatter::AlignFlyInCntBase(), SwTextFormatter::AllowRepaintOpt(), SwTextFormatter::BuildMultiPortion(), SwTextFormatter::BuildPortions(), SwTextFrame::CalcAdditionalFirstLineOffset(), SwDoubleLinePortion::CalcBlanks(), SwTextAdjuster::CalcDropAdjust(), SwTextAdjuster::CalcFlyAdjust(), SwTextAdjuster::CalcKanaAdj(), SwLineLayout::CalcLeftMargin(), SwLineLayout::CalcLine(), SwTextAdjuster::CalcNewBlock(), SwTextPainter::CalcPaintOfst(), SwRubyPortion::CalcRubyOffset(), SwTextPortion::CalcSpacing(), SwTextFormatInfo::CheckFootnotePortion_(), SwTextPainter::CheckSpecialUnderline(), ChkChain(), SwTextFormatter::ChkFlyUnderflow(), SwBreakPortion::Compress(), ConsiderNextPortionForCursorOffset(), Cut(), SwTextPaintInfo::DrawBackBrush(), SwTextPaintInfo::DrawText_(), SwTextPainter::DrawTextLine(), SwMultiPortion::dumpAsXml(), SwFrame::dumpAsXml(), SwParaPortion::FindDropPortion(), FindLastPortion(), FindPrevPortion(), SwTextAdjuster::FormatBlock(), SwTextPortion::FormatEOL(), SwTextFormatter::FormatLine(), SwTextFormatter::FormatQuoVadis(), SwTextCursor::GetCharRect_(), SwTextCursor::GetEndCharRect(), SwSoftHyphPortion::GetExpText(), SwLineLayout::GetHangingMargin_(), SwTextCursor::GetModelPositionForViewPoint(), SwBidiPortion::GetSpaceCnt(), SwTextFrame::Hyphenate(), SwTextFormatter::Hyphenate(), SwTextFormatter::InsertPortion(), SwTextFormatInfo::LastKernPortion(), lcl_AddSpace(), lcl_ExtractFieldFollow(), lcl_GetCharRectInsideField(), lcl_NeedsFieldRest(), lcl_OldFieldRest(), lcl_VisualMoveRecursion(), SwTextFormatter::MakeRestPortion(), SwLineLayout::MaxAscentDescent(), SwBlankPortion::MayUnderflow(), SwTextFormatter::MergeCharacterBorder(), SwTextFormatter::NewTabPortion(), SwNumberPortion::Paint(), SwGrfNumPortion::Paint(), SwTextPainter::PaintDropPortion(), SwTextPainter::PaintMultiPortion(), SwTabPortion::PostFormat(), SwParaPortion::SetErgoSumNum(), SwTextFrame::StopAnimation(), Truncate_(), SwTextFormatter::Underflow(), SwTextFormatter::UpdatePos(), SwParaPortion::UpdateQuoVadis(), SwTextFrame::VisitPortions(), SwTextFormatter::WhichFirstPortion(), and SwTextFormatter::WhichTextPor().

◆ GetTextSize()

SwPosSize SwLinePortion::GetTextSize ( const SwTextSizeInfo rInfo) const
virtual

◆ GetViewWidth()

sal_uInt16 SwLinePortion::GetViewWidth ( const SwTextSizeInfo rInf) const
virtual

◆ GetWhichPor()

PortionType SwLinePortion::GetWhichPor ( ) const
inline

◆ HandlePortion()

void SwLinePortion::HandlePortion ( SwPortionHandler rPH) const
virtual

◆ InExpGrp()

bool SwLinePortion::InExpGrp ( ) const
inline

◆ InFieldGrp()

bool SwLinePortion::InFieldGrp ( ) const
inline

◆ InFixGrp()

bool SwLinePortion::InFixGrp ( ) const
inline

Definition at line 110 of file porlin.hxx.

References PORGRP_FIX.

Referenced by SwTextCursor::GetCharRect_(), and SwSoftHyphPortion::GetExpText().

◆ InFixMargGrp()

bool SwLinePortion::InFixMargGrp ( ) const
inline

◆ InGlueGrp()

bool SwLinePortion::InGlueGrp ( ) const
inline

◆ InHyphGrp()

bool SwLinePortion::InHyphGrp ( ) const
inline

◆ InNumberGrp()

bool SwLinePortion::InNumberGrp ( ) const
inline

◆ Insert()

SwLinePortion * SwLinePortion::Insert ( SwLinePortion pPortion)
virtual

◆ InSpaceGrp()

bool SwLinePortion::InSpaceGrp ( ) const
inline

◆ InTabGrp()

bool SwLinePortion::InTabGrp ( ) const
inline

◆ InTextGrp()

bool SwLinePortion::InTextGrp ( ) const
inline

◆ InToxRefGrp()

bool SwLinePortion::InToxRefGrp ( ) const
inline

Definition at line 112 of file porlin.hxx.

References PORGRP_TOXREF.

Referenced by SwTextCursor::GetModelPositionForViewPoint().

◆ InToxRefOrFieldGrp()

bool SwLinePortion::InToxRefOrFieldGrp ( ) const
inline

Definition at line 113 of file porlin.hxx.

References PORGRP_FLD, and PORGRP_TOXREF.

Referenced by SwTextCursor::GetModelPositionForViewPoint().

◆ IsArrowPortion()

bool SwLinePortion::IsArrowPortion ( ) const
inline

Definition at line 142 of file porlin.hxx.

References Arrow.

Referenced by SwTextPainter::DrawTextLine().

◆ IsBlankPortion()

bool SwLinePortion::IsBlankPortion ( ) const
inline

◆ IsBreakPortion()

bool SwLinePortion::IsBreakPortion ( ) const
inline

◆ IsCombinedPortion()

bool SwLinePortion::IsCombinedPortion ( ) const
inline

Definition at line 138 of file porlin.hxx.

References Combined.

Referenced by SwTextPortion::CalcSpacing(), and SwTextPortion::GetSpaceCnt().

◆ IsControlCharPortion()

bool SwLinePortion::IsControlCharPortion ( ) const
inline

Definition at line 145 of file porlin.hxx.

References Bookmark, and ControlChar.

Referenced by lcl_AddSpace().

◆ IsDropPortion()

bool SwLinePortion::IsDropPortion ( ) const
inline

◆ IsErgoSumPortion()

bool SwLinePortion::IsErgoSumPortion ( ) const
inline

◆ IsFlyCntPortion()

bool SwLinePortion::IsFlyCntPortion ( ) const
inline

◆ IsFlyPortion()

bool SwLinePortion::IsFlyPortion ( ) const
inline

◆ IsFootnoteNumPortion()

bool SwLinePortion::IsFootnoteNumPortion ( ) const
inline

◆ IsFootnotePortion()

bool SwLinePortion::IsFootnotePortion ( ) const
inline

◆ IsGrfNumPortion()

bool SwLinePortion::IsGrfNumPortion ( ) const
inline

◆ IsHangingPortion()

bool SwLinePortion::IsHangingPortion ( ) const
inline

◆ IsHolePortion()

bool SwLinePortion::IsHolePortion ( ) const
inline

◆ IsKernPortion()

bool SwLinePortion::IsKernPortion ( ) const
inline

◆ IsLayPortion()

bool SwLinePortion::IsLayPortion ( ) const
inline

Definition at line 131 of file porlin.hxx.

References Lay.

Referenced by SwSoftHyphPortion::GetExpText().

◆ IsMarginPortion()

bool SwLinePortion::IsMarginPortion ( ) const
inline

◆ IsMultiPortion()

bool SwLinePortion::IsMultiPortion ( ) const
inline

◆ IsNumberPortion()

bool SwLinePortion::IsNumberPortion ( ) const
inline

Definition at line 144 of file porlin.hxx.

References Number.

Referenced by SwFieldPortion::CheckScript(), and SwTextGuess::Guess().

◆ IsParaPortion()

bool SwLinePortion::IsParaPortion ( ) const
inline

Definition at line 132 of file porlin.hxx.

References Para.

Referenced by SwSoftHyphPortion::GetExpText(), and SwTextFormatter::Hyphenate().

◆ IsPostItsPortion()

bool SwLinePortion::IsPostItsPortion ( ) const
inline

◆ IsQuoVadisPortion()

bool SwLinePortion::IsQuoVadisPortion ( ) const
inline

◆ IsSoftHyphPortion()

bool SwLinePortion::IsSoftHyphPortion ( ) const
inline

Definition at line 136 of file porlin.hxx.

References SoftHyphen.

Referenced by SwTextFormatter::Hyphenate(), and SwTextFormatter::Underflow().

◆ IsTabCenterPortion()

bool SwLinePortion::IsTabCenterPortion ( ) const
inline

Definition at line 126 of file porlin.hxx.

References TabCenter.

Referenced by SwTextFormatter::NewTabPortion().

◆ IsTabDecimalPortion()

bool SwLinePortion::IsTabDecimalPortion ( ) const
inline

Definition at line 127 of file porlin.hxx.

References TabDecimal.

Referenced by SwTextFormatter::NewTabPortion().

◆ IsTabLeftPortion()

bool SwLinePortion::IsTabLeftPortion ( ) const
inline

Definition at line 124 of file porlin.hxx.

References TabLeft.

Referenced by SwTextFormatter::BuildPortions(), and SwTextAdjuster::CalcKanaAdj().

◆ IsTabRightPortion()

bool SwLinePortion::IsTabRightPortion ( ) const
inline

Definition at line 125 of file porlin.hxx.

References TabRight.

◆ IsTextPortion()

bool SwLinePortion::IsTextPortion ( ) const
inline

◆ Move()

void SwLinePortion::Move ( SwTextPaintInfo rInf)

◆ operator=()

SwLinePortion & SwLinePortion::operator= ( const SwLinePortion rPortion)
inline

◆ Paint()

virtual void SwLinePortion::Paint ( const SwTextPaintInfo rInf) const
pure virtual

◆ PrePaint()

void SwLinePortion::PrePaint ( const SwTextPaintInfo rInf,
const SwLinePortion pLast 
) const

◆ PrtWidth() [1/2]

SwTwips SwLinePortion::PrtWidth ( ) const
inline

◆ PrtWidth() [2/2]

void SwLinePortion::PrtWidth ( SwTwips  nNewWidth)
inline

◆ SetAscent()

void SwLinePortion::SetAscent ( const SwTwips  nNewAsc)
inline

◆ SetHangingBaseline()

void SwLinePortion::SetHangingBaseline ( const SwTwips  nNewBaseline)
inline

Definition at line 90 of file porlin.hxx.

Referenced by SwTextFormatter::CalcAscent(), and SwTextFormatter::InsertPortion().

◆ SetJoinBorderWithNext()

void SwLinePortion::SetJoinBorderWithNext ( const bool  bJoinNext)
inline

◆ SetJoinBorderWithPrev()

void SwLinePortion::SetJoinBorderWithPrev ( const bool  bJoinPrev)
inline

◆ SetLen()

void SwLinePortion::SetLen ( TextFrameIndex const  nLen)
inline

Definition at line 78 of file porlin.hxx.

Referenced by SwMarginPortion::AdjustRight(), SwTextPortion::BreakCut(), SwTextPortion::BreakUnderflow(), SwTextFormatter::BuildMultiPortion(), SwLineLayout::CalcLeftMargin(), SwLineLayout::CalcLine(), SwTextPortion::CreateHyphen(), SwDropPortion::Format(), SwFieldPortion::Format(), SwNumberPortion::Format(), SwGrfNumPortion::Format(), SwCombinedPortion::Format(), SwFlyPortion::Format(), SwFlyCntPortion::Format(), SwQuoVadisPortion::Format(), SwErgoSumPortion::Format(), SwTextPortion::Format(), SwTextPortion::Format_(), SwTextPortion::FormatEOL(), SwTextFormatter::FormatLine(), SwTextFormatter::FormatQuoVadis(), SwDropPortion::FormatText(), SwTextCursor::GetCharRect_(), SwDropPortion::GetTextSize(), SwLineLayout::Init(), SwGluePortion::Join(), lcl_TruncateMultiPortion(), SwTextFormatter::NewDropPortion(), SwTextFormatter::NewExtraPortion(), SwTextFormatter::NewPortion(), SwTextFormatter::NewTextPortion(), SwDropPortion::PaintText(), SwTabPortion::PreFormat(), SwAutoTabDecimalPortion::SwAutoTabDecimalPortion(), SwBlankPortion::SwBlankPortion(), SwBookmarkPortion::SwBookmarkPortion(), SwCombinedPortion::SwCombinedPortion(), SwControlCharPortion::SwControlCharPortion(), SwErgoSumPortion::SwErgoSumPortion(), SwFootnotePortion::SwFootnotePortion(), SwHangingPortion::SwHangingPortion(), SwHiddenPortion::SwHiddenPortion(), SwHiddenTextPortion::SwHiddenTextPortion(), SwHolePortion::SwHolePortion(), SwIsoRefPortion::SwIsoRefPortion(), SwIsoToxPortion::SwIsoToxPortion(), SwMultiPortion::SwMultiPortion(), SwQuoVadisPortion::SwQuoVadisPortion(), SwSoftHyphPortion::SwSoftHyphPortion(), and SwSoftHyphStrPortion::SwSoftHyphStrPortion().

◆ SetNextPortion()

void SwLinePortion::SetNextPortion ( SwLinePortion pNew)
inline

◆ SetWhichPor()

void SwLinePortion::SetWhichPor ( const PortionType  nNew)
inline

Definition at line 101 of file porlin.hxx.

Referenced by SwTextPortion::CopyLinePortion(), SwArrowPortion::SwArrowPortion(), SwBlankPortion::SwBlankPortion(), SwBookmarkPortion::SwBookmarkPortion(), SwBreakPortion::SwBreakPortion(), SwBulletPortion::SwBulletPortion(), SwCombinedPortion::SwCombinedPortion(), SwControlCharPortion::SwControlCharPortion(), SwDropPortion::SwDropPortion(), SwErgoSumPortion::SwErgoSumPortion(), SwExpandPortion::SwExpandPortion(), SwFieldFormCheckboxPortion::SwFieldFormCheckboxPortion(), SwFieldMarkPortion::SwFieldMarkPortion(), SwFieldPortion::SwFieldPortion(), SwFixPortion::SwFixPortion(), SwFlyCntPortion::SwFlyCntPortion(), SwFlyPortion::SwFlyPortion(), SwFootnoteNumPortion::SwFootnoteNumPortion(), SwFootnotePortion::SwFootnotePortion(), SwGluePortion::SwGluePortion(), SwGrfNumPortion::SwGrfNumPortion(), SwHangingPortion::SwHangingPortion(), SwHiddenPortion::SwHiddenPortion(), SwHiddenTextPortion::SwHiddenTextPortion(), SwHolePortion::SwHolePortion(), SwHyphPortion::SwHyphPortion(), SwHyphStrPortion::SwHyphStrPortion(), SwIsoRefPortion::SwIsoRefPortion(), SwIsoToxPortion::SwIsoToxPortion(), SwKernPortion::SwKernPortion(), SwLineLayout::SwLineLayout(), SwMarginPortion::SwMarginPortion(), SwMultiPortion::SwMultiPortion(), SwNumberPortion::SwNumberPortion(), SwParaPortion::SwParaPortion(), SwPostItsPortion::SwPostItsPortion(), SwQuoVadisPortion::SwQuoVadisPortion(), SwRefPortion::SwRefPortion(), SwSoftHyphPortion::SwSoftHyphPortion(), SwSoftHyphStrPortion::SwSoftHyphStrPortion(), SwTabCenterPortion::SwTabCenterPortion(), SwTabDecimalPortion::SwTabDecimalPortion(), SwTabLeftPortion::SwTabLeftPortion(), SwTabPortion::SwTabPortion(), SwTabRightPortion::SwTabRightPortion(), SwTextInputFieldPortion::SwTextInputFieldPortion(), SwTextPortion::SwTextPortion(), SwTmpEndPortion::SwTmpEndPortion(), SwToxPortion::SwToxPortion(), and SwTextFormatter::Underflow().

◆ SubPrtWidth()

void SwLinePortion::SubPrtWidth ( const SwTwips  nNew)
inline

Definition at line 86 of file porlin.hxx.

References SwPosSize::Width().

Referenced by SwMarginPortion::AdjustRight(), and SwGluePortion::MoveGlue().

◆ Truncate()

void SwLinePortion::Truncate ( )
inline

◆ Truncate_()

void SwLinePortion::Truncate_ ( )
private

Definition at line 152 of file porlin.cxx.

References GetNextPortion(), mpNextPortion, and SetNextPortion().

Referenced by Truncate().

Member Data Documentation

◆ m_bJoinBorderWithNext

bool SwLinePortion::m_bJoinBorderWithNext
private

Definition at line 65 of file porlin.hxx.

Referenced by operator=().

◆ m_bJoinBorderWithPrev

bool SwLinePortion::m_bJoinBorderWithPrev
private

Definition at line 64 of file porlin.hxx.

Referenced by operator=().

◆ m_nExtraBlankWidth

SwTwips SwLinePortion::m_nExtraBlankWidth = 0
private

Definition at line 66 of file porlin.hxx.

Referenced by operator=().

◆ mnAscent

SwTwips SwLinePortion::mnAscent
protected

◆ mnHangingBaseline

SwTwips SwLinePortion::mnHangingBaseline
protected

Definition at line 59 of file porlin.hxx.

Referenced by operator=().

◆ mnLineLength

TextFrameIndex SwLinePortion::mnLineLength
protected

◆ mnWhichPor

PortionType SwLinePortion::mnWhichPor
private

Definition at line 63 of file porlin.hxx.

Referenced by operator=().

◆ mpNextPortion

SwLinePortion* SwLinePortion::mpNextPortion
protected

The documentation for this class was generated from the following files: