LibreOffice Module sc (master) 1
|
#include <columniterator.hxx>
Public Member Functions | |
ScColumnTextWidthIterator (const ScColumnTextWidthIterator &)=delete | |
const ScColumnTextWidthIterator & | operator= (const ScColumnTextWidthIterator &)=delete |
ScColumnTextWidthIterator (const ScDocument &rDoc, ScColumn &rCol, SCROW nStartRow, SCROW nEndRow) | |
ScColumnTextWidthIterator (const ScDocument &rDoc, const ScAddress &rStartPos, SCROW nEndRow) | |
void | next () |
bool | hasCell () const |
SCROW | getPos () const |
sal_uInt16 | getValue () const |
void | setValue (sal_uInt16 nVal) |
Private Member Functions | |
void | init (const ScDocument &rDoc, SCROW nStartRow, SCROW nEndRow) |
void | getDataIterators (size_t nOffsetInBlock) |
void | checkEndRow () |
Private Attributes | |
const size_t | mnEnd |
size_t | mnCurPos |
sc::CellTextAttrStoreType::iterator | miBlockCur |
sc::CellTextAttrStoreType::iterator | miBlockEnd |
sc::celltextattr_block::iterator | miDataCur |
sc::celltextattr_block::iterator | miDataEnd |
Definition at line 22 of file columniterator.hxx.
|
delete |
ScColumnTextWidthIterator::ScColumnTextWidthIterator | ( | const ScDocument & | rDoc, |
ScColumn & | rCol, | ||
SCROW | nStartRow, | ||
SCROW | nEndRow | ||
) |
Definition at line 17 of file columniterator.cxx.
References init(), ScColumn::maCellTextAttrs, miBlockCur, and miBlockEnd.
ScColumnTextWidthIterator::ScColumnTextWidthIterator | ( | const ScDocument & | rDoc, |
const ScAddress & | rStartPos, | ||
SCROW | nEndRow | ||
) |
rDoc | document instance. |
rStartPos | position of the first cell from which to start iteration. Note that the caller must ensure that this position is valid; the constructor does not check its validity. |
nEndRow | end row position. |
Definition at line 26 of file columniterator.cxx.
References ScAddress::Col(), init(), ScDocument::maTabs, miBlockCur, miBlockEnd, ScAddress::Row(), and ScAddress::Tab().
|
private |
Definition at line 160 of file columniterator.cxx.
References miBlockCur, miBlockEnd, mnCurPos, and mnEnd.
|
private |
Definition at line 146 of file columniterator.cxx.
References miBlockCur, miBlockEnd, miDataCur, and miDataEnd.
SCROW ScColumnTextWidthIterator::getPos | ( | ) | const |
Definition at line 72 of file columniterator.cxx.
References miBlockCur, miBlockEnd, miDataCur, miDataEnd, and mnCurPos.
Referenced by ScTable::InvalidateTextWidth().
sal_uInt16 ScColumnTextWidthIterator::getValue | ( | ) | const |
Definition at line 78 of file columniterator.cxx.
References miBlockCur, miBlockEnd, miDataCur, and miDataEnd.
bool ScColumnTextWidthIterator::hasCell | ( | ) | const |
Definition at line 67 of file columniterator.cxx.
References miBlockCur, and miBlockEnd.
Referenced by ScTable::InvalidateTextWidth().
|
private |
Definition at line 90 of file columniterator.cxx.
References checkEndRow(), sc::element_type_celltextattr, getDataIterators(), miBlockCur, miBlockEnd, mnCurPos, and ScDocument::ValidRow().
Referenced by ScColumnTextWidthIterator().
void ScColumnTextWidthIterator::next | ( | ) |
Definition at line 36 of file columniterator.cxx.
References checkEndRow(), sc::element_type_celltextattr, getDataIterators(), miBlockCur, miBlockEnd, miDataCur, miDataEnd, and mnCurPos.
Referenced by ScTable::InvalidateTextWidth().
|
delete |
void ScColumnTextWidthIterator::setValue | ( | sal_uInt16 | nVal | ) |
Definition at line 84 of file columniterator.cxx.
References miBlockCur, miBlockEnd, miDataCur, and miDataEnd.
Referenced by ScTable::InvalidateTextWidth().
|
private |
Definition at line 26 of file columniterator.hxx.
Referenced by checkEndRow(), getDataIterators(), getPos(), getValue(), hasCell(), init(), next(), ScColumnTextWidthIterator(), and setValue().
|
private |
Definition at line 27 of file columniterator.hxx.
Referenced by checkEndRow(), getDataIterators(), getPos(), getValue(), hasCell(), init(), next(), ScColumnTextWidthIterator(), and setValue().
|
private |
Definition at line 28 of file columniterator.hxx.
Referenced by getDataIterators(), getPos(), getValue(), next(), and setValue().
|
private |
Definition at line 29 of file columniterator.hxx.
Referenced by getDataIterators(), getPos(), getValue(), next(), and setValue().
|
private |
Definition at line 25 of file columniterator.hxx.
Referenced by checkEndRow(), getPos(), init(), and next().
|
private |
Definition at line 24 of file columniterator.hxx.
Referenced by checkEndRow().