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, 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
 
long GetListTabStopPosition () const
 

Private Member Functions

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

Private Attributes

std::unique_ptr< SvxTabStopItempRuler
 
const SvxLineSpacingItempSpace
 
SvxParaVertAlignItem::Align nVertAlign
 
sal_uInt16 nDefTabStop
 
bool bListTabStopIncluded
 
long nListTabStopPosition
 

Friends

class SwTextIter
 

Detailed Description

Definition at line 66 of file inftxt.hxx.

Constructor & Destructor Documentation

SwLineInfo::SwLineInfo ( )
private

Definition at line 91 of file inftxt.cxx.

References Align.

SwLineInfo::~SwLineInfo ( )
private

Definition at line 100 of file inftxt.cxx.

Member Function Documentation

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

Definition at line 87 of file inftxt.hxx.

References nDefTabStop.

Referenced by SwTextFormatter::NewTabPortion().

const SvxLineSpacingItem* SwLineInfo::GetLineSpacing ( ) const
inline

Definition at line 86 of file inftxt.hxx.

References pSpace.

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

long SwLineInfo::GetListTabStopPosition ( ) const
inline

Definition at line 105 of file inftxt.hxx.

References 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 46 of file txttab.cxx.

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

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

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

Definition at line 92 of file inftxt.hxx.

References nVertAlign.

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

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

Definition at line 101 of file inftxt.hxx.

References bListTabStopIncluded.

Referenced by SwTextFormatter::NewTabPortion().

sal_uInt16 SwLineInfo::NumberOfTabStops ( ) const

Definition at line 60 of file txttab.cxx.

References pRuler.

Referenced by SwTextFormatter::NewTabPortion().

void SwLineInfo::SetDefTabStop ( sal_uInt16  nNew) const
inline

Definition at line 88 of file inftxt.hxx.

Referenced by SwTextFormatter::NewTabPortion().

Friends And Related Function Documentation

friend class SwTextIter
friend

Definition at line 68 of file inftxt.hxx.

Member Data Documentation

bool SwLineInfo::bListTabStopIncluded
private

Definition at line 74 of file inftxt.hxx.

Referenced by CtorInitLineInfo(), and IsListTabStopIncluded().

sal_uInt16 SwLineInfo::nDefTabStop
private

Definition at line 73 of file inftxt.hxx.

Referenced by CtorInitLineInfo(), and GetDefTabStop().

long SwLineInfo::nListTabStopPosition
private

Definition at line 75 of file inftxt.hxx.

Referenced by CtorInitLineInfo(), and GetListTabStopPosition().

SvxParaVertAlignItem::Align SwLineInfo::nVertAlign
private

Definition at line 72 of file inftxt.hxx.

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

std::unique_ptr<SvxTabStopItem> SwLineInfo::pRuler
private

Definition at line 70 of file inftxt.hxx.

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

const SvxLineSpacingItem* SwLineInfo::pSpace
private

Definition at line 71 of file inftxt.hxx.

Referenced by CtorInitLineInfo(), and GetLineSpacing().


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