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)
 
sal_uInt16 & GetAscent ()
 
sal_uInt16 GetAscent () const
 
void SetAscent (const sal_uInt16 nNewAsc)
 
void PrtWidth (sal_uInt16 nNewWidth)
 
sal_uInt16 PrtWidth () const
 
void AddPrtWidth (const sal_uInt16 nNew)
 
void SubPrtWidth (const sal_uInt16 nNew)
 
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 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 GetCursorOfst (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 long CalcSpacing (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)
 
- Public Member Functions inherited from SwPosSize
 SwPosSize (const sal_uInt16 nW=0, const sal_uInt16 nH=0)
 
 SwPosSize (const Size &rSize)
 
sal_uInt16 Height () const
 
void Height (const sal_uInt16 nNew)
 
sal_uInt16 Width () const
 
void Width (const sal_uInt16 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 nLineLength
 
sal_uInt16 nAscent
 

Private Member Functions

void Truncate_ ()
 

Private Attributes

PortionType nWhichPor
 
bool m_bJoinBorderWithPrev
 
bool m_bJoinBorderWithNext
 

Detailed Description

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

Typically owned by SwLineLayout.

Definition at line 50 of file porlin.hxx.

Constructor & Destructor Documentation

SwLinePortion::SwLinePortion ( )
protected

Definition at line 71 of file porlin.cxx.

SwLinePortion::SwLinePortion ( const SwLinePortion rPortion)
inlineexplicit

Definition at line 185 of file porlin.hxx.

SwLinePortion::~SwLinePortion ( )
virtual

Definition at line 55 of file porlin.cxx.

References SwBlink::Delete(), and pBlink.

Member Function Documentation

void SwLinePortion::AddPrtWidth ( const sal_uInt16  nNew)
inline
SwLinePortion * SwLinePortion::Append ( SwLinePortion pPortion)
virtual
long SwLinePortion::CalcSpacing ( long  nSpaceAdd,
const SwTextSizeInfo rInf 
) const
virtual
void SwLinePortion::CalcTextSize ( const SwTextSizeInfo rInfo)
SwLinePortion * SwLinePortion::Compress ( )
virtual
SwLinePortion * SwLinePortion::Cut ( SwLinePortion pVictim)

Definition at line 204 of file porlin.cxx.

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

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

SwLinePortion * SwLinePortion::FindLastPortion ( )
SwLinePortion * SwLinePortion::FindPrevPortion ( const SwLinePortion pRoot)
bool SwLinePortion::Format ( SwTextFormatInfo rInf)
virtual
void SwLinePortion::FormatEOL ( SwTextFormatInfo rInf)
virtual
sal_uInt16& SwLinePortion::GetAscent ( )
inline
sal_uInt16 SwLinePortion::GetAscent ( ) const
inline

Definition at line 78 of file porlin.hxx.

References nAscent.

TextFrameIndex SwLinePortion::GetCursorOfst ( sal_uInt16  nOfst) const
virtual
bool SwLinePortion::GetExpText ( const SwTextSizeInfo rInf,
OUString &  rText 
) const
virtual
bool SwLinePortion::GetJoinBorderWithNext ( ) const
inline
bool SwLinePortion::GetJoinBorderWithPrev ( ) const
inline
TextFrameIndex SwLinePortion::GetLen ( ) const
inline

Definition at line 74 of file porlin.hxx.

References nLineLength.

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(), SwFieldPortion::Compress(), Compress(), SwTextPaintInfo::DrawBackBrush(), SwTextPainter::DrawTextLine(), SwParaPortion::FindDropPortion(), SwTextPortion::Format(), SwFieldPortion::Format(), SwHiddenTextPortion::Format(), SwTextPortion::Format_(), SwTextFrame::Format_(), SwTextAdjuster::FormatBlock(), SwTextPortion::FormatEOL(), SwBlankPortion::FormatEOL(), SwSoftHyphPortion::FormatEOL(), SwTextFormatter::FormatLine(), SwTextFrame::FormatLine(), SwTextFormatter::FormatQuoVadis(), SwDropPortion::FormatText(), SwTextCursor::GetCharRect_(), SwGluePortion::GetCursorOfst(), GetCursorOfst(), SwTextCursor::GetCursorOfst(), SwTextCursor::GetEndCharRect(), SwGluePortion::GetExpText(), SwTextFrameInfo::GetFirstIndent(), SwTextIter::GetLength(), SwParaPortion::GetParLen(), SwTextPortion::GetSpaceCnt(), SwTextFrameInfo::GetSpaces(), SwTextMargin::GetTextEnd(), SwGluePortion::GetTextSize(), SwTextMargin::GetTextStart(), SwCombinedPortion::GetViewWidth(), SwTextGuess::Guess(), SwHyphPortion::HandlePortion(), SwExpandPortion::HandlePortion(), SwTabPortion::HandlePortion(), SwIsoRefPortion::HandlePortion(), SwIsoToxPortion::HandlePortion(), SwTextPortion::HandlePortion(), SwHyphStrPortion::HandlePortion(), SwBlankPortion::HandlePortion(), SwBreakPortion::HandlePortion(), SwSoftHyphPortion::HandlePortion(), SwHolePortion::HandlePortion(), SwQuoVadisPortion::HandlePortion(), SwFieldPortion::HandlePortion(), SwMultiPortion::HandlePortion(), HandlePortion(), SwTextFormatter::Hyphenate(), 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(), SwTextIter::Next(), SwTabPortion::Paint(), SwTextPortion::Paint(), SwGluePortion::Paint(), SwFieldPortion::Paint(), SwCombinedPortion::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().

SwLinePortion* SwLinePortion::GetNextPortion ( ) const
inline

Definition at line 72 of file porlin.hxx.

References mpNextPortion.

Referenced by SwMultiPortion::ActualizeTabulator(), SwRubyPortion::Adjust_(), 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(), SwParaPortion::FindDropPortion(), FindLastPortion(), FindPrevPortion(), SwTextAdjuster::FormatBlock(), SwTextPortion::FormatEOL(), SwTextFormatter::FormatLine(), SwTextFormatter::FormatQuoVadis(), SwTextCursor::GetCharRect_(), SwTextCursor::GetCursorOfst(), SwTextCursor::GetEndCharRect(), SwSoftHyphPortion::GetExpText(), SwLineLayout::GetHangingMargin_(), SwBidiPortion::GetSpaceCnt(), SwTextFormatter::Hyphenate(), SwTextFrame::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().

SwPosSize SwLinePortion::GetTextSize ( const SwTextSizeInfo rInfo) const
virtual
sal_uInt16 SwLinePortion::GetViewWidth ( const SwTextSizeInfo rInf) const
virtual
PortionType SwLinePortion::GetWhichPor ( ) const
inline
void SwLinePortion::HandlePortion ( SwPortionHandler rPH) const
virtual
bool SwLinePortion::InExpGrp ( ) const
inline
bool SwLinePortion::InFieldGrp ( ) const
inline
bool SwLinePortion::InFixGrp ( ) const
inline

Definition at line 103 of file porlin.hxx.

References PORGRP_FIX.

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

bool SwLinePortion::InFixMargGrp ( ) const
inline
bool SwLinePortion::InGlueGrp ( ) const
inline
bool SwLinePortion::InHyphGrp ( ) const
inline
bool SwLinePortion::InNumberGrp ( ) const
inline
SwLinePortion * SwLinePortion::Insert ( SwLinePortion pPortion)
virtual
bool SwLinePortion::InSpaceGrp ( ) const
inline
bool SwLinePortion::InTabGrp ( ) const
inline
bool SwLinePortion::InTextGrp ( ) const
inline
bool SwLinePortion::InToxRefGrp ( ) const
inline

Definition at line 105 of file porlin.hxx.

References PORGRP_TOXREF.

Referenced by SwTextCursor::GetCursorOfst().

bool SwLinePortion::InToxRefOrFieldGrp ( ) const
inline

Definition at line 106 of file porlin.hxx.

References PORGRP_FLD, and PORGRP_TOXREF.

Referenced by SwTextCursor::GetCursorOfst().

bool SwLinePortion::IsArrowPortion ( ) const
inline

Definition at line 133 of file porlin.hxx.

References Arrow.

Referenced by SwTextPainter::DrawTextLine().

bool SwLinePortion::IsBlankPortion ( ) const
inline
bool SwLinePortion::IsBreakPortion ( ) const
inline
bool SwLinePortion::IsCombinedPortion ( ) const
inline

Definition at line 129 of file porlin.hxx.

References Combined.

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

bool SwLinePortion::IsControlCharPortion ( ) const
inline

Definition at line 136 of file porlin.hxx.

References ControlChar.

Referenced by lcl_AddSpace().

bool SwLinePortion::IsDropPortion ( ) const
inline
bool SwLinePortion::IsErgoSumPortion ( ) const
inline
bool SwLinePortion::IsFlyCntPortion ( ) const
inline
bool SwLinePortion::IsFlyPortion ( ) const
inline
bool SwLinePortion::IsFootnoteNumPortion ( ) const
inline
bool SwLinePortion::IsFootnotePortion ( ) const
inline
bool SwLinePortion::IsGrfNumPortion ( ) const
inline
bool SwLinePortion::IsHangingPortion ( ) const
inline
bool SwLinePortion::IsHolePortion ( ) const
inline
bool SwLinePortion::IsKernPortion ( ) const
inline
bool SwLinePortion::IsLayPortion ( ) const
inline

Definition at line 122 of file porlin.hxx.

References Lay.

Referenced by SwSoftHyphPortion::GetExpText(), and SwBlink::Insert().

bool SwLinePortion::IsMarginPortion ( ) const
inline
bool SwLinePortion::IsMultiPortion ( ) const
inline
bool SwLinePortion::IsNumberPortion ( ) const
inline

Definition at line 135 of file porlin.hxx.

References Number.

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

bool SwLinePortion::IsParaPortion ( ) const
inline

Definition at line 123 of file porlin.hxx.

References Para.

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

bool SwLinePortion::IsPostItsPortion ( ) const
inline
bool SwLinePortion::IsQuoVadisPortion ( ) const
inline
bool SwLinePortion::IsSoftHyphPortion ( ) const
inline

Definition at line 127 of file porlin.hxx.

References SoftHyphen.

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

bool SwLinePortion::IsTabLeftPortion ( ) const
inline

Definition at line 117 of file porlin.hxx.

References TabLeft.

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

bool SwLinePortion::IsTabRightPortion ( ) const
inline

Definition at line 118 of file porlin.hxx.

References TabRight.

bool SwLinePortion::IsTextPortion ( ) const
inline

Definition at line 130 of file porlin.hxx.

References Text.

Referenced by SwLineLayout::CalcLine().

void SwLinePortion::Move ( SwTextPaintInfo rInf)
SwLinePortion & SwLinePortion::operator= ( const SwLinePortion rPortion)
inline

Definition at line 174 of file porlin.hxx.

References m_bJoinBorderWithNext, m_bJoinBorderWithPrev, nAscent, nLineLength, and nWhichPor.

virtual void SwLinePortion::Paint ( const SwTextPaintInfo rInf) const
pure virtual
void SwLinePortion::PrePaint ( const SwTextPaintInfo rInf,
const SwLinePortion pLast 
) const
void SwLinePortion::PrtWidth ( sal_uInt16  nNewWidth)
inline
sal_uInt16 SwLinePortion::PrtWidth ( ) const
inline
void SwLinePortion::SetAscent ( const sal_uInt16  nNewAsc)
inline
void SwLinePortion::SetJoinBorderWithNext ( const bool  bJoinNext)
inline
void SwLinePortion::SetJoinBorderWithPrev ( const bool  bJoinPrev)
inline
void SwLinePortion::SetLen ( TextFrameIndex const  nLen)
inline

Definition at line 75 of file porlin.hxx.

Referenced by SwMarginPortion::AdjustRight(), SwTextPortion::BreakCut(), SwTextPortion::BreakUnderflow(), SwTextFormatter::BuildMultiPortion(), SwLineLayout::CalcLeftMargin(), SwTextPortion::CreateHyphen(), SwTextPortion::Format(), SwFlyPortion::Format(), SwFlyCntPortion::Format(), SwFieldPortion::Format(), SwQuoVadisPortion::Format(), SwDropPortion::Format(), SwErgoSumPortion::Format(), SwNumberPortion::Format(), SwGrfNumPortion::Format(), SwCombinedPortion::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(), SwDropPortion::PaintText(), SwTabPortion::PreFormat(), SwAutoTabDecimalPortion::SwAutoTabDecimalPortion(), SwBlankPortion::SwBlankPortion(), 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().

void SwLinePortion::SetNextPortion ( SwLinePortion pNew)
inline
void SwLinePortion::SetWhichPor ( const PortionType  nNew)
inline

Definition at line 94 of file porlin.hxx.

Referenced by SwTextPortion::CopyLinePortion(), SwArrowPortion::SwArrowPortion(), SwBlankPortion::SwBlankPortion(), 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(), SwMetaPortion::SwMetaPortion(), 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().

void SwLinePortion::SubPrtWidth ( const sal_uInt16  nNew)
inline

Definition at line 83 of file porlin.hxx.

References SwPosSize::Width().

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

void SwLinePortion::Truncate ( )
inline
void SwLinePortion::Truncate_ ( )
private

Definition at line 155 of file porlin.cxx.

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

Referenced by Truncate().

Member Data Documentation

bool SwLinePortion::m_bJoinBorderWithNext
private

Definition at line 63 of file porlin.hxx.

Referenced by GetJoinBorderWithNext(), and operator=().

bool SwLinePortion::m_bJoinBorderWithPrev
private

Definition at line 62 of file porlin.hxx.

Referenced by GetJoinBorderWithPrev(), and operator=().

SwLinePortion* SwLinePortion::mpNextPortion
protected
sal_uInt16 SwLinePortion::nAscent
protected
TextFrameIndex SwLinePortion::nLineLength
protected
PortionType SwLinePortion::nWhichPor
private

Definition at line 61 of file porlin.hxx.

Referenced by GetWhichPor(), and operator=().


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