LibreOffice Module vcl (master) 1
|
#include <textdat2.hxx>
Public Member Functions | |
TETextPortionList () | |
~TETextPortionList () | |
TETextPortion & | operator[] (std::size_t nPos) |
std::vector< TETextPortion >::iterator | begin () |
std::vector< TETextPortion >::const_iterator | begin () const |
std::vector< TETextPortion >::iterator | end () |
std::vector< TETextPortion >::const_iterator | end () const |
bool | empty () const |
std::size_t | size () const |
std::vector< TETextPortion >::iterator | erase (const std::vector< TETextPortion >::iterator &aIter) |
std::vector< TETextPortion >::iterator | insert (const std::vector< TETextPortion >::iterator &aIter, const TETextPortion &rTP) |
void | push_back (const TETextPortion &aTP) |
void | Reset () |
std::size_t | FindPortion (sal_Int32 nCharPos, sal_Int32 &rPortionStart, bool bPreferStartingPortion=false) |
void | DeleteFromPortion (std::size_t nDelFrom) |
Static Public Attributes | |
static constexpr auto | npos = std::numeric_limits<std::size_t>::max() |
Private Attributes | |
std::vector< TETextPortion > | maPortions |
Definition at line 72 of file textdat2.hxx.
TETextPortionList::TETextPortionList | ( | ) |
Definition at line 55 of file textdata.cxx.
TETextPortionList::~TETextPortionList | ( | ) |
Definition at line 59 of file textdata.cxx.
References Reset().
std::vector< TETextPortion >::iterator TETextPortionList::begin | ( | ) |
Definition at line 69 of file textdata.cxx.
References maPortions.
Referenced by TextEngine::RecalcTextPortion(), and TextEngine::SplitTextPortion().
std::vector< TETextPortion >::const_iterator TETextPortionList::begin | ( | ) | const |
Definition at line 74 of file textdata.cxx.
References maPortions.
void TETextPortionList::DeleteFromPortion | ( | std::size_t | nDelFrom | ) |
Definition at line 120 of file textdata.cxx.
References maPortions, and SAL_WARN_IF.
Referenced by TextEngine::CreateTextPortions().
bool TETextPortionList::empty | ( | ) | const |
Definition at line 89 of file textdata.cxx.
References maPortions.
Referenced by TextEngine::CreateLines(), and TextEngine::CreateTextPortions().
std::vector< TETextPortion >::iterator TETextPortionList::end | ( | ) |
Definition at line 79 of file textdata.cxx.
References maPortions.
std::vector< TETextPortion >::const_iterator TETextPortionList::end | ( | ) | const |
Definition at line 84 of file textdata.cxx.
References maPortions.
std::vector< TETextPortion >::iterator TETextPortionList::erase | ( | const std::vector< TETextPortion >::iterator & | aIter | ) |
Definition at line 99 of file textdata.cxx.
References maPortions.
Referenced by TextEngine::RecalcTextPortion().
std::size_t TETextPortionList::FindPortion | ( | sal_Int32 | nCharPos, |
sal_Int32 & | rPortionStart, | ||
bool | bPreferStartingPortion = false |
||
) |
Definition at line 126 of file textdata.cxx.
References TETextPortion::GetLen(), and maPortions.
Referenced by TextEngine::ImpGetOutputOffset(), TextEngine::ImpGetXPos(), TextView::ImpShowCursor(), and TextEngine::RecalcTextPortion().
std::vector< TETextPortion >::iterator TETextPortionList::insert | ( | const std::vector< TETextPortion >::iterator & | aIter, |
const TETextPortion & | rTP | ||
) |
Definition at line 104 of file textdata.cxx.
References maPortions.
Referenced by TextEngine::RecalcTextPortion(), and TextEngine::SplitTextPortion().
TETextPortion & TETextPortionList::operator[] | ( | std::size_t | nPos | ) |
Definition at line 64 of file textdata.cxx.
References maPortions, and nPos.
void TETextPortionList::push_back | ( | const TETextPortion & | aTP | ) |
Definition at line 110 of file textdata.cxx.
References maPortions.
Referenced by TextEngine::CreateAndInsertEmptyLine(), and TextEngine::CreateTextPortions().
void TETextPortionList::Reset | ( | void | ) |
Definition at line 115 of file textdata.cxx.
References maPortions.
Referenced by TextEngine::CreateLines(), and ~TETextPortionList().
std::size_t TETextPortionList::size | ( | ) | const |
Definition at line 94 of file textdata.cxx.
References maPortions.
Referenced by TextEngine::CreateAndInsertEmptyLine(), TextEngine::CreateLines(), TextEngine::CreateTextPortions(), TextEngine::ImpGetXPos(), TextEngine::ImpPaint(), TextEngine::RecalcTextPortion(), and TextEngine::SplitTextPortion().
|
private |
Definition at line 75 of file textdat2.hxx.
Referenced by begin(), DeleteFromPortion(), empty(), end(), erase(), FindPortion(), insert(), operator[](), push_back(), Reset(), and size().
|
staticconstexpr |
Definition at line 78 of file textdat2.hxx.
Referenced by TextEngine::CreateLines().