LibreOffice Module editeng (master) 1
|
#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 EditLine & | operator[] (sal_Int32 nPos) const |
EditLine & | operator[] (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 |
Definition at line 568 of file editdoc.hxx.
|
private |
Definition at line 570 of file editdoc.hxx.
EditLineList::EditLineList | ( | ) |
Definition at line 1054 of file editdoc.cxx.
EditLineList::~EditLineList | ( | ) |
Definition at line 1058 of file editdoc.cxx.
References Reset().
void EditLineList::Append | ( | EditLine * | p | ) |
Definition at line 1108 of file editdoc.cxx.
Referenced by ImpEditEngine::CreateAndInsertEmptyLine(), ImpEditEngine::CreateLines(), ImpEditEngine::CreateTextObject(), and ImpEditEngine::InsertTextObject().
sal_Int32 EditLineList::Count | ( | ) | const |
Definition at line 1093 of file editdoc.cxx.
References maLines.
Referenced by ImpEditEngine::CalcParaWidth(), ImpEditEngine::CalcVertLineSpacing(), ParaPortion::CorrectValuesBehindLastFormattedLine(), ImpEditEngine::CreateAndInsertEmptyLine(), ImpEditEngine::CreateLines(), ImpEditEngine::CreateTextObject(), ImpEditEngine::CursorDown(), ImpEditEngine::CursorUp(), EditEngine::GetDocPosTopLeft(), ImpEditEngine::GetLineCount(), ParaPortion::GetLineNumber(), EditEngine::GetParagraphInfos(), ImpEditEngine::InsertTextObject(), and ImpEditEngine::Paint().
void EditLineList::DeleteFromLine | ( | sal_Int32 | nDelFrom | ) |
Definition at line 1068 of file editdoc.cxx.
References maLines.
Referenced by ImpEditEngine::CreateLines().
sal_Int32 EditLineList::FindLine | ( | sal_Int32 | nChar, |
bool | bInclEnd | ||
) |
Definition at line 1076 of file editdoc.cxx.
References DBG_ASSERT, EditLine::GetEnd(), i, maLines, and n.
Referenced by ImpEditEngine::Command(), ImpEditEngine::CursorVisualLeftRight(), and ImpEditEngine::CursorVisualStartEnd().
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().
EditLine & EditLineList::operator[] | ( | sal_Int32 | nPos | ) |
Definition at line 1103 of file editdoc.cxx.
const EditLine & EditLineList::operator[] | ( | sal_Int32 | nPos | ) | const |
Definition at line 1098 of file editdoc.cxx.
void EditLineList::Reset | ( | void | ) |
Definition at line 1063 of file editdoc.cxx.
References maLines.
Referenced by ImpEditEngine::CreateLines(), ImpEditEngine::FormatDoc(), ImpEditEngine::ImpConnectParagraphs(), ImpEditEngine::InsertTextObject(), ImpEditEngine::SetTextRanger(), and ~EditLineList().
|
private |
Definition at line 571 of file editdoc.hxx.
Referenced by Append(), Count(), DeleteFromLine(), FindLine(), Insert(), operator[](), and Reset().