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 79 of file textdata.hxx.

Constructor & Destructor Documentation

◆ TextSelection() [1/3]

TextSelection::TextSelection ( )

Definition at line 30 of file textdata.cxx.

◆ TextSelection() [2/3]

TextSelection::TextSelection ( const TextPaM rPaM)

Definition at line 34 of file textdata.cxx.

◆ TextSelection() [3/3]

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

Definition at line 39 of file textdata.cxx.

Member Function Documentation

◆ GetEnd() [1/2]

TextPaM & TextSelection::GetEnd ( )
inline

Definition at line 94 of file textdata.hxx.

◆ GetEnd() [2/2]

const TextPaM & TextSelection::GetEnd ( ) const
inline

◆ GetStart() [1/2]

TextPaM & TextSelection::GetStart ( )
inline

Definition at line 91 of file textdata.hxx.

◆ GetStart() [2/2]

const TextPaM & TextSelection::GetStart ( ) const
inline

◆ HasRange()

bool TextSelection::HasRange ( ) const
inline

◆ Justify()

void TextSelection::Justify ( )

◆ operator!=()

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

Definition at line 109 of file textdata.hxx.

◆ operator==()

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

Definition at line 104 of file textdata.hxx.

References maEndPaM, and maStartPaM.

Member Data Documentation

◆ maEndPaM

TextPaM TextSelection::maEndPaM
private

Definition at line 83 of file textdata.hxx.

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

◆ maStartPaM

TextPaM TextSelection::maStartPaM
private

Definition at line 82 of file textdata.hxx.

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


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