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

#include <inftxt.hxx>

Collaboration diagram for SwLineInfo:
[legend]

Public Member Functions

const SvxTabStopGetTabStop (const SwTwips nSearchPos, SwTwips &nRight) const
 #i24363# tab stops relative to indent More...
 
const SvxLineSpacingItemGetLineSpacing () const
 
sal_uInt16 GetDefTabStop () const
 
void SetDefTabStop (sal_uInt16 nNew) const
 
SvxParaVertAlignItem::Align GetVertAlign () const
 
bool HasSpecialAlign (bool bVert) const
 
sal_uInt16 NumberOfTabStops () const
 
bool IsListTabStopIncluded () const
 
tools::Long GetListTabStopPosition () const
 

Private Member Functions

void CtorInitLineInfo (const SwAttrSet &rAttrSet, const SwTextNode &rTextNode)
 
 SwLineInfo ()
 
 ~SwLineInfo ()
 

Private Attributes

std::optional< SvxTabStopItemm_oRuler
 
const SvxLineSpacingItemm_pSpace
 
SvxParaVertAlignItem::Align m_nVertAlign
 
sal_uInt16 m_nDefTabStop
 
bool m_bListTabStopIncluded
 
tools::Long m_nListTabStopPosition
 

Friends

class SwTextIter
 

Detailed Description

Definition at line 60 of file inftxt.hxx.

Constructor & Destructor Documentation

◆ SwLineInfo()

SwLineInfo::SwLineInfo ( )
private

Definition at line 96 of file inftxt.cxx.

References Align.

◆ ~SwLineInfo()

SwLineInfo::~SwLineInfo ( )
private

Definition at line 105 of file inftxt.cxx.

Member Function Documentation

◆ CtorInitLineInfo()

void SwLineInfo::CtorInitLineInfo ( const SwAttrSet rAttrSet,
const SwTextNode rTextNode 
)
private

◆ GetDefTabStop()

sal_uInt16 SwLineInfo::GetDefTabStop ( ) const
inline

Definition at line 80 of file inftxt.hxx.

References m_nDefTabStop.

Referenced by SwTextFormatter::NewTabPortion().

◆ GetLineSpacing()

const SvxLineSpacingItem * SwLineInfo::GetLineSpacing ( ) const
inline

Definition at line 79 of file inftxt.hxx.

References m_pSpace.

Referenced by SwTextFormatter::CalcRealHeight(), and SwTextMargin::CtorInitTextMargin().

◆ GetListTabStopPosition()

tools::Long SwLineInfo::GetListTabStopPosition ( ) const
inline

Definition at line 98 of file inftxt.hxx.

References m_nListTabStopPosition.

Referenced by SwTextFormatter::NewTabPortion().

◆ GetTabStop()

const SvxTabStop * SwLineInfo::GetTabStop ( const SwTwips  nSearchPos,
SwTwips nRight 
) const

#i24363# tab stops relative to indent

Return the first tab stop that is > nSearchPos. If the tab stop is outside the print area, we return 0 if it is not the first tab stop.

Definition at line 43 of file txttab.cxx.

References SvxTabStop::GetTabPos(), i, and m_oRuler.

Referenced by SwTextFrame::GetTabStopInfo(), and SwTextFormatter::NewTabPortion().

◆ GetVertAlign()

SvxParaVertAlignItem::Align SwLineInfo::GetVertAlign ( ) const
inline

Definition at line 85 of file inftxt.hxx.

References m_nVertAlign.

Referenced by SwTextCursor::AdjustBaseLine().

◆ HasSpecialAlign()

bool SwLineInfo::HasSpecialAlign ( bool  bVert) const
inline

◆ IsListTabStopIncluded()

bool SwLineInfo::IsListTabStopIncluded ( ) const
inline

Definition at line 94 of file inftxt.hxx.

References m_bListTabStopIncluded.

Referenced by SwTextFormatter::NewTabPortion().

◆ NumberOfTabStops()

sal_uInt16 SwLineInfo::NumberOfTabStops ( ) const

Definition at line 65 of file txttab.cxx.

References m_oRuler.

Referenced by SwTextFormatter::NewTabPortion().

◆ SetDefTabStop()

void SwLineInfo::SetDefTabStop ( sal_uInt16  nNew) const
inline

Definition at line 81 of file inftxt.hxx.

References m_nDefTabStop.

Referenced by SwTextFormatter::NewTabPortion().

Friends And Related Function Documentation

◆ SwTextIter

friend class SwTextIter
friend

Definition at line 62 of file inftxt.hxx.

Member Data Documentation

◆ m_bListTabStopIncluded

bool SwLineInfo::m_bListTabStopIncluded
private

Definition at line 68 of file inftxt.hxx.

Referenced by CtorInitLineInfo(), and IsListTabStopIncluded().

◆ m_nDefTabStop

sal_uInt16 SwLineInfo::m_nDefTabStop
private

Definition at line 67 of file inftxt.hxx.

Referenced by CtorInitLineInfo(), GetDefTabStop(), and SetDefTabStop().

◆ m_nListTabStopPosition

tools::Long SwLineInfo::m_nListTabStopPosition
private

Definition at line 69 of file inftxt.hxx.

Referenced by CtorInitLineInfo(), and GetListTabStopPosition().

◆ m_nVertAlign

SvxParaVertAlignItem::Align SwLineInfo::m_nVertAlign
private

Definition at line 66 of file inftxt.hxx.

Referenced by CtorInitLineInfo(), GetVertAlign(), and HasSpecialAlign().

◆ m_oRuler

std::optional<SvxTabStopItem> SwLineInfo::m_oRuler
private

Definition at line 64 of file inftxt.hxx.

Referenced by CtorInitLineInfo(), GetTabStop(), and NumberOfTabStops().

◆ m_pSpace

const SvxLineSpacingItem* SwLineInfo::m_pSpace
private

Definition at line 65 of file inftxt.hxx.

Referenced by CtorInitLineInfo(), and GetLineSpacing().


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