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 nStart
 
TextFrameIndex nLen
 

Detailed Description

Definition at line 35 of file porlay.hxx.

Constructor & Destructor Documentation

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

Definition at line 42 of file porlay.hxx.

Member Function Documentation

void SwCharRange::LeftMove ( TextFrameIndex const  nNew)
inline

Definition at line 47 of file porlay.hxx.

Referenced by SwTextFormatter::FormatLine().

TextFrameIndex& SwCharRange::Len ( )
inline
TextFrameIndex const& SwCharRange::Len ( ) const
inline

Definition at line 50 of file porlay.hxx.

References nLen.

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

Definition at line 55 of file porlay.hxx.

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

Definition at line 673 of file porlay.cxx.

References nLen, and nStart.

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

Definition at line 51 of file porlay.hxx.

References nStart.

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

Definition at line 53 of file porlay.hxx.

References nLen, and nStart.

TextFrameIndex& SwCharRange::Start ( )
inline
TextFrameIndex const& SwCharRange::Start ( ) const
inline

Definition at line 46 of file porlay.hxx.

References nStart.

Member Data Documentation

TextFrameIndex SwCharRange::nLen
private

Definition at line 39 of file porlay.hxx.

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

TextFrameIndex SwCharRange::nStart
private

Definition at line 38 of file porlay.hxx.

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


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