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

#include <editdoc.hxx>

Collaboration diagram for EditPaM:
[legend]

Public Member Functions

 EditPaM ()
 
 EditPaM (ContentNode *p, sal_Int32 n)
 
const ContentNodeGetNode () const
 
ContentNodeGetNode ()
 
void SetNode (ContentNode *p)
 
sal_Int32 GetIndex () const
 
void SetIndex (sal_Int32 n)
 
bool DbgIsBuggy (EditDoc const &rDoc) const
 
bool operator! () const
 

Private Attributes

ContentNodepNode
 
sal_Int32 nIndex
 

Friends

bool operator== (const EditPaM &r1, const EditPaM &r2)
 
bool operator!= (const EditPaM &r1, const EditPaM &r2)
 

Detailed Description

Definition at line 302 of file editdoc.hxx.

Constructor & Destructor Documentation

◆ EditPaM() [1/2]

EditPaM::EditPaM ( )

Definition at line 1118 of file editdoc.cxx.

References nIndex.

◆ EditPaM() [2/2]

EditPaM::EditPaM ( ContentNode p,
sal_Int32  n 
)

Definition at line 1119 of file editdoc.cxx.

References n, nIndex, and p.

Member Function Documentation

◆ DbgIsBuggy()

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

◆ GetIndex()

sal_Int32 EditPaM::GetIndex ( ) const
inline

Definition at line 316 of file editdoc.hxx.

References nIndex.

Referenced by ImpEditEngine::AddPortionIterated(), EditSelection::Adjust(), ImpEditEngine::ApplyChangedSentence(), EditRTFParser::CallParser(), ImpEditEngine::Command(), ImpEditEngine::Convert(), ImpEditEngine::CreateEPaM(), ImpEditEngine::CreateESel(), ImpEditEngine::CreateTextObject(), ImpEditEngine::CreateTransferable(), ImpEditEngine::CursorDown(), ImpEditEngine::CursorEndOfLine(), ImpEditEngine::CursorLeft(), ImpEditEngine::CursorRight(), ImpEditEngine::CursorStartOfLine(), ImpEditEngine::CursorUp(), ImpEditEngine::CursorVisualLeftRight(), ImpEditEngine::CursorVisualStartEnd(), ImpEditEngine::DeleteLeftOrRight(), ImpEditEngine::DoOnlineSpelling(), ImpEditView::DrawSelectionXOR(), ImpEditView::drop(), ImpEditEngine::EndOfWord(), EditView::ExecuteSpellPopup(), EditEngine::FindDocPosition(), ImpEditView::GetField(), EditView::GetFieldAtSelection(), ImpEditEngine::GetI18NScriptType(), ImpEditEngine::GetItemScriptType(), ImpEditEngine::GetLanguage(), ImpEditEngine::GetSelected(), ImpEditEngine::HasSpellErrors(), ImpEditEngine::ImpConnectParagraphs(), ImpEditEngine::ImpConvert(), ImpEditEngine::ImpDeleteSelection(), ImpEditEngine::ImpFindKashidas(), ImpEditEngine::ImpFindNextError(), ImpEditView::ImplGetEditCursor(), ImpEditEngine::ImpRemoveChars(), ImpEditEngine::ImpSearch(), EditHTMLParser::ImpSetAttribs(), ImpEditEngine::ImpSpell(), EditDoc::InsertFeature(), EditDoc::InsertParaBreak(), EditDoc::InsertText(), ImpEditEngine::InsertTextObject(), ImpEditView::IsBulletArea(), ImpEditEngine::IsInputSequenceCheckingRequired(), ImpEditView::IsInSelection(), ImpEditEngine::IsScriptChange(), ImpEditView::IsWrongSpelledWord(), EditEngine::PostKeyEvent(), EditUndoInsertChars::Redo(), EditUndoRemoveChars::Redo(), EditUndoInsertFeature::Redo(), EditDoc::RemoveChars(), ImpEditEngine::SelectSentence(), ImpEditEngine::SelectWord(), EditRTFParser::SetAttrInDoc(), ImpEditView::ShowCursor(), ImpEditEngine::Spell(), ImpEditEngine::SpellSentence(), ImpEditEngine::StartOfWord(), ImpEditEngine::StartSearchAndReplace(), ImpEditEngine::TransliterateText(), EditUndoInsertChars::Undo(), EditUndoRemoveChars::Undo(), EditUndoInsertFeature::Undo(), EditUndoTransliteration::Undo(), ImpEditEngine::UpdateSelections(), ImpEditEngine::WordLeft(), ImpEditEngine::WordRight(), ImpEditEngine::WriteRTF(), and ImpEditEngine::WriteText().

◆ GetNode() [1/2]

ContentNode * EditPaM::GetNode ( )
inline

Definition at line 313 of file editdoc.hxx.

References pNode.

◆ GetNode() [2/2]

const ContentNode * EditPaM::GetNode ( ) const
inline

Definition at line 312 of file editdoc.hxx.

References pNode.

Referenced by ImpEditEngine::AddPortionIterated(), EditRTFParser::AddRTFDefaultValues(), EditSelection::Adjust(), ImpEditEngine::ApplyChangedSentence(), EditRTFParser::CallParser(), EditSpellWrapper::CheckSpellTo(), ImpEditEngine::Command(), ImpEditEngine::Convert(), ImpEditEngine::CreateAttribUndo(), ImpEditEngine::CreateEPaM(), ImpEditEngine::CreateESel(), ImpEditEngine::CreateTextObject(), ImpEditEngine::CreateTransferable(), ImpEditEngine::CursorDown(), ImpEditEngine::CursorEndOfLine(), ImpEditEngine::CursorEndOfParagraph(), ImpEditEngine::CursorLeft(), ImpEditEngine::CursorRight(), ImpEditEngine::CursorStartOfLine(), ImpEditEngine::CursorUp(), ImpEditEngine::CursorVisualLeftRight(), ImpEditEngine::CursorVisualStartEnd(), ImpEditEngine::DeleteLeftOrRight(), ImpEditEngine::DoOnlineSpelling(), ImpEditView::dragGestureRecognized(), ImpEditView::dragOver(), ImpEditView::DrawSelectionXOR(), ImpEditView::drop(), ImpEditEngine::EndOfWord(), EditView::ExecuteSpellPopup(), EditEngine::FindDocPosition(), ImpEditView::GetEditCursor(), ImpEditView::GetField(), EditView::GetFieldAtSelection(), ImpEditEngine::GetI18NScriptType(), ImpEditEngine::GetItemScriptType(), ImpEditEngine::GetLanguage(), ImpEditEngine::GetSelected(), EditView::GetStyleSheet(), EditView::GetSurroundingText(), ImpEditEngine::HasSpellErrors(), EditHTMLParser::HasTextInCurrentPara(), ImpEditEngine::ImpConvert(), ImpEditEngine::ImpDeleteSelection(), ImpEditEngine::ImpFindKashidas(), ImpEditEngine::ImpFindNextError(), ImpEditView::ImplGetEditCursor(), ImpEditEngine::ImpRemoveChars(), ImpEditEngine::ImpSearch(), EditHTMLParser::ImpSetAttribs(), EditHTMLParser::ImpSetStyleSheet(), ImpEditEngine::ImpSpell(), EditDoc::InsertFeature(), EditDoc::InsertParaBreak(), EditDoc::InsertText(), ImpEditEngine::InsertTextObject(), ImpEditView::IsBulletArea(), ImpEditView::IsInSelection(), ImpEditEngine::IsScriptChange(), ImpEditView::IsWrongSpelledWord(), lcl_DoSetSelection(), ImpEditEngine::MouseButtonDown(), ImpEditEngine::MoveCursor(), EditHTMLParser::NextToken(), ImpEditView::Paste(), EditEngine::PostKeyEvent(), EditDoc::RemoveChars(), ImpEditEngine::SelectSentence(), ImpEditEngine::SelectWord(), EditRTFParser::SetAttrInDoc(), ImpEditView::SetCursorAtPoint(), EditRTFParser::SetEndPrevPara(), ImpEditEngine::SetStyleSheet(), ImpEditView::ShowCursor(), ImpEditEngine::Spell(), ImpEditView::SpellIgnoreWord(), ImpEditEngine::StartOfWord(), ImpEditEngine::StartSearchAndReplace(), EditHTMLParser::ThrowAwayBlank(), ImpEditEngine::TransliterateText(), EditUndoTransliteration::Undo(), ImpEditEngine::UpdateSelections(), ImpEditEngine::WordLeft(), ImpEditEngine::WordRight(), ImpEditEngine::WriteRTF(), and ImpEditEngine::WriteText().

◆ operator!()

bool EditPaM::operator! ( ) const
inline

Definition at line 323 of file editdoc.hxx.

References nIndex, and pNode.

◆ SetIndex()

void EditPaM::SetIndex ( sal_Int32  n)
inline

Definition at line 317 of file editdoc.hxx.

References n, and nIndex.

Referenced by ImpEditEngine::Command(), ImpEditEngine::Convert(), ImpEditEngine::CreateSel(), ImpEditEngine::CursorDown(), ImpEditEngine::CursorEndOfLine(), ImpEditEngine::CursorEndOfParagraph(), ImpEditEngine::CursorLeft(), ImpEditEngine::CursorRight(), ImpEditEngine::CursorStartOfLine(), ImpEditEngine::CursorStartOfParagraph(), ImpEditEngine::CursorUp(), ImpEditEngine::CursorVisualLeftRight(), ImpEditEngine::CursorVisualStartEnd(), ImpEditEngine::DeleteLeftOrRight(), ImpEditEngine::DoOnlineSpelling(), ImpEditView::dragGestureRecognized(), ImpEditEngine::EndOfWord(), EditView::ExecuteSpellPopup(), EditView::GetSurroundingText(), ImpEditEngine::ImpConvert(), ImpEditEngine::ImpFindKashidas(), ImpEditEngine::ImpFindNextError(), ImpEditEngine::ImpMoveParagraphs(), ImpEditEngine::ImpRemoveChars(), ImpEditEngine::ImpSearch(), EditHTMLParser::ImpSetAttribs(), ImpEditEngine::ImpSpell(), EditDoc::InsertFeature(), EditDoc::InsertParaBreak(), EditDoc::InsertText(), lcl_DoSetSelection(), EditUndoInsertChars::Redo(), EditUndoRemoveChars::Redo(), EditUndoInsertFeature::Redo(), ImpEditEngine::SelectSentence(), ImpEditEngine::SelectWord(), EdtAutoCorrDoc::SetAttr(), ImpEditEngine::Spell(), ImpEditEngine::StartOfWord(), ImpEditEngine::StartSearchAndReplace(), ImpEditEngine::TransliterateText(), EditUndoInsertChars::Undo(), EditUndoRemoveChars::Undo(), EditUndoInsertFeature::Undo(), EditUndoTransliteration::Undo(), ImpEditEngine::UpdateSelections(), ImpEditEngine::WordLeft(), and ImpEditEngine::WordRight().

◆ SetNode()

void EditPaM::SetNode ( ContentNode p)

Friends And Related Function Documentation

◆ operator!=

bool operator!= ( const EditPaM r1,
const EditPaM r2 
)
friend

Definition at line 1194 of file editdoc.cxx.

◆ operator==

bool operator== ( const EditPaM r1,
const EditPaM r2 
)
friend

Definition at line 1188 of file editdoc.cxx.

Member Data Documentation

◆ nIndex

sal_Int32 EditPaM::nIndex
private

Definition at line 306 of file editdoc.hxx.

Referenced by DbgIsBuggy(), GetIndex(), operator!(), and SetIndex().

◆ pNode

ContentNode* EditPaM::pNode
private

Definition at line 305 of file editdoc.hxx.

Referenced by DbgIsBuggy(), GetNode(), operator!(), and SetNode().


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