LibreOffice Module vcl (master) 1
|
#include <textdata.hxx>
Public Member Functions | |
TextSelection () | |
TextSelection (const TextPaM &rPaM) | |
TextSelection (const TextPaM &rStart, const TextPaM &rEnd) | |
const TextPaM & | GetStart () const |
TextPaM & | GetStart () |
const TextPaM & | GetEnd () const |
TextPaM & | GetEnd () |
void | Justify () |
bool | HasRange () const |
bool | operator== (const TextSelection &rSel) const |
bool | operator!= (const TextSelection &rSel) const |
Private Attributes | |
TextPaM | maStartPaM |
TextPaM | maEndPaM |
Definition at line 79 of file textdata.hxx.
TextSelection::TextSelection | ( | ) |
Definition at line 31 of file textdata.cxx.
TextSelection::TextSelection | ( | const TextPaM & | rPaM | ) |
Definition at line 35 of file textdata.cxx.
Definition at line 40 of file textdata.cxx.
|
inline |
Definition at line 94 of file textdata.hxx.
|
inline |
Definition at line 93 of file textdata.hxx.
Referenced by VclMultiLineEdit::CanDown(), VclMultiLineEdit::CanUp(), TextView::Command(), TextView::drop(), TextView::GetLineNumberOfCursorInSelection(), ImpVclMEdit::GetSelection(), TextEngine::GetText(), TextDoc::GetTextLen(), TextEngine::GetWord(), TextEngine::ImpCharsInserted(), TextEngine::ImpCharsRemoved(), TextEngine::ImpDeleteText(), TextView::ImpIndentBlock(), TextEngine::ImpInsertParaBreak(), TextEngine::ImpInsertText(), TextEngine::ImpPaint(), TextEngine::ImpParagraphInserted(), TextEngine::ImpParagraphRemoved(), TextView::ImpSetSelection(), TextEngine::IsInputSequenceCheckingRequired(), TextView::IsInSelection(), TextView::KeyInput(), TextView::MatchGroup(), ExtTextEngine::MatchGroup(), TextView::MouseButtonDown(), VclMultiLineEdit::PreNotify(), TextEngine::Read(), TextUndoRemoveChars::Redo(), TextView::Replace(), TextView::Search(), ExtTextEngine::Search(), TextView::SetCursorAtPoint(), ImpVclMEdit::SetSelection(), TextUndoInsertChars::Undo(), TextUndoRemoveChars::Undo(), TextUndoManager::UndoRedoEnd(), TextEngine::ValidateSelection(), and TextEngine::Write().
|
inline |
Definition at line 91 of file textdata.hxx.
|
inline |
Definition at line 90 of file textdata.hxx.
Referenced by TextView::drop(), ImpVclMEdit::GetSelection(), TextEngine::GetText(), TextDoc::GetTextLen(), TextEngine::GetWord(), TextEngine::ImpCharsInserted(), TextEngine::ImpCharsRemoved(), TextEngine::ImpDeleteText(), TextView::ImpIndentBlock(), TextEngine::ImpInsertText(), TextEngine::ImpPaint(), TextEngine::ImpParagraphInserted(), TextEngine::ImpParagraphRemoved(), TextEngine::IsInputSequenceCheckingRequired(), TextView::IsInSelection(), TextView::MatchGroup(), ExtTextEngine::MatchGroup(), TextView::MouseButtonDown(), VclMultiLineEdit::PreNotify(), TextUndoInsertChars::Redo(), TextView::Replace(), TextView::Search(), ExtTextEngine::Search(), TextView::SetCursorAtPoint(), ImpVclMEdit::SetSelection(), TextUndoManager::UndoRedoEnd(), TextEngine::ValidateSelection(), and TextEngine::Write().
|
inline |
Definition at line 98 of file textdata.hxx.
Referenced by TextView::drop(), TextEngine::GetText(), TextEngine::ImpDeleteText(), TextView::ImpIndentBlock(), TextEngine::ImpInsertParaBreak(), TextEngine::ImpInsertText(), TextEngine::ImpPaint(), TextView::ImpSetSelection(), TextView::ImpShowHideSelection(), TextView::KeyInput(), TextView::MatchGroup(), VclMultiLineEdit::PreNotify(), TextEngine::Read(), and ExtTextEngine::Search().
void TextSelection::Justify | ( | ) |
Definition at line 45 of file textdata.cxx.
References maEndPaM, and maStartPaM.
Referenced by TextView::drop(), ImpVclMEdit::GetSelection(), TextEngine::GetText(), TextEngine::GetTextLen(), TextEngine::ImpDeleteText(), TextView::ImpIndentBlock(), TextView::ImpShowHideSelection(), TextView::IsInSelection(), TextView::MatchGroup(), TextView::Replace(), and ExtTextEngine::Search().
|
inline |
Definition at line 109 of file textdata.hxx.
|
inline |
Definition at line 104 of file textdata.hxx.
References maEndPaM, and maStartPaM.
|
private |
Definition at line 83 of file textdata.hxx.
Referenced by Justify(), and operator==().
|
private |
Definition at line 82 of file textdata.hxx.
Referenced by Justify(), and operator==().