LibreOffice Module sc (master) 1
|
Row-wise value iterator. More...
#include <dociter.hxx>
Public Member Functions | |
ScHorizontalValueIterator (ScDocument &rDocument, const ScRange &rRange) | |
~ScHorizontalValueIterator () | |
bool | GetNext (double &rValue, FormulaError &rErr) |
Does NOT reset rValue if no value found! More... | |
Private Attributes | |
ScDocument & | rDoc |
const ScAttrArray * | pAttrArray |
std::unique_ptr< ScHorizontalCellIterator > | pCellIter |
sal_uInt32 | nNumFormat |
SCTAB | nEndTab |
SCCOL | nCurCol |
SCROW | nCurRow |
SCTAB | nCurTab |
SCROW | nAttrEndRow |
bool | bCalcAsShown |
Row-wise value iterator.
Definition at line 333 of file dociter.hxx.
ScHorizontalValueIterator::ScHorizontalValueIterator | ( | ScDocument & | rDocument, |
const ScRange & | rRange | ||
) |
Definition at line 1259 of file dociter.cxx.
References ScRange::aEnd, ScRange::aStart, ScAddress::Col(), ScDocument::MaxCol(), ScDocument::MaxRow(), MAXTAB, nAttrEndRow, nCurCol, nCurRow, nCurTab, nEndTab, nNumFormat, pAttrArray, pCellIter, PutInOrder(), rDoc, ScAddress::Row(), ScAddress::Tab(), ScDocument::ValidCol(), ScDocument::ValidRow(), and ValidTab().
ScHorizontalValueIterator::~ScHorizontalValueIterator | ( | ) |
Definition at line 1293 of file dociter.cxx.
bool ScHorizontalValueIterator::GetNext | ( | double & | rValue, |
FormulaError & | rErr | ||
) |
Does NOT reset rValue if no value found!
Definition at line 1297 of file dociter.cxx.
References bCalcAsShown, CELLTYPE_EDIT, CELLTYPE_FORMULA, CELLTYPE_STRING, CELLTYPE_VALUE, ScRefCellValue::getDouble(), ScFormulaCell::GetErrCode(), ScRefCellValue::getFormula(), ScRefCellValue::getType(), ScFormulaCell::GetValue(), ScFormulaCell::IsValue(), ScDocument::maTabs, nAttrEndRow, nCurCol, nCurRow, nCurTab, nEndTab, nNumFormat, ScColumnData::pAttrArray, pAttrArray, pCellIter, rDoc, ScDocument::RoundValueAsShown(), and ScAttrArray_IterGetNumberFormat().
Referenced by ScInterpreter::ScNPV().
|
private |
Definition at line 346 of file dociter.hxx.
Referenced by GetNext().
|
private |
Definition at line 345 of file dociter.hxx.
Referenced by GetNext(), and ScHorizontalValueIterator().
|
private |
Definition at line 342 of file dociter.hxx.
Referenced by GetNext(), and ScHorizontalValueIterator().
|
private |
Definition at line 343 of file dociter.hxx.
Referenced by GetNext(), and ScHorizontalValueIterator().
|
private |
Definition at line 344 of file dociter.hxx.
Referenced by GetNext(), and ScHorizontalValueIterator().
|
private |
Definition at line 341 of file dociter.hxx.
Referenced by GetNext(), and ScHorizontalValueIterator().
|
private |
Definition at line 340 of file dociter.hxx.
Referenced by GetNext(), and ScHorizontalValueIterator().
|
private |
Definition at line 337 of file dociter.hxx.
Referenced by GetNext(), and ScHorizontalValueIterator().
|
private |
Definition at line 339 of file dociter.hxx.
Referenced by GetNext(), and ScHorizontalValueIterator().
|
private |
Definition at line 336 of file dociter.hxx.
Referenced by GetNext(), and ScHorizontalValueIterator().