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 479 of file dociter.hxx.
ScHorizontalValueIterator::ScHorizontalValueIterator | ( | ScDocument & | rDocument, |
const ScRange & | rRange | ||
) |
Definition at line 2296 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 2330 of file dociter.cxx.
bool ScHorizontalValueIterator::GetNext | ( | double & | rValue, |
FormulaError & | rErr | ||
) |
Does NOT reset rValue if no value found!
Definition at line 2334 of file dociter.cxx.
References bCalcAsShown, CELLTYPE_EDIT, CELLTYPE_FORMULA, CELLTYPE_STRING, CELLTYPE_VALUE, ScFormulaCell::GetErrCode(), ScFormulaCell::GetValue(), ScFormulaCell::IsValue(), ScDocument::maTabs, ScRefCellValue::meType, ScRefCellValue::mfValue, ScRefCellValue::mpFormula, nAttrEndRow, nCurCol, nCurRow, nCurTab, nEndTab, nNumFormat, ScColumn::pAttrArray, pAttrArray, pCellIter, rDoc, ScDocument::RoundValueAsShown(), and ScAttrArray_IterGetNumberFormat().
Referenced by ScInterpreter::ScNPV().
|
private |
Definition at line 492 of file dociter.hxx.
Referenced by GetNext().
|
private |
Definition at line 491 of file dociter.hxx.
Referenced by GetNext(), and ScHorizontalValueIterator().
|
private |
Definition at line 488 of file dociter.hxx.
Referenced by GetNext(), and ScHorizontalValueIterator().
|
private |
Definition at line 489 of file dociter.hxx.
Referenced by GetNext(), and ScHorizontalValueIterator().
|
private |
Definition at line 490 of file dociter.hxx.
Referenced by GetNext(), and ScHorizontalValueIterator().
|
private |
Definition at line 487 of file dociter.hxx.
Referenced by GetNext(), and ScHorizontalValueIterator().
|
private |
Definition at line 486 of file dociter.hxx.
Referenced by GetNext(), and ScHorizontalValueIterator().
|
private |
Definition at line 483 of file dociter.hxx.
Referenced by GetNext(), and ScHorizontalValueIterator().
|
private |
Definition at line 485 of file dociter.hxx.
Referenced by GetNext(), and ScHorizontalValueIterator().
|
private |
Definition at line 482 of file dociter.hxx.
Referenced by GetNext(), and ScHorizontalValueIterator().