LibreOffice Module editeng (master) 1
|
#include <editdoc.hxx>
Public Member Functions | |
EditSelection () | |
EditSelection (const EditPaM &rStartAndAnd) | |
EditSelection (const EditPaM &rStart, const EditPaM &rEnd) | |
EditPaM & | Min () |
EditPaM & | Max () |
const EditPaM & | Min () const |
const EditPaM & | Max () const |
bool | HasRange () const |
bool | IsInvalid () const |
bool | DbgIsBuggy (EditDoc const &rDoc) const |
void | Adjust (const EditDoc &rNodes) |
EditSelection & | operator= (const EditPaM &r) |
bool | operator== (const EditSelection &r) const |
bool | operator!= (const EditSelection &r) const |
Private Attributes | |
EditPaM | aStartPaM |
EditPaM | aEndPaM |
Definition at line 693 of file editdoc.hxx.
EditSelection::EditSelection | ( | ) |
Definition at line 1139 of file editdoc.cxx.
EditSelection::EditSelection | ( | const EditPaM & | rStartAndAnd | ) |
Definition at line 1143 of file editdoc.cxx.
Definition at line 1149 of file editdoc.cxx.
void EditSelection::Adjust | ( | const EditDoc & | rNodes | ) |
Definition at line 1162 of file editdoc.cxx.
References aEndPaM, aStartPaM, DBG_ASSERT, EditPaM::GetIndex(), EditPaM::GetNode(), EditDoc::GetPos(), ContentNode::Len(), and SAL_MAX_INT32.
Referenced by ImpEditEngine::Convert(), ImpEditEngine::CreateAttribUndo(), ImpEditEngine::CreateTextObject(), ImpEditEngine::CreateTransferable(), ImpEditView::dragGestureRecognized(), ImpEditView::DrawSelectionXOR(), EditView::GetFieldAtSelection(), ImpEditEngine::GetItemScriptType(), ImpEditEngine::GetSelected(), EditView::GetStyleSheet(), EditView::GetSurroundingText(), EditView::GetSurroundingTextSelection(), ImpEditEngine::ImpDeleteSelection(), ImpEditEngine::InsertText(), EditView::InsertText(), ImpEditView::IsInSelection(), ImpEditEngine::Search(), ImpEditEngine::SetStyleSheet(), ImpEditEngine::StartSearchAndReplace(), ImpEditEngine::TransliterateText(), ImpEditEngine::WriteRTF(), and ImpEditEngine::WriteText().
bool EditSelection::DbgIsBuggy | ( | EditDoc const & | rDoc | ) | const |
Definition at line 1134 of file editdoc.cxx.
References aEndPaM, aStartPaM, and EditPaM::DbgIsBuggy().
Referenced by ImpEditEngine::CreateAttribUndo(), ImpEditEngine::CreateSel(), ImpEditEngine::DeleteLeftOrRight(), ImpEditView::dragDropEnd(), ImpEditEngine::InsertTextObject(), EditUndoManager::Redo(), and EditUndoManager::Undo().
|
inline |
Definition at line 711 of file editdoc.hxx.
References aEndPaM, and aStartPaM.
Referenced by ImpEditEngine::AddPortion(), ImpEditEngine::AddPortionIterated(), EditRTFParser::CallParser(), ImpEditEngine::Convert(), ImpEditEngine::DeleteLeftOrRight(), ImpEditView::DrawSelectionXOR(), ImpEditEngine::GetSelected(), ImpEditView::HasSelection(), ImpEditEngine::ImpDeleteSelection(), ImpEditView::ImplGetEditCursor(), ImpEditEngine::InsertText(), ImpEditView::IsInSelection(), ImpEditEngine::MouseButtonUp(), ImpEditView::Paste(), EditEngine::PostKeyEvent(), ImpEditEngine::ReadHTML(), ImpEditEngine::ReadRTF(), ImpEditEngine::ReadText(), ImpEditEngine::ReadXML(), ImpEditView::SetEditSelection(), ImpEditView::ShowCursor(), ImpEditEngine::SpellSentence(), ImpEditEngine::StartSearchAndReplace(), ImpEditEngine::StartThesaurus(), ImpEditEngine::TransliterateText(), and ImpEditEngine::WriteText().
|
inline |
Definition at line 712 of file editdoc.hxx.
References aEndPaM, and aStartPaM.
Referenced by EditEngine::PostKeyEvent(), EditUndoManager::Redo(), and EditUndoManager::Undo().
|
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().
|
inline |
Definition at line 709 of file editdoc.hxx.
References aEndPaM.
|
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().
|
inline |
Definition at line 708 of file editdoc.hxx.
References aStartPaM.
|
inline |
Definition at line 720 of file editdoc.hxx.
EditSelection & EditSelection::operator= | ( | const EditPaM & | r | ) |
Definition at line 1155 of file editdoc.cxx.
|
inline |
Definition at line 718 of file editdoc.hxx.
|
private |
Definition at line 697 of file editdoc.hxx.
Referenced by Adjust(), DbgIsBuggy(), HasRange(), IsInvalid(), Max(), operator=(), and operator==().
|
private |
Definition at line 696 of file editdoc.hxx.
Referenced by Adjust(), DbgIsBuggy(), HasRange(), IsInvalid(), Min(), operator=(), and operator==().