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

#include <editdoc.hxx>

Public Member Functions

 EditLineList ()
 
 ~EditLineList ()
 
void Reset ()
 
void DeleteFromLine (sal_Int32 nDelFrom)
 
sal_Int32 FindLine (sal_Int32 nChar, bool bInclEnd)
 
sal_Int32 Count () const
 
const EditLineoperator[] (sal_Int32 nPos) const
 
EditLineoperator[] (sal_Int32 nPos)
 
void Append (EditLine *p)
 
void Insert (sal_Int32 nPos, EditLine *p)
 

Private Types

typedef std::vector< std::unique_ptr< EditLine > > LinesType
 

Private Attributes

LinesType maLines
 

Detailed Description

Definition at line 568 of file editdoc.hxx.

Member Typedef Documentation

◆ LinesType

typedef std::vector<std::unique_ptr<EditLine> > EditLineList::LinesType
private

Definition at line 570 of file editdoc.hxx.

Constructor & Destructor Documentation

◆ EditLineList()

EditLineList::EditLineList ( )

Definition at line 1054 of file editdoc.cxx.

◆ ~EditLineList()

EditLineList::~EditLineList ( )

Definition at line 1058 of file editdoc.cxx.

References Reset().

Member Function Documentation

◆ Append()

void EditLineList::Append ( EditLine p)

◆ Count()

sal_Int32 EditLineList::Count ( ) const

◆ DeleteFromLine()

void EditLineList::DeleteFromLine ( sal_Int32  nDelFrom)

Definition at line 1068 of file editdoc.cxx.

References maLines.

Referenced by ImpEditEngine::CreateLines().

◆ FindLine()

sal_Int32 EditLineList::FindLine ( sal_Int32  nChar,
bool  bInclEnd 
)

◆ Insert()

void EditLineList::Insert ( sal_Int32  nPos,
EditLine p 
)

Definition at line 1113 of file editdoc.cxx.

References maLines, nPos, and p.

Referenced by ImpEditEngine::CreateLines().

◆ operator[]() [1/2]

EditLine & EditLineList::operator[] ( sal_Int32  nPos)

Definition at line 1103 of file editdoc.cxx.

References maLines, and nPos.

◆ operator[]() [2/2]

const EditLine & EditLineList::operator[] ( sal_Int32  nPos) const

Definition at line 1098 of file editdoc.cxx.

References maLines, and nPos.

◆ Reset()

void EditLineList::Reset ( void  )

Member Data Documentation

◆ maLines

LinesType EditLineList::maLines
private

Definition at line 571 of file editdoc.hxx.

Referenced by Append(), Count(), DeleteFromLine(), FindLine(), Insert(), operator[](), and Reset().


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