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

#include <textdata.hxx>

Collaboration diagram for TextSelection:
[legend]

Public Member Functions

 TextSelection ()
 
 TextSelection (const TextPaM &rPaM)
 
 TextSelection (const TextPaM &rStart, const TextPaM &rEnd)
 
const TextPaMGetStart () const
 
TextPaMGetStart ()
 
const TextPaMGetEnd () const
 
TextPaMGetEnd ()
 
void Justify ()
 
bool HasRange () const
 
bool operator== (const TextSelection &rSel) const
 
bool operator!= (const TextSelection &rSel) const
 

Private Attributes

TextPaM maStartPaM
 
TextPaM maEndPaM
 

Detailed Description

Definition at line 80 of file textdata.hxx.

Constructor & Destructor Documentation

TextSelection::TextSelection ( )

Definition at line 30 of file textdata.cxx.

TextSelection::TextSelection ( const TextPaM rPaM)

Definition at line 34 of file textdata.cxx.

TextSelection::TextSelection ( const TextPaM rStart,
const TextPaM rEnd 
)

Definition at line 39 of file textdata.cxx.

Member Function Documentation

const TextPaM& TextSelection::GetEnd ( ) const
inline
TextPaM& TextSelection::GetEnd ( )
inline

Definition at line 95 of file textdata.hxx.

const TextPaM& TextSelection::GetStart ( ) const
inline
TextPaM& TextSelection::GetStart ( )
inline

Definition at line 92 of file textdata.hxx.

bool TextSelection::HasRange ( ) const
inline
void TextSelection::Justify ( )
bool TextSelection::operator!= ( const TextSelection rSel) const
inline

Definition at line 110 of file textdata.hxx.

bool TextSelection::operator== ( const TextSelection rSel) const
inline

Definition at line 105 of file textdata.hxx.

References maEndPaM, and maStartPaM.

Member Data Documentation

TextPaM TextSelection::maEndPaM
private

Definition at line 84 of file textdata.hxx.

Referenced by Justify(), and operator==().

TextPaM TextSelection::maStartPaM
private

Definition at line 83 of file textdata.hxx.

Referenced by Justify(), and operator==().


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