LibreOffice Module sc (master) 1
Public Member Functions | Private Types | Private Member Functions | Private Attributes | List of all members
ScValueIterator Class Reference

#include <dociter.hxx>

Collaboration diagram for ScValueIterator:
[legend]

Public Member Functions

 ScValueIterator (ScInterpreterContext &rContext, const ScRange &rRange, SubtotalFlags nSubTotalFlags=SubtotalFlags::NONE, bool bTextAsZero=false)
 
void GetCurNumFmtInfo (SvNumFormatType &nType, sal_uInt32 &nIndex)
 
bool GetFirst (double &rValue, FormulaError &rErr)
 Does NOT reset rValue if no value found! More...
 
bool GetNext (double &rValue, FormulaError &rErr)
 Does NOT reset rValue if no value found! More...
 

Private Types

typedef sc::CellStoreType::const_position_type PositionType
 

Private Member Functions

SCROW GetRow () const
 
void IncBlock ()
 
void IncPos ()
 
bool GetThis (double &rValue, FormulaError &rErr)
 See if the cell at the current position is a non-empty cell. More...
 

Private Attributes

const ScDocumentmrDoc
 
ScInterpreterContextmrContext
 
const ScAttrArraypAttrArray
 
sal_uInt32 nNumFormat
 
sal_uInt32 nNumFmtIndex
 
ScAddress maStartPos
 
ScAddress maEndPos
 
SCCOL mnCol
 
SCTAB mnTab
 
SCROW nAttrEndRow
 
SubtotalFlags mnSubTotalFlags
 
SvNumFormatType nNumFmtType
 
bool bNumValid
 
bool bCalcAsShown
 
bool bTextAsZero
 
const sc::CellStoreTypempCells
 
PositionType maCurPos
 

Detailed Description

Definition at line 51 of file dociter.hxx.

Member Typedef Documentation

◆ PositionType

typedef sc::CellStoreType::const_position_type ScValueIterator::PositionType
private

Definition at line 53 of file dociter.hxx.

Constructor & Destructor Documentation

◆ ScValueIterator()

ScValueIterator::ScValueIterator ( ScInterpreterContext rContext,
const ScRange rRange,
SubtotalFlags  nSubTotalFlags = SubtotalFlags::NONE,
bool  bTextAsZero = false 
)

Member Function Documentation

◆ GetCurNumFmtInfo()

void ScValueIterator::GetCurNumFmtInfo ( SvNumFormatType nType,
sal_uInt32 &  nIndex 
)

◆ GetFirst()

bool ScValueIterator::GetFirst ( double &  rValue,
FormulaError rErr 
)

◆ GetNext()

bool ScValueIterator::GetNext ( double &  rValue,
FormulaError rErr 
)

◆ GetRow()

SCROW ScValueIterator::GetRow ( ) const
private

Definition at line 114 of file dociter.cxx.

References maCurPos.

Referenced by GetCurNumFmtInfo(), and GetThis().

◆ GetThis()

bool ScValueIterator::GetThis ( double &  rValue,
FormulaError rErr 
)
private

◆ IncBlock()

void ScValueIterator::IncBlock ( )
private

Definition at line 121 of file dociter.cxx.

References maCurPos.

Referenced by GetThis(), and IncPos().

◆ IncPos()

void ScValueIterator::IncPos ( )
private

Definition at line 127 of file dociter.cxx.

References IncBlock(), and maCurPos.

Referenced by GetNext(), and GetThis().

Member Data Documentation

◆ bCalcAsShown

bool ScValueIterator::bCalcAsShown
private

Definition at line 68 of file dociter.hxx.

Referenced by GetThis().

◆ bNumValid

bool ScValueIterator::bNumValid
private

Definition at line 67 of file dociter.hxx.

Referenced by GetCurNumFmtInfo(), and GetThis().

◆ bTextAsZero

bool ScValueIterator::bTextAsZero
private

Definition at line 69 of file dociter.hxx.

Referenced by GetThis().

◆ maCurPos

PositionType ScValueIterator::maCurPos
private

Definition at line 72 of file dociter.hxx.

Referenced by GetFirst(), GetRow(), GetThis(), IncBlock(), and IncPos().

◆ maEndPos

ScAddress ScValueIterator::maEndPos
private

Definition at line 61 of file dociter.hxx.

Referenced by GetThis(), and ScValueIterator().

◆ maStartPos

ScAddress ScValueIterator::maStartPos
private

Definition at line 60 of file dociter.hxx.

Referenced by GetFirst(), GetThis(), and ScValueIterator().

◆ mnCol

SCCOL ScValueIterator::mnCol
private

Definition at line 62 of file dociter.hxx.

Referenced by GetCurNumFmtInfo(), GetFirst(), and GetThis().

◆ mnSubTotalFlags

SubtotalFlags ScValueIterator::mnSubTotalFlags
private

Definition at line 65 of file dociter.hxx.

Referenced by GetThis().

◆ mnTab

SCTAB ScValueIterator::mnTab
private

Definition at line 63 of file dociter.hxx.

Referenced by GetCurNumFmtInfo(), GetFirst(), and GetThis().

◆ mpCells

const sc::CellStoreType* ScValueIterator::mpCells
private

Definition at line 71 of file dociter.hxx.

Referenced by GetFirst(), and GetThis().

◆ mrContext

ScInterpreterContext& ScValueIterator::mrContext
private

Definition at line 56 of file dociter.hxx.

Referenced by GetCurNumFmtInfo(), and GetThis().

◆ mrDoc

const ScDocument& ScValueIterator::mrDoc
private

Definition at line 55 of file dociter.hxx.

Referenced by GetCurNumFmtInfo(), GetFirst(), GetThis(), and ScValueIterator().

◆ nAttrEndRow

SCROW ScValueIterator::nAttrEndRow
private

Definition at line 64 of file dociter.hxx.

Referenced by GetFirst(), and GetThis().

◆ nNumFmtIndex

sal_uInt32 ScValueIterator::nNumFmtIndex
private

Definition at line 59 of file dociter.hxx.

Referenced by GetCurNumFmtInfo(), and GetThis().

◆ nNumFmtType

SvNumFormatType ScValueIterator::nNumFmtType
private

Definition at line 66 of file dociter.hxx.

Referenced by GetCurNumFmtInfo(), and GetThis().

◆ nNumFormat

sal_uInt32 ScValueIterator::nNumFormat
private

Definition at line 58 of file dociter.hxx.

Referenced by GetFirst(), and GetThis().

◆ pAttrArray

const ScAttrArray* ScValueIterator::pAttrArray
private

Definition at line 57 of file dociter.hxx.

Referenced by GetFirst(), and GetThis().


The documentation for this class was generated from the following files: