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:

Public Member Functions

const SvxTabStopGetTabStop (const SwTwips nSearchPos, const 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::unique_ptr< SvxTabStopItemm_pRuler
const SvxLineSpacingItemm_pSpace
SvxParaVertAlignItem::Align m_nVertAlign
sal_uInt16 m_nDefTabStop
bool m_bListTabStopIncluded
tools::Long m_nListTabStopPosition


class SwTextIter

Detailed Description

Definition at line 59 of file inftxt.hxx.

Constructor & Destructor Documentation

SwLineInfo::SwLineInfo ( )

Definition at line 86 of file inftxt.cxx.

References Align.

SwLineInfo::~SwLineInfo ( )

Definition at line 95 of file inftxt.cxx.

Member Function Documentation

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

Definition at line 80 of file inftxt.hxx.

References m_nDefTabStop.

Referenced by SwTextFormatter::NewTabPortion().

const SvxLineSpacingItem* SwLineInfo::GetLineSpacing ( ) const

Definition at line 79 of file inftxt.hxx.

References m_pSpace.

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

tools::Long SwLineInfo::GetListTabStopPosition ( ) const

Definition at line 98 of file inftxt.hxx.

References m_nListTabStopPosition.

Referenced by SwTextFormatter::NewTabPortion().

const SvxTabStop * SwLineInfo::GetTabStop ( const SwTwips  nSearchPos,
const 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_pRuler.

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

SvxParaVertAlignItem::Align SwLineInfo::GetVertAlign ( ) const

Definition at line 85 of file inftxt.hxx.

References m_nVertAlign.

Referenced by SwTextCursor::AdjustBaseLine(), and SwTextCursor::GetCharRect_().

bool SwLineInfo::HasSpecialAlign ( bool  bVert) const
bool SwLineInfo::IsListTabStopIncluded ( ) const

Definition at line 94 of file inftxt.hxx.

References m_bListTabStopIncluded.

Referenced by SwTextFormatter::NewTabPortion().

sal_uInt16 SwLineInfo::NumberOfTabStops ( ) const

Definition at line 57 of file txttab.cxx.

References m_pRuler.

Referenced by SwTextFormatter::NewTabPortion().

void SwLineInfo::SetDefTabStop ( sal_uInt16  nNew) const

Definition at line 81 of file inftxt.hxx.

Referenced by SwTextFormatter::NewTabPortion().

Friends And Related Function Documentation

friend class SwTextIter

Definition at line 61 of file inftxt.hxx.

Member Data Documentation

bool SwLineInfo::m_bListTabStopIncluded

Definition at line 67 of file inftxt.hxx.

Referenced by CtorInitLineInfo(), and IsListTabStopIncluded().

sal_uInt16 SwLineInfo::m_nDefTabStop

Definition at line 66 of file inftxt.hxx.

Referenced by CtorInitLineInfo(), and GetDefTabStop().

tools::Long SwLineInfo::m_nListTabStopPosition

Definition at line 68 of file inftxt.hxx.

Referenced by CtorInitLineInfo(), and GetListTabStopPosition().

SvxParaVertAlignItem::Align SwLineInfo::m_nVertAlign

Definition at line 65 of file inftxt.hxx.

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

std::unique_ptr<SvxTabStopItem> SwLineInfo::m_pRuler

Definition at line 63 of file inftxt.hxx.

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

const SvxLineSpacingItem* SwLineInfo::m_pSpace

Definition at line 64 of file inftxt.hxx.

Referenced by CtorInitLineInfo(), and GetLineSpacing().

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