LibreOffice Module sc (master) 1
|
Iterator for references in a formula cell. More...
#include <formulaiter.hxx>
Public Member Functions | |
ScDetectiveRefIter (const ScDocument &rDoc, ScFormulaCell *pCell) | |
bool | GetNextRef (ScRange &rRange) |
formula::FormulaToken * | GetNextRefToken () |
Private Attributes | |
const ScDocument & | mrDoc |
formula::FormulaTokenArrayPlainIterator | maIter |
ScAddress | aPos |
Iterator for references in a formula cell.
Definition at line 31 of file formulaiter.hxx.
ScDetectiveRefIter::ScDetectiveRefIter | ( | const ScDocument & | rDoc, |
ScFormulaCell * | pCell | ||
) |
Definition at line 29 of file formulaiter.cxx.
References maIter.
bool ScDetectiveRefIter::GetNextRef | ( | ScRange & | rRange | ) |
Definition at line 52 of file formulaiter.cxx.
References ScRange::aEnd, aPos, ScRange::aStart, GetNextRefToken(), mrDoc, p, SingleDoubleRefProvider::Ref1, SingleDoubleRefProvider::Ref2, and ScSingleRefData::toAbs().
Referenced by ScAccessibleCell::FillDependents(), ScAccessibleCell::FillPrecedents(), ScDetectiveFunc::FindPredLevel(), ScDetectiveFunc::FindSuccLevel(), ScDetectiveFunc::InsertErrorLevel(), ScDetectiveFunc::InsertPredLevel(), ScDetectiveFunc::InsertSuccLevel(), ScTableLink::Refresh(), and ScTransferObj::StripRefs().
formula::FormulaToken * ScDetectiveRefIter::GetNextRefToken | ( | ) |
Definition at line 67 of file formulaiter.cxx.
References aPos, formula::FormulaTokenArrayPlainIterator::GetNextReferenceRPN(), lcl_ScDetectiveRefIter_SkipRef(), maIter, mrDoc, and p.
Referenced by ScDetectiveFunc::GetAllPreds(), ScDetectiveFunc::GetAllSuccs(), and GetNextRef().
|
private |
Definition at line 36 of file formulaiter.hxx.
Referenced by GetNextRef(), and GetNextRefToken().
|
private |
Definition at line 35 of file formulaiter.hxx.
Referenced by GetNextRefToken().
|
private |
Definition at line 34 of file formulaiter.hxx.
Referenced by GetNextRef(), and GetNextRefToken().