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

#include <porlay.hxx>

Collaboration diagram for SwCharRange:
[legend]

Public Member Functions

 SwCharRange (TextFrameIndex const nInitStart=TextFrameIndex(0), TextFrameIndex const nInitLen=TextFrameIndex(0))
 
TextFrameIndexStart ()
 
TextFrameIndex const & Start () const
 
void LeftMove (TextFrameIndex const nNew)
 
TextFrameIndexLen ()
 
TextFrameIndex const & Len () const
 
bool operator< (const SwCharRange &rRange) const
 
bool operator> (const SwCharRange &rRange) const
 
bool operator!= (const SwCharRange &rRange) const
 
SwCharRangeoperator+= (const SwCharRange &rRange)
 

Private Attributes

TextFrameIndex m_nStart
 
TextFrameIndex m_nLen
 

Detailed Description

Definition at line 35 of file porlay.hxx.

Constructor & Destructor Documentation

◆ SwCharRange()

SwCharRange::SwCharRange ( TextFrameIndex const  nInitStart = TextFrameIndex(0),
TextFrameIndex const  nInitLen = TextFrameIndex(0) 
)
inline

Definition at line 42 of file porlay.hxx.

Member Function Documentation

◆ LeftMove()

void SwCharRange::LeftMove ( TextFrameIndex const  nNew)
inline

Definition at line 47 of file porlay.hxx.

References m_nLen, and m_nStart.

Referenced by SwTextFormatter::FormatLine().

◆ Len() [1/2]

TextFrameIndex & SwCharRange::Len ( )
inline

◆ Len() [2/2]

TextFrameIndex const & SwCharRange::Len ( ) const
inline

Definition at line 50 of file porlay.hxx.

References m_nLen.

◆ operator!=()

bool SwCharRange::operator!= ( const SwCharRange rRange) const
inline

Definition at line 55 of file porlay.hxx.

◆ operator+=()

SwCharRange & SwCharRange::operator+= ( const SwCharRange rRange)

Definition at line 847 of file porlay.cxx.

References m_nLen, and m_nStart.

◆ operator<()

bool SwCharRange::operator< ( const SwCharRange rRange) const
inline

Definition at line 51 of file porlay.hxx.

References m_nStart.

◆ operator>()

bool SwCharRange::operator> ( const SwCharRange rRange) const
inline

Definition at line 53 of file porlay.hxx.

References m_nLen, and m_nStart.

◆ Start() [1/2]

TextFrameIndex & SwCharRange::Start ( )
inline

◆ Start() [2/2]

TextFrameIndex const & SwCharRange::Start ( ) const
inline

Definition at line 46 of file porlay.hxx.

References m_nStart.

Member Data Documentation

◆ m_nLen

TextFrameIndex SwCharRange::m_nLen
private

Definition at line 39 of file porlay.hxx.

Referenced by LeftMove(), Len(), operator+=(), and operator>().

◆ m_nStart

TextFrameIndex SwCharRange::m_nStart
private

Definition at line 38 of file porlay.hxx.

Referenced by LeftMove(), operator+=(), operator<(), operator>(), and Start().


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