LibreOffice Module sc (master)
1
|
#include <dociter.hxx>
Public Member Functions | |
ScCountIfCellIterator (ScDocument &rDocument, const ScInterpreterContext &rContext, SCTAB nTable, const ScQueryParam &aParam) | |
int | GetCount () |
Private Types | |
typedef sc::CellStoreType::const_position_type | PositionType |
Private Member Functions | |
void | InitPos () |
Initialize position for new column. More... | |
void | IncPos () |
void | IncBlock () |
void | AdvanceQueryParamEntryField () |
Private Attributes | |
PositionType | maCurPos |
ScQueryParam | maParam |
ScDocument & | rDoc |
const ScInterpreterContext & | mrContext |
SCTAB | nTab |
SCCOL | nCol |
SCROW | nRow |
Definition at line 372 of file dociter.hxx.
|
private |
Definition at line 374 of file dociter.hxx.
ScCountIfCellIterator::ScCountIfCellIterator | ( | ScDocument & | rDocument, |
const ScInterpreterContext & | rContext, | ||
SCTAB | nTable, | ||
const ScQueryParam & | aParam | ||
) |
Definition at line 1456 of file dociter.cxx.
References maParam, ScDocument::maTabs, mrContext, ScQueryParamTable::nCol1, ScQueryParamTable::nCol2, ScQueryParamTable::nRow1, and rDoc.
|
private |
Definition at line 1578 of file dociter.cxx.
References ScQueryEntry::bDoQuery, ScQueryParamBase::GetEntry(), ScQueryParamBase::GetEntryCount(), maParam, ScDocument::MaxCol(), ScQueryEntry::nField, and rDoc.
Referenced by GetCount().
int ScCountIfCellIterator::GetCount | ( | ) |
Definition at line 1499 of file dociter.cxx.
References AdvanceQueryParamEntryField(), assert(), count(), sc::element_type_empty, ScQueryParamBase::GetEntry(), ScQueryEntry::GetQueryItem(), ScQueryEntry::GetQueryItems(), ScDocument::GetTableCount(), IncBlock(), IncPos(), InitPos(), ScRefCellValue::isEmpty(), ScColumn::IsEmptyData(), ScColumn::maCells, maCurPos, maParam, ScDocument::maTabs, ScQueryEntry::Item::mbMatchEmpty, mrContext, nCol, ScQueryParamTable::nCol1, ScQueryParamTable::nCol2, ScQueryEntry::nField, ScQueryParamTable::nRow2, nTab, rDoc, and sc::toRefCell().
Referenced by ScInterpreter::ScCountIf().
|
private |
Definition at line 1491 of file dociter.cxx.
References maCurPos.
Referenced by GetCount(), and IncPos().
|
private |
Definition at line 1478 of file dociter.cxx.
References IncBlock(), maCurPos, and nRow.
Referenced by GetCount().
|
private |
Initialize position for new column.
Definition at line 1469 of file dociter.cxx.
References ScQueryParamBase::bByRow, ScQueryParamBase::bHasHeader, ScColumn::maCells, maCurPos, maParam, ScDocument::maTabs, nRow, ScQueryParamTable::nRow1, nTab, and rDoc.
Referenced by GetCount().
|
private |
Definition at line 375 of file dociter.hxx.
Referenced by GetCount(), IncBlock(), IncPos(), and InitPos().
|
private |
Definition at line 376 of file dociter.hxx.
Referenced by AdvanceQueryParamEntryField(), GetCount(), InitPos(), and ScCountIfCellIterator().
|
private |
Definition at line 378 of file dociter.hxx.
Referenced by GetCount().
|
private |
Definition at line 380 of file dociter.hxx.
Referenced by GetCount().
|
private |
Definition at line 381 of file dociter.hxx.
|
private |
Definition at line 379 of file dociter.hxx.
Referenced by GetCount(), and InitPos().
|
private |
Definition at line 377 of file dociter.hxx.
Referenced by AdvanceQueryParamEntryField(), GetCount(), InitPos(), and ScCountIfCellIterator().