LibreOffice Module vcl (master) 1
|
#include <textdat2.hxx>
Public Member Functions | |
TEParaPortion (TextNode *pNode) | |
~TEParaPortion () | |
TEParaPortion (const TEParaPortion &)=delete | |
void | operator= (const TEParaPortion &)=delete |
bool | IsInvalid () const |
bool | IsSimpleInvalid () const |
void | SetNotSimpleInvalid () |
void | SetValid () |
void | MarkInvalid (sal_Int32 nStart, sal_Int32 nDiff) |
void | MarkSelectionInvalid (sal_Int32 nStart) |
sal_Int32 | GetInvalidPosStart () const |
sal_Int32 | GetInvalidDiff () const |
TextNode * | GetNode () const |
std::vector< TextLine > & | GetLines () |
TETextPortionList & | GetTextPortions () |
std::vector< TEWritingDirectionInfo > & | GetWritingDirectionInfos () |
std::vector< TextLine >::size_type | GetLineNumber (sal_Int32 nIndex, bool bInclEnd) |
void | CorrectValuesBehindLastFormattedLine (sal_uInt16 nLastFormattedLine) |
Private Attributes | |
TextNode * | mpNode |
std::vector< TextLine > | maLines |
TETextPortionList | maTextPortions |
std::vector< TEWritingDirectionInfo > | maWritingDirectionInfos |
sal_Int32 | mnInvalidPosStart |
sal_Int32 | mnInvalidDiff |
bool | mbInvalid |
bool | mbSimple |
Definition at line 170 of file textdat2.hxx.
TEParaPortion::TEParaPortion | ( | TextNode * | pNode | ) |
Definition at line 148 of file textdata.cxx.
References mpNode.
TEParaPortion::~TEParaPortion | ( | ) |
Definition at line 157 of file textdata.cxx.
|
delete |
void TEParaPortion::CorrectValuesBehindLastFormattedLine | ( | sal_uInt16 | nLastFormattedLine | ) |
Definition at line 232 of file textdata.cxx.
References TextLine::GetEnd(), TextLine::GetEndPortion(), TextLine::GetStart(), TextLine::GetStartPortion(), maLines, SAL_WARN_IF, TextLine::SetEnd(), TextLine::SetEndPortion(), TextLine::SetStart(), TextLine::SetStartPortion(), and TextLine::SetValid().
Referenced by TextEngine::CreateLines().
|
inline |
Definition at line 201 of file textdat2.hxx.
References mnInvalidDiff.
Referenced by TextEngine::CreateLines().
|
inline |
Definition at line 200 of file textdat2.hxx.
References mnInvalidPosStart.
Referenced by TextEngine::CreateLines().
std::vector< TextLine >::size_type TEParaPortion::GetLineNumber | ( | sal_Int32 | nIndex, |
bool | bInclEnd | ||
) |
Definition at line 214 of file textdata.cxx.
References TextLine::GetEnd(), and maLines.
Referenced by TextView::Command(), TextView::CursorDown(), TextView::CursorEndOfLine(), TextView::CursorStartOfLine(), TextView::CursorUp(), TextView::GetLineNumberOfCursorInSelection(), and TextView::ImpShowCursor().
|
inline |
Definition at line 204 of file textdat2.hxx.
References maLines.
Referenced by TextEngine::CalcParaHeight(), TextEngine::CalcTextWidth(), TextView::Command(), TextEngine::CreateAndInsertEmptyLine(), TextEngine::CreateLines(), TextView::CursorDown(), TextView::CursorEndOfLine(), TextView::CursorStartOfLine(), TextView::CursorUp(), TextEngine::FormatDoc(), TextEngine::GetCharPos(), TextEngine::GetEditCursor(), TextEngine::GetInvalidYOffsets(), TextEngine::GetLineCount(), TextEngine::GetLineLen(), TextEngine::GetPaM(), TextEngine::GetTextLines(), TextEngine::ImpFindIndex(), TextEngine::ImpPaint(), and TextEngine::PaMtoEditCursor().
|
inline |
Definition at line 203 of file textdat2.hxx.
References mpNode.
Referenced by TextEngine::CreateLines(), TextEngine::CreateTextPortions(), TextView::CursorDown(), TextView::CursorEndOfLine(), TextEngine::GetCharPos(), TextEngine::GetTextLines(), TextEngine::ImpFindIndex(), TextEngine::ImpInitWritingDirections(), TextEngine::ImpPaint(), and TextEngine::RecalcTextPortion().
|
inline |
Definition at line 205 of file textdat2.hxx.
References maTextPortions.
Referenced by TextEngine::CalcTextWidth(), TextEngine::CreateAndInsertEmptyLine(), TextEngine::CreateLines(), TextEngine::CreateTextPortions(), TextEngine::GetCharPos(), TextEngine::GetTextPortionRange(), TextEngine::ImpBreakLine(), TextEngine::ImpGetOutputOffset(), TextEngine::ImpGetPortionXOffset(), TextEngine::ImpGetXPos(), TextEngine::ImpPaint(), TextView::ImpShowCursor(), TextEngine::RecalcTextPortion(), and TextEngine::SplitTextPortion().
|
inline |
Definition at line 206 of file textdat2.hxx.
References maWritingDirectionInfos.
Referenced by TextEngine::CreateLines(), TextEngine::CreateTextPortions(), TextEngine::ImpGetRightToLeft(), and TextEngine::ImpInitWritingDirections().
|
inline |
Definition at line 192 of file textdat2.hxx.
References mbInvalid.
Referenced by TextEngine::CreateLines(), TextEngine::FormatDoc(), and TextEngine::ImpPaint().
|
inline |
Definition at line 193 of file textdat2.hxx.
References mbSimple.
Referenced by TextEngine::CreateLines().
void TEParaPortion::MarkInvalid | ( | sal_Int32 | nStart, |
sal_Int32 | nDiff | ||
) |
Definition at line 161 of file textdata.cxx.
References maWritingDirectionInfos, mbInvalid, mbSimple, mnInvalidDiff, mnInvalidPosStart, and SAL_WARN_IF.
Referenced by TextEngine::ImpDeleteText(), TextEngine::ImpInsertParaBreak(), and TextEngine::ImpInsertText().
void TEParaPortion::MarkSelectionInvalid | ( | sal_Int32 | nStart | ) |
Definition at line 196 of file textdata.cxx.
References maWritingDirectionInfos, mbInvalid, mbSimple, mnInvalidDiff, and mnInvalidPosStart.
Referenced by TextView::Command(), TextEngine::FormatFullDoc(), TextEngine::ImpConnectParagraphs(), TextEngine::ImpDeleteText(), TextEngine::RemoveAttribs(), and TextEngine::SetAttrib().
|
delete |
|
inline |
Definition at line 194 of file textdat2.hxx.
References mbSimple.
Referenced by TextEngine::ImpInsertText().
|
inline |
Definition at line 195 of file textdat2.hxx.
References mbInvalid, and mbSimple.
Referenced by TextEngine::CreateLines().
|
private |
Definition at line 175 of file textdat2.hxx.
Referenced by CorrectValuesBehindLastFormattedLine(), GetLineNumber(), and GetLines().
|
private |
Definition at line 176 of file textdat2.hxx.
Referenced by GetTextPortions().
|
private |
Definition at line 177 of file textdat2.hxx.
Referenced by GetWritingDirectionInfos(), MarkInvalid(), and MarkSelectionInvalid().
|
private |
Definition at line 182 of file textdat2.hxx.
Referenced by IsInvalid(), MarkInvalid(), MarkSelectionInvalid(), and SetValid().
|
private |
Definition at line 183 of file textdat2.hxx.
Referenced by IsSimpleInvalid(), MarkInvalid(), MarkSelectionInvalid(), SetNotSimpleInvalid(), and SetValid().
|
private |
Definition at line 180 of file textdat2.hxx.
Referenced by GetInvalidDiff(), MarkInvalid(), and MarkSelectionInvalid().
|
private |
Definition at line 179 of file textdat2.hxx.
Referenced by GetInvalidPosStart(), MarkInvalid(), and MarkSelectionInvalid().
|
private |
Definition at line 173 of file textdat2.hxx.
Referenced by GetNode().