LibreOffice Module sw (master) 1
Public Member Functions | Private Member Functions | Private Attributes | List of all members
SwLineLayout Class Reference

Collection of SwLinePortion instances, representing one line of text. More...

#include <porlay.hxx>

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

Public Member Functions

virtual void Height (const SwTwips nNew, const bool bText=true) override
 
virtual SwLinePortionInsert (SwLinePortion *pPortion) override
 
virtual SwLinePortionAppend (SwLinePortion *pPortion) override
 
SwLinePortionGetFirstPortion () const
 
void ResetFlags ()
 
void SetFormatAdj (const bool bNew)
 
bool IsFormatAdj () const
 
void SetEndHyph (const bool bNew)
 
bool IsEndHyph () const
 
void SetMidHyph (const bool bNew)
 
bool IsMidHyph () const
 
void SetFly (const bool bNew)
 
bool IsFly () const
 
void SetRest (const bool bNew)
 
bool IsRest () const
 
void SetBlinking (const bool bNew)
 
bool IsBlinking () const
 
void SetContent (const bool bNew)
 
bool HasContent () const
 
void SetRedline (const bool bNew)
 
bool HasRedline () const
 
void SetRedlineEnd (const bool bNew)
 
bool HasRedlineEnd () const
 
void SetRedlineEndType (const enum RedlineType eNew)
 
RedlineType GetRedlineEndType () const
 
void SetRedlineText (const OUString &sText)
 
const OUString * GetRedlineText () const
 
void SetForcedLeftMargin ()
 
bool HasForcedLeftMargin () const
 
void SetHanging (const bool bNew)
 
bool IsHanging () const
 
void SetUnderscore (const bool bNew)
 
bool HasUnderscore () const
 
void SetDummy (const bool bNew)
 
bool IsDummy () const
 
void SetClipping (const bool bNew)
 
bool IsClipping () const
 
 SwLineLayout ()
 
virtual ~SwLineLayout () override
 
SwLineLayoutGetNext ()
 
const SwLineLayoutGetNext () const
 
void SetNext (SwLineLayout *pNew)
 
void Init (SwLinePortion *pNextPortion=nullptr)
 
void CalcLine (SwTextFormatter &rLine, SwTextFormatInfo &rInf)
 
void SetRealHeight (SwTwips nNew)
 
SwTwips GetRealHeight () const
 
SwTwips GetTextHeight () const
 
SwMarginPortionCalcLeftMargin ()
 
SwTwips GetHangingMargin () const
 
virtual bool Format (SwTextFormatInfo &rInf) override
 
bool IsSpaceAdd () const
 
void InitSpaceAdd ()
 
void CreateSpaceAdd (const tools::Long nInit=0)
 
void FinishSpaceAdd ()
 
sal_uInt16 GetLLSpaceAddCount () const
 
void SetLLSpaceAdd (tools::Long nNew, sal_uInt16 nIdx)
 
tools::Long GetLLSpaceAdd (sal_uInt16 nIdx)
 
void RemoveFirstLLSpaceAdd ()
 
std::vector< tools::Long > * GetpLLSpaceAdd () const
 
void SetKanaComp (std::unique_ptr< std::deque< sal_uInt16 > > pNew)
 
void FinishKanaComp ()
 
std::deque< sal_uInt16 > * GetpKanaComp () const
 
std::deque< sal_uInt16 > & GetKanaComp ()
 
void MaxAscentDescent (SwTwips &_orAscent, SwTwips &_orDescent, SwTwips &_orObjAscent, SwTwips &_orObjDescent, const SwLinePortion *_pDontConsiderPortion=nullptr, const bool _bNoFlyCntPorAndLinePor=false) const
 determine ascent and descent for positioning of as-character anchored object More...
 
void dumpAsXml (xmlTextWriterPtr pWriter, const OUString &rText, TextFrameIndex &nOffset) const override
 
SwTwips Height () const
 
virtual void Height (const SwTwips nNew, const bool=true)
 
- Public Member Functions inherited from SwTextPortion
 SwTextPortion ()
 
virtual void Paint (const SwTextPaintInfo &rInf) const override
 
virtual bool Format (SwTextFormatInfo &rInf) override
 
virtual void FormatEOL (SwTextFormatInfo &rInf) override
 
virtual TextFrameIndex GetModelPositionForViewPoint (sal_uInt16 nOfst) const override
 the parameter is actually SwTwips apparently? More...
 
virtual SwPosSize GetTextSize (const SwTextSizeInfo &rInfo) const override
 
virtual bool GetExpText (const SwTextSizeInfo &rInf, OUString &rText) const override
 
virtual tools::Long CalcSpacing (tools::Long nSpaceAdd, const SwTextSizeInfo &rInf) const override
 
TextFrameIndex GetSpaceCnt (const SwTextSizeInfo &rInf, TextFrameIndex &rCnt) const
 
bool CreateHyphen (SwTextFormatInfo &rInf, SwTextGuess const &rGuess)
 
virtual void HandlePortion (SwPortionHandler &rPH) const override
 
- Public Member Functions inherited from SwLinePortion
 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)
 

Private Member Functions

SwTwips GetHangingMargin_ () const
 
void DeleteNext ()
 

Private Attributes

SwLineLayoutm_pNext
 
std::unique_ptr< std::vector< tools::Long > > m_pLLSpaceAdd
 
std::unique_ptr< std::deque< sal_uInt16 > > m_pKanaComp
 
SwTwips m_nRealHeight
 
SwTwips m_nTextHeight
 
bool m_bFormatAdj: 1
 
bool m_bDummy: 1
 
bool m_bEndHyph: 1
 
bool m_bMidHyph: 1
 
bool m_bFly: 1
 
bool m_bRest: 1
 
bool m_bBlinking: 1
 
bool m_bClipping: 1
 
bool m_bContent: 1
 
bool m_bRedline: 1
 
bool m_bRedlineEnd: 1
 
bool m_bForcedLeftMargin: 1
 
bool m_bHanging: 1
 
bool m_bUnderscore: 1
 
enum RedlineType m_eRedlineEnd
 
OUString m_sRedlineText
 

Additional Inherited Members

- Static Public Member Functions inherited from SwTextPortion
static SwTextPortionCopyLinePortion (const SwLinePortion &rPortion)
 
- Protected Member Functions inherited from SwLinePortion
 SwLinePortion ()
 
- Protected Attributes inherited from SwLinePortion
SwLinePortionmpNextPortion
 
TextFrameIndex mnLineLength
 
SwTwips mnAscent
 
SwTwips mnHangingBaseline
 

Detailed Description

Collection of SwLinePortion instances, representing one line of text.

Typically owned by an SwParaPortion.

Definition at line 78 of file porlay.hxx.

Constructor & Destructor Documentation

◆ SwLineLayout()

SwLineLayout::SwLineLayout ( )

Definition at line 831 of file porlay.cxx.

References Lay, ResetFlags(), and SwLinePortion::SetWhichPor().

◆ ~SwLineLayout()

SwLineLayout::~SwLineLayout ( )
overridevirtual

Definition at line 242 of file porlay.cxx.

References DeleteNext(), m_pKanaComp, m_pLLSpaceAdd, and SwLinePortion::Truncate().

Member Function Documentation

◆ Append()

SwLinePortion * SwLineLayout::Append ( SwLinePortion pPortion)
overridevirtual

Reimplemented from SwLinePortion.

Definition at line 274 of file porlay.cxx.

References SwTextPortion::CopyLinePortion(), and SwLinePortion::mpNextPortion.

◆ CalcLeftMargin()

SwMarginPortion * SwLineLayout::CalcLeftMargin ( )

◆ CalcLine()

void SwLineLayout::CalcLine ( SwTextFormatter rLine,
SwTextFormatInfo rInf 
)

Definition at line 372 of file porlay.cxx.

References SwLinePortion::AddPrtWidth(), Bookmark, sw::BOTTOM, sw::CENTER, SwRedlineItr::CheckLine(), SwTextFormatter::ClearIfIsFirstOfBorderMerge(), SwLinePortion::Compress(), SwLinePortion::Cut(), SwAnchoredObject::DynCastFlyFrame(), end, SwRedlineTable::FindAtPosition(), IDocumentSettingAccess::get(), SwFlyCntPortion::GetAlign(), SwFormat::GetAnchor(), SwFormatAnchor::GetAnchorId(), SwLinePortion::GetAscent(), SwFont::GetAscent(), SwAttrIter::GetAttrHandler(), SwRangeRedline::GetAuthor(), SwBreakPortion::GetClear(), SwFormatAnchor::GetContentAnchor(), SwAttrHandler::GetDefaultAscentAndHeight(), SwTextFrame::GetDoc(), SwFrame::GetDrawObjs(), SwTextIter::GetEnd(), SwLinePortion::GetExpText(), SwTextSizeInfo::GetFont(), SwAnchoredObject::GetFrameFormat(), SwFont::GetHeight(), SwDoc::getIDocumentRedlineAccess(), SwDoc::getIDocumentSettingAccess(), SwLinePortion::GetLen(), SwDropPortion::GetLines(), SwTextFormatInfo::GetLineStart(), SwLinePortion::GetNextPortion(), SwTextSizeInfo::GetOut(), SwTextInfo::GetParaPortion(), IDocumentRedlineAccess::GetRedlineFlags(), IDocumentRedlineAccess::GetRedlineTable(), SwAttrIter::GetRedln(), SwTextIter::GetStart(), SwTextSizeInfo::GetText(), SwTextSizeInfo::GetTextFrame(), SwRangeRedline::GetType(), SwTextSizeInfo::GetVsh(), SwLinePortion::GetWhichPor(), HasContent(), SwMultiPortion::HasFlyInContent(), Height(), SwPosSize::Height(), i, IGNORE_TABS_AND_BLANKS_FOR_LINE_CALCULATION, SwLinePortion::InExpGrp(), Init(), SwLinePortion::InNumberGrp(), SwLinePortion::InTabGrp(), SwLinePortion::InTextGrp(), SwLinePortion::IsBreakPortion(), SwLinePortion::IsDropPortion(), SwLinePortion::IsFlyCntPortion(), SwLinePortion::IsFlyPortion(), SwLinePortion::IsHangingPortion(), SwLinePortion::IsHolePortion(), SwLinePortion::IsMultiPortion(), SwLinePortion::IsPostItsPortion(), IDocumentRedlineAccess::IsShowChanges(), SwLinePortion::IsTextPortion(), lcl_HasOnlyBlanks(), SwTextFrame::MapViewToModel(), SwLinePortion::mnAscent, SwLinePortion::mnLineLength, SwLinePortion::mpNextPortion, n, nLineWidth, sw::NONE, NONE, SwTextFormatInfo::RealWidth(), SAL_WARN_IF, SwLinePortion::SetAscent(), SetContent(), SetDummy(), SwTextFormatter::SetFlyInCntBase(), SetHanging(), SwLinePortion::SetLen(), SwParaPortion::SetMargin(), SwFlyCntPortion::SetMax(), SetRedline(), SetRedlineEnd(), SetRedlineEndType(), SetRedlineText(), SwSortedObjs::size(), start, and SwPosSize::Width().

Referenced by SwTextFormatter::CalcFitToContent_(), SwMultiPortion::CalcSize(), and SwTextFormatter::FormatLine().

◆ CreateSpaceAdd()

void SwLineLayout::CreateSpaceAdd ( const tools::Long  nInit = 0)

◆ DeleteNext()

void SwLineLayout::DeleteNext ( )
private

Definition at line 216 of file porlay.cxx.

References GetNext(), m_pNext, and SetNext().

Referenced by ~SwLineLayout().

◆ dumpAsXml()

void SwLineLayout::dumpAsXml ( xmlTextWriterPtr  pWriter,
const OUString &  rText,
TextFrameIndex nOffset 
) const
overridevirtual

Reimplemented from SwLinePortion.

Reimplemented in SwParaPortion.

Definition at line 813 of file porlay.cxx.

References SwLinePortion::dumpAsXmlAttributes(), and SwLinePortion::GetLen().

◆ FinishKanaComp()

void SwLineLayout::FinishKanaComp ( )
inline

Definition at line 201 of file porlay.hxx.

Referenced by SwTextFrame::FormatImpl(), and SwTextFormatter::FormatReset().

◆ FinishSpaceAdd()

void SwLineLayout::FinishSpaceAdd ( )
inline

◆ Format()

bool SwLineLayout::Format ( SwTextFormatInfo rInf)
overridevirtual

Reimplemented from SwTextPortion.

Definition at line 286 of file porlay.cxx.

References SwTextPortion::Format(), SwLinePortion::GetLen(), SwTextSizeInfo::GetTextHeight(), and Height().

◆ GetFirstPortion()

SwLinePortion * SwLineLayout::GetFirstPortion ( ) const

◆ GetHangingMargin()

SwTwips SwLineLayout::GetHangingMargin ( ) const
inline

◆ GetHangingMargin_()

SwTwips SwLineLayout::GetHangingMargin_ ( ) const
private

◆ GetKanaComp()

std::deque< sal_uInt16 > & SwLineLayout::GetKanaComp ( )
inline

Definition at line 203 of file porlay.hxx.

Referenced by SwTextAdjuster::CalcKanaAdj(), and CalcLeftMargin().

◆ GetLLSpaceAdd()

tools::Long SwLineLayout::GetLLSpaceAdd ( sal_uInt16  nIdx)
inline

◆ GetLLSpaceAddCount()

sal_uInt16 SwLineLayout::GetLLSpaceAddCount ( ) const
inline

Definition at line 187 of file porlay.hxx.

Referenced by SwTextAdjuster::CalcNewBlock(), and SwDoubleLinePortion::ResetSpaceAdd().

◆ GetNext() [1/2]

SwLineLayout * SwLineLayout::GetNext ( )
inline

◆ GetNext() [2/2]

const SwLineLayout * SwLineLayout::GetNext ( ) const
inline

Definition at line 160 of file porlay.hxx.

◆ GetpKanaComp()

std::deque< sal_uInt16 > * SwLineLayout::GetpKanaComp ( ) const
inline

◆ GetpLLSpaceAdd()

std::vector< tools::Long > * SwLineLayout::GetpLLSpaceAdd ( ) const
inline

◆ GetRealHeight()

SwTwips SwLineLayout::GetRealHeight ( ) const
inline

◆ GetRedlineEndType()

RedlineType SwLineLayout::GetRedlineEndType ( ) const
inline

Definition at line 139 of file porlay.hxx.

Referenced by SwTextPainter::DrawTextLine().

◆ GetRedlineText()

const OUString * SwLineLayout::GetRedlineText ( ) const
inline

Definition at line 141 of file porlay.hxx.

Referenced by SwTextFrame::PaintExtraData().

◆ GetTextHeight()

SwTwips SwLineLayout::GetTextHeight ( ) const
inline

Definition at line 171 of file porlay.hxx.

Referenced by SwTextFormatter::CalcRealHeight().

◆ HasContent()

bool SwLineLayout::HasContent ( ) const
inline

Definition at line 133 of file porlay.hxx.

Referenced by CalcLine(), SwTextFrame::ChgThisLines(), and SwTextFrame::PaintExtraData().

◆ HasForcedLeftMargin()

bool SwLineLayout::HasForcedLeftMargin ( ) const
inline

Definition at line 143 of file porlay.hxx.

Referenced by SwTextFormatter::NewTabPortion().

◆ HasRedline()

bool SwLineLayout::HasRedline ( ) const
inline

◆ HasRedlineEnd()

bool SwLineLayout::HasRedlineEnd ( ) const
inline

Definition at line 137 of file porlay.hxx.

Referenced by SwTextPainter::DrawTextLine().

◆ HasUnderscore()

bool SwLineLayout::HasUnderscore ( ) const
inline

Definition at line 147 of file porlay.hxx.

Referenced by SwTextPainter::DrawTextLine(), and SwTextFrame::FormatLine().

◆ Height() [1/3]

SwTwips SwPosSize::Height ( ) const
inline

Definition at line 49 of file possiz.hxx.

Referenced by CalcLine(), Format(), and Init().

◆ Height() [2/3]

void SwLineLayout::Height ( const SwTwips  nNew,
const bool  bText = true 
)
overridevirtual

◆ Height() [3/3]

virtual void SwPosSize::Height ( const SwTwips  nNew,
const bool  = true 
)
inlinevirtual

Reimplemented from SwPosSize.

Definition at line 50 of file possiz.hxx.

◆ Init()

void SwLineLayout::Init ( SwLinePortion pNextPortion = nullptr)

◆ InitSpaceAdd()

void SwLineLayout::InitSpaceAdd ( )

Definition at line 336 of file porlay.cxx.

References CreateSpaceAdd(), m_pLLSpaceAdd, and SetLLSpaceAdd().

Referenced by SwTextAdjuster::CalcNewBlock().

◆ Insert()

SwLinePortion * SwLineLayout::Insert ( SwLinePortion pPortion)
overridevirtual

◆ IsBlinking()

bool SwLineLayout::IsBlinking ( ) const
inline

Definition at line 131 of file porlay.hxx.

Referenced by Insert().

◆ IsClipping()

bool SwLineLayout::IsClipping ( ) const
inline

Definition at line 154 of file porlay.hxx.

Referenced by SwTextPainter::DrawTextLine(), and SwTextFrame::FormatLine().

◆ IsDummy()

bool SwLineLayout::IsDummy ( ) const
inline

◆ IsEndHyph()

bool SwLineLayout::IsEndHyph ( ) const
inline

◆ IsFly()

bool SwLineLayout::IsFly ( ) const
inline

Definition at line 127 of file porlay.hxx.

Referenced by SwTextFormatter::FormatLine().

◆ IsFormatAdj()

bool SwLineLayout::IsFormatAdj ( ) const
inline

Definition at line 121 of file porlay.hxx.

Referenced by SwTextAdjuster::CalcAdjLine(), and SwTextAdjuster::GetAdjusted().

◆ IsHanging()

bool SwLineLayout::IsHanging ( ) const
inline

Definition at line 145 of file porlay.hxx.

Referenced by SwTextCursor::GetModelPositionForViewPoint().

◆ IsMidHyph()

bool SwLineLayout::IsMidHyph ( ) const
inline

Definition at line 125 of file porlay.hxx.

Referenced by SwTextIter::CntHyphens(), and SwTextFrame::Format_().

◆ IsRest()

bool SwLineLayout::IsRest ( ) const
inline

◆ IsSpaceAdd()

bool SwLineLayout::IsSpaceAdd ( ) const
inline

◆ MaxAscentDescent()

void SwLineLayout::MaxAscentDescent ( SwTwips _orAscent,
SwTwips _orDescent,
SwTwips _orObjAscent,
SwTwips _orObjDescent,
const SwLinePortion _pDontConsiderPortion = nullptr,
const bool  _bNoFlyCntPorAndLinePor = false 
) const

determine ascent and descent for positioning of as-character anchored object

OD 07.01.2004 #i11859# - previously local method <lcl_MaxAscDescent> Method calculates maximum ascents and descents of the line layout. One value considering as-character anchored objects, one without these objects. Portions for other anchored objects aren't considered. OD 2005-05-20 #i47162# - add optional parameter <_bNoFlyCntPorAndLinePor> to control, if the fly content portions and line portion are considered.

Parameters
_orAscentoutput parameter - maximum ascent without as-character anchored objects
_orDescentoutput parameter - maximum descent without as-character anchored objects
_orObjAscentoutput parameter - maximum ascent with as-character anchored objects
_orObjDescentoutput parameter - maximum descent with as-character anchored objects
_pDontConsiderPortioninput parameter - portion, which isn't considered for calculating <_orObjAscent> and <_orObjDescent>, if it isn't a portion for a as-character anchored object or it isn't as high as the line.
_bNoFlyCntPorAndLinePoroptional input parameter - boolean, indicating that fly content portions and the line portion are considered or not.

Definition at line 763 of file porlay.cxx.

References Bookmark, SwLinePortion::GetAscent(), SwLinePortion::GetLen(), SwLinePortion::GetNextPortion(), SwLinePortion::GetWhichPor(), SwPosSize::Height(), SwLinePortion::IsBreakPortion(), SwLinePortion::IsFlyCntPortion(), SwLinePortion::IsFlyPortion(), and SwLinePortion::IsGrfNumPortion().

Referenced by SwTextFormatter::AlignFlyInCntBase(), SwTextFrame::CalcHeightOfLastLine(), SwTextFormatter::CalcUnclipped(), SwTextFormatter::NewFlyCntPortion(), and SwTextFormatter::UpdatePos().

◆ RemoveFirstLLSpaceAdd()

void SwLineLayout::RemoveFirstLLSpaceAdd ( )
inline

Definition at line 196 of file porlay.hxx.

Referenced by SwDoubleLinePortion::ResetSpaceAdd().

◆ ResetFlags()

void SwLineLayout::ResetFlags ( )

◆ SetBlinking()

void SwLineLayout::SetBlinking ( const bool  bNew)
inline

Definition at line 130 of file porlay.hxx.

Referenced by Insert().

◆ SetClipping()

void SwLineLayout::SetClipping ( const bool  bNew)
inline

Definition at line 153 of file porlay.hxx.

Referenced by SwTextFormatter::CalcRealHeight().

◆ SetContent()

void SwLineLayout::SetContent ( const bool  bNew)
inline

Definition at line 132 of file porlay.hxx.

Referenced by CalcLine().

◆ SetDummy()

void SwLineLayout::SetDummy ( const bool  bNew)
inline

Definition at line 150 of file porlay.hxx.

Referenced by SwTextFormatter::CalcFlyWidth(), and CalcLine().

◆ SetEndHyph()

void SwLineLayout::SetEndHyph ( const bool  bNew)
inline

◆ SetFly()

void SwLineLayout::SetFly ( const bool  bNew)
inline

Definition at line 126 of file porlay.hxx.

Referenced by SwTextFormatter::BuildPortions().

◆ SetForcedLeftMargin()

void SwLineLayout::SetForcedLeftMargin ( )
inline

Definition at line 142 of file porlay.hxx.

Referenced by SwTextFormatter::CalcFlyWidth().

◆ SetFormatAdj()

void SwLineLayout::SetFormatAdj ( const bool  bNew)
inline

Definition at line 120 of file porlay.hxx.

Referenced by SwTextAdjuster::CalcAdjLine(), and SwTextFormatter::CalcAdjustLine().

◆ SetHanging()

void SwLineLayout::SetHanging ( const bool  bNew)
inline

Definition at line 144 of file porlay.hxx.

Referenced by CalcLine(), and GetHangingMargin_().

◆ SetKanaComp()

void SwLineLayout::SetKanaComp ( std::unique_ptr< std::deque< sal_uInt16 > >  pNew)
inline

Definition at line 200 of file porlay.hxx.

Referenced by SwTextAdjuster::CalcKanaAdj().

◆ SetLLSpaceAdd()

void SwLineLayout::SetLLSpaceAdd ( tools::Long  nNew,
sal_uInt16  nIdx 
)
inline

◆ SetMidHyph()

void SwLineLayout::SetMidHyph ( const bool  bNew)
inline

◆ SetNext()

void SwLineLayout::SetNext ( SwLineLayout pNew)
inline

◆ SetRealHeight()

void SwLineLayout::SetRealHeight ( SwTwips  nNew)
inline

◆ SetRedline()

void SwLineLayout::SetRedline ( const bool  bNew)
inline

Definition at line 134 of file porlay.hxx.

Referenced by CalcLine().

◆ SetRedlineEnd()

void SwLineLayout::SetRedlineEnd ( const bool  bNew)
inline

Definition at line 136 of file porlay.hxx.

Referenced by CalcLine().

◆ SetRedlineEndType()

void SwLineLayout::SetRedlineEndType ( const enum RedlineType  eNew)
inline

Definition at line 138 of file porlay.hxx.

Referenced by CalcLine().

◆ SetRedlineText()

void SwLineLayout::SetRedlineText ( const OUString &  sText)
inline

Definition at line 140 of file porlay.hxx.

Referenced by CalcLine().

◆ SetRest()

void SwLineLayout::SetRest ( const bool  bNew)
inline

Definition at line 128 of file porlay.hxx.

Referenced by SwTextFormatter::WhichFirstPortion().

◆ SetUnderscore()

void SwLineLayout::SetUnderscore ( const bool  bNew)
inline

Definition at line 146 of file porlay.hxx.

Member Data Documentation

◆ m_bBlinking

bool SwLineLayout::m_bBlinking
private

Definition at line 92 of file porlay.hxx.

Referenced by ResetFlags().

◆ m_bClipping

bool SwLineLayout::m_bClipping
private

Definition at line 93 of file porlay.hxx.

Referenced by ResetFlags().

◆ m_bContent

bool SwLineLayout::m_bContent
private

Definition at line 94 of file porlay.hxx.

Referenced by ResetFlags().

◆ m_bDummy

bool SwLineLayout::m_bDummy
private

Definition at line 87 of file porlay.hxx.

Referenced by ResetFlags().

◆ m_bEndHyph

bool SwLineLayout::m_bEndHyph
private

Definition at line 88 of file porlay.hxx.

Referenced by ResetFlags().

◆ m_bFly

bool SwLineLayout::m_bFly
private

Definition at line 90 of file porlay.hxx.

Referenced by ResetFlags().

◆ m_bForcedLeftMargin

bool SwLineLayout::m_bForcedLeftMargin
private

Definition at line 97 of file porlay.hxx.

Referenced by ResetFlags().

◆ m_bFormatAdj

bool SwLineLayout::m_bFormatAdj
private

Definition at line 86 of file porlay.hxx.

Referenced by ResetFlags().

◆ m_bHanging

bool SwLineLayout::m_bHanging
private

Definition at line 98 of file porlay.hxx.

Referenced by ResetFlags().

◆ m_bMidHyph

bool SwLineLayout::m_bMidHyph
private

Definition at line 89 of file porlay.hxx.

Referenced by ResetFlags().

◆ m_bRedline

bool SwLineLayout::m_bRedline
private

Definition at line 95 of file porlay.hxx.

Referenced by ResetFlags().

◆ m_bRedlineEnd

bool SwLineLayout::m_bRedlineEnd
private

Definition at line 96 of file porlay.hxx.

Referenced by ResetFlags().

◆ m_bRest

bool SwLineLayout::m_bRest
private

Definition at line 91 of file porlay.hxx.

Referenced by ResetFlags().

◆ m_bUnderscore

bool SwLineLayout::m_bUnderscore
private

Definition at line 99 of file porlay.hxx.

◆ m_eRedlineEnd

enum RedlineType SwLineLayout::m_eRedlineEnd
private

Definition at line 101 of file porlay.hxx.

Referenced by ResetFlags().

◆ m_nRealHeight

SwTwips SwLineLayout::m_nRealHeight
private

Definition at line 84 of file porlay.hxx.

◆ m_nTextHeight

SwTwips SwLineLayout::m_nTextHeight
private

Definition at line 85 of file porlay.hxx.

Referenced by Height().

◆ m_pKanaComp

std::unique_ptr<std::deque<sal_uInt16> > SwLineLayout::m_pKanaComp
private

Definition at line 83 of file porlay.hxx.

Referenced by ~SwLineLayout().

◆ m_pLLSpaceAdd

std::unique_ptr<std::vector<tools::Long> > SwLineLayout::m_pLLSpaceAdd
private

Definition at line 82 of file porlay.hxx.

Referenced by CreateSpaceAdd(), InitSpaceAdd(), and ~SwLineLayout().

◆ m_pNext

SwLineLayout* SwLineLayout::m_pNext
private

Definition at line 81 of file porlay.hxx.

Referenced by DeleteNext().

◆ m_sRedlineText

OUString SwLineLayout::m_sRedlineText
private

Definition at line 103 of file porlay.hxx.


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