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

#include <editdoc.hxx>

Collaboration diagram for EditSelection:
[legend]

Public Member Functions

 EditSelection ()
 
 EditSelection (const EditPaM &rStartAndAnd)
 
 EditSelection (const EditPaM &rStart, const EditPaM &rEnd)
 
EditPaMMin ()
 
EditPaMMax ()
 
const EditPaMMin () const
 
const EditPaMMax () const
 
bool HasRange () const
 
bool IsInvalid () const
 
bool DbgIsBuggy (EditDoc const &rDoc) const
 
void Adjust (const EditDoc &rNodes)
 
EditSelectionoperator= (const EditPaM &r)
 
bool operator== (const EditSelection &r) const
 
bool operator!= (const EditSelection &r) const
 

Private Attributes

EditPaM aStartPaM
 
EditPaM aEndPaM
 

Detailed Description

Definition at line 693 of file editdoc.hxx.

Constructor & Destructor Documentation

◆ EditSelection() [1/3]

EditSelection::EditSelection ( )

Definition at line 1139 of file editdoc.cxx.

◆ EditSelection() [2/3]

EditSelection::EditSelection ( const EditPaM rStartAndAnd)

Definition at line 1143 of file editdoc.cxx.

◆ EditSelection() [3/3]

EditSelection::EditSelection ( const EditPaM rStart,
const EditPaM rEnd 
)

Definition at line 1149 of file editdoc.cxx.

Member Function Documentation

◆ Adjust()

void EditSelection::Adjust ( const EditDoc rNodes)

◆ DbgIsBuggy()

bool EditSelection::DbgIsBuggy ( EditDoc const &  rDoc) const

◆ HasRange()

bool EditSelection::HasRange ( ) const
inline

◆ IsInvalid()

bool EditSelection::IsInvalid ( ) const
inline

Definition at line 712 of file editdoc.hxx.

References aEndPaM, and aStartPaM.

Referenced by EditEngine::PostKeyEvent(), EditUndoManager::Redo(), and EditUndoManager::Undo().

◆ Max() [1/2]

EditPaM & EditSelection::Max ( )
inline

Definition at line 706 of file editdoc.hxx.

References aEndPaM.

Referenced by ImpEditEngine::AddPortionIterated(), ImpEditEngine::ApplyChangedSentence(), EditRTFParser::CallParser(), EditSpellWrapper::CheckSpellTo(), ImpEditEngine::Command(), EditView::CompleteAutoCorrect(), ImpEditEngine::Convert(), ImpEditEngine::CreateAttribUndo(), ImpEditEngine::CreateESel(), ImpEditEngine::CreateSel(), ImpEditEngine::CreateTextObject(), EditEngine::CreateTextObject(), ImpEditEngine::CreateTransferable(), ImpEditEngine::DeleteLeftOrRight(), ImpEditEngine::DoOnlineSpelling(), ImpEditView::DrawSelectionXOR(), ImpEditView::drop(), EditRTFParser::GetCurPaM(), ImpEditView::GetEditCursor(), ImpEditEngine::GetEmptyTextObject(), EditView::GetFieldAtSelection(), ImpEditEngine::GetItemScriptType(), ImpEditEngine::GetSelected(), EditView::GetStyleSheet(), EditView::GetSurroundingText(), ImpEditEngine::HasSpellErrors(), EditHTMLParser::HasTextInCurrentPara(), ImpEditEngine::ImpConvert(), ImpEditEngine::ImpDeleteSelection(), ImpEditView::ImpEditView(), ImpEditEngine::ImpFindKashidas(), ImpEditEngine::ImpFindNextError(), ImpEditEngine::ImpMoveParagraphs(), ImpEditEngine::ImpRemoveChars(), ImpEditEngine::ImpSearch(), EditHTMLParser::ImpSetAttribs(), EditHTMLParser::ImpSetStyleSheet(), ImpEditEngine::ImpSpell(), EditView::InsertText(), ImpEditEngine::InsertText(), ImpEditEngine::InsertTextObject(), ImpEditEngine::IsInputSequenceCheckingRequired(), ImpEditView::IsInSelection(), ImpEditView::IsWrongSpelledWord(), EditRTFParser::MovePos(), EditHTMLParser::NextToken(), ImpEditView::Paste(), EditEngine::PostKeyEvent(), ImpEditEngine::ReadHTML(), ImpEditEngine::ReadText(), EditUndoRemoveChars::Redo(), EditUndoInsertFeature::Redo(), EditUndoManager::Redo(), ImpEditEngine::Search(), EditView::SelectCurrentWord(), ImpEditEngine::SelectSentence(), ImpEditEngine::SelectWord(), EdtAutoCorrDoc::SetAttr(), ImpEditView::SetCursorAtPoint(), EditView::SetCursorLogicPosition(), ImpEditView::SetEditSelection(), EditRTFParser::SetEndPrevPara(), ImpEditEngine::SetStyleSheet(), ImpEditView::ShowCursor(), ImpEditEngine::Spell(), ImpEditView::SpellIgnoreWord(), ImpEditEngine::SpellSentence(), ImpEditEngine::StartSearchAndReplace(), ImpEditEngine::StartThesaurus(), SvxReadXML(), EditHTMLParser::ThrowAwayBlank(), ImpEditEngine::TransliterateText(), EditUndoInsertChars::Undo(), EditUndoRemoveChars::Undo(), EditUndoInsertFeature::Undo(), EditUndoTransliteration::Undo(), EditUndoManager::Undo(), ImpEditEngine::UpdateSelections(), ImpEditEngine::WriteRTF(), and ImpEditEngine::WriteText().

◆ Max() [2/2]

const EditPaM & EditSelection::Max ( ) const
inline

Definition at line 709 of file editdoc.hxx.

References aEndPaM.

◆ Min() [1/2]

EditPaM & EditSelection::Min ( )
inline

Definition at line 705 of file editdoc.hxx.

References aStartPaM.

Referenced by ImpEditEngine::AddPortion(), ImpEditEngine::AddPortionIterated(), ImpEditEngine::ApplyChangedSentence(), EditRTFParser::CallParser(), ImpEditEngine::Command(), ImpEditEngine::Convert(), ImpEditEngine::CreateAttribUndo(), ImpEditEngine::CreateESel(), ImpEditEngine::CreateSel(), ImpEditEngine::CreateTextObject(), EditEngine::CreateTextObject(), ImpEditEngine::CreateTransferable(), TextChainingUtils::DeeplyMergeParaObject(), ImpEditEngine::DoOnlineSpelling(), ImpEditView::DrawSelectionXOR(), ImpEditEngine::GetEmptyTextObject(), EditView::GetFieldAtSelection(), ImpEditEngine::GetItemScriptType(), ImpEditEngine::GetSelected(), EditView::GetStyleSheet(), EditView::GetSurroundingText(), ImpEditEngine::ImpConvert(), ImpEditEngine::ImpDeleteSelection(), ImpEditView::ImpEditView(), ImpEditEngine::ImpFindKashidas(), ImpEditEngine::ImpFindNextError(), ImpEditEngine::ImpMoveParagraphs(), ImpEditEngine::ImpSearch(), EditHTMLParser::ImpSetAttribs(), ImpEditEngine::ImpSpell(), EditView::InsertText(), ImpEditEngine::IsInputSequenceCheckingRequired(), ImpEditView::IsInSelection(), ImpEditView::IsWrongSpelledWord(), TextChainingUtils::JuxtaposeParaObject(), ImpEditEngine::MouseButtonDown(), ImpEditView::Paste(), EditEngine::PostKeyEvent(), ImpEditEngine::ReadHTML(), ImpEditEngine::ReadRTF(), EditUndoManager::Redo(), TextConvWrapper::ReplaceUnit(), ImpEditEngine::Search(), ImpEditEngine::SelectSentence(), ImpEditEngine::SelectWord(), ImpEditView::SetCursorAtPoint(), EditView::SetCursorLogicPosition(), ImpEditView::SetEditSelection(), ImpEditEngine::SetStyleSheet(), ImpEditEngine::Spell(), ImpEditEngine::SpellSentence(), ImpEditEngine::StartSearchAndReplace(), ImpEditEngine::TransliterateText(), EditUndoTransliteration::Undo(), EditUndoManager::Undo(), ImpEditEngine::UpdateSelections(), ImpEditEngine::WriteRTF(), and ImpEditEngine::WriteText().

◆ Min() [2/2]

const EditPaM & EditSelection::Min ( ) const
inline

Definition at line 708 of file editdoc.hxx.

References aStartPaM.

◆ operator!=()

bool EditSelection::operator!= ( const EditSelection r) const
inline

Definition at line 720 of file editdoc.hxx.

◆ operator=()

EditSelection & EditSelection::operator= ( const EditPaM r)

Definition at line 1155 of file editdoc.cxx.

References aEndPaM, and aStartPaM.

◆ operator==()

bool EditSelection::operator== ( const EditSelection r) const
inline

Definition at line 718 of file editdoc.hxx.

References aEndPaM, and aStartPaM.

Member Data Documentation

◆ aEndPaM

EditPaM EditSelection::aEndPaM
private

Definition at line 697 of file editdoc.hxx.

Referenced by Adjust(), DbgIsBuggy(), HasRange(), IsInvalid(), Max(), operator=(), and operator==().

◆ aStartPaM

EditPaM EditSelection::aStartPaM
private

Definition at line 696 of file editdoc.hxx.

Referenced by Adjust(), DbgIsBuggy(), HasRange(), IsInvalid(), Min(), operator=(), and operator==().


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