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

#include <textdata.hxx>

Public Member Functions

 TextPaM ()
 
 TextPaM (sal_uInt32 nPara, sal_Int32 nIndex)
 
sal_uInt32 GetPara () const
 
sal_uInt32 & GetPara ()
 
sal_Int32 GetIndex () const
 
sal_Int32 & GetIndex ()
 
bool operator== (const TextPaM &rPaM) const
 
bool operator!= (const TextPaM &rPaM) const
 
bool operator< (const TextPaM &rPaM) const
 
bool operator> (const TextPaM &rPaM) const
 

Private Attributes

sal_uInt32 mnPara
 
sal_Int32 mnIndex
 

Detailed Description

Definition at line 35 of file textdata.hxx.

Constructor & Destructor Documentation

◆ TextPaM() [1/2]

TextPaM::TextPaM ( )
inline

Definition at line 42 of file textdata.hxx.

◆ TextPaM() [2/2]

TextPaM::TextPaM ( sal_uInt32  nPara,
sal_Int32  nIndex 
)
inline

Definition at line 43 of file textdata.hxx.

References nIndex.

Member Function Documentation

◆ GetIndex() [1/2]

sal_Int32 & TextPaM::GetIndex ( )
inline

Definition at line 49 of file textdata.hxx.

References mnIndex.

◆ GetIndex() [2/2]

sal_Int32 TextPaM::GetIndex ( ) const
inline

Definition at line 48 of file textdata.hxx.

References mnIndex.

Referenced by TextView::Command(), TextView::CursorDown(), TextView::CursorEndOfLine(), TextView::CursorEndOfParagraph(), TextView::CursorFirstWord(), TextView::CursorLeft(), TextView::CursorRight(), TextView::CursorStartOfLine(), TextView::CursorStartOfParagraph(), TextView::CursorUp(), TextView::CursorWordLeft(), TextView::CursorWordRight(), TextView::drop(), TextEngine::FindCharAttrib(), TextEngine::GetEditCursor(), TextView::GetLineNumberOfCursorInSelection(), TextEngine::GetPaM(), ImpVclMEdit::GetSelection(), TextEngine::GetText(), TextDoc::GetTextLen(), TextEngine::GetTextPortionRange(), TextEngine::GetWord(), TextEngine::ImpCharsInserted(), TextEngine::ImpCharsRemoved(), TextEngine::ImpConnectParagraphs(), TextView::ImpDelete(), TextEngine::ImpDeleteText(), TextView::ImpIndentBlock(), TextEngine::ImpInsertParaBreak(), TextEngine::ImpInsertText(), TextView::ImpMoveCursor(), TextEngine::ImpPaint(), TextEngine::ImpParagraphRemoved(), TextEngine::ImpRemoveChars(), TextView::ImpShowCursor(), TextDoc::InsertParaBreak(), TextDoc::InsertText(), TextEngine::IsInputSequenceCheckingRequired(), TextView::IsInSelection(), TextDoc::IsValidPaM(), TextView::MatchGroup(), ExtTextEngine::MatchGroup(), TextUndoInsertChars::Merge(), TextView::MouseButtonDown(), TextUndoInsertChars::Redo(), TextUndoRemoveChars::Redo(), TextDoc::RemoveChars(), TextView::Replace(), ExtTextEngine::Search(), TextUndoInsertChars::Undo(), TextUndoRemoveChars::Undo(), TextEngine::ValidatePaM(), and TextEngine::Write().

◆ GetPara() [1/2]

sal_uInt32 & TextPaM::GetPara ( )
inline

Definition at line 46 of file textdata.hxx.

References mnPara.

◆ GetPara() [2/2]

sal_uInt32 TextPaM::GetPara ( ) const
inline

◆ operator!=()

bool TextPaM::operator!= ( const TextPaM rPaM) const
inline

Definition at line 62 of file textdata.hxx.

◆ operator<()

bool TextPaM::operator< ( const TextPaM rPaM) const
inline

Definition at line 67 of file textdata.hxx.

References mnIndex, and mnPara.

◆ operator==()

bool TextPaM::operator== ( const TextPaM rPaM) const
inline

Definition at line 57 of file textdata.hxx.

References mnIndex, and mnPara.

◆ operator>()

bool TextPaM::operator> ( const TextPaM rPaM) const
inline

Definition at line 73 of file textdata.hxx.

References mnIndex, and mnPara.

Member Data Documentation

◆ mnIndex

sal_Int32 TextPaM::mnIndex
private

Definition at line 39 of file textdata.hxx.

Referenced by GetIndex(), operator<(), operator==(), and operator>().

◆ mnPara

sal_uInt32 TextPaM::mnPara
private

Definition at line 38 of file textdata.hxx.

Referenced by GetPara(), operator<(), operator==(), and operator>().


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