Lines Matching refs:nCol

73     nCol = 0;  in ScDocumentIterator()
92 nCol = MAXCOL; in GetThisCol()
98 ScColumn* pCol = &pTab->aCol[nCol]; in GetThisCol()
159 ++nCol; in GetThis()
160 if (nCol > MAXCOL) in GetThis()
162 nCol = 0; in GetThis()
178 nCol = 0; in GetFirst()
209 rCol = nCol; in GetPos()
301 nCol = nStartCol; in ScValueIterator()
314 ScColumn* pCol = &(pDoc->pTab[nTab])->aCol[nCol]; in GetThis()
322 nCol++; in GetThis()
323 if ( nCol > nEndCol ) in GetThis()
325 nCol = nStartCol; in GetThis()
334 pCol = &(pDoc->pTab[nTab])->aCol[nCol]; in GetThis()
439 const ScColumn* pCol = &(pDoc->pTab[nTab])->aCol[nCol]; in GetCurNumFmtInfo()
470 nCol = nStartCol; in GetFirst()
475 ScColumn* pCol = &(pDoc->pTab[nTab])->aCol[nCol]; in GetFirst()
504 SCROW ScDBQueryDataIterator::GetRowByColEntryIndex(ScDocument& rDoc, SCTAB nTab, SCCOL nCol, SCSIZE… in GetRowByColEntryIndex() argument
506 ScColumn* pCol = &rDoc.pTab[nTab]->aCol[nCol]; in GetRowByColEntryIndex()
510 ScBaseCell* ScDBQueryDataIterator::GetCellByColEntryIndex(ScDocument& rDoc, SCTAB nTab, SCCOL nCol,… in GetCellByColEntryIndex() argument
512 ScColumn* pCol = &rDoc.pTab[nTab]->aCol[nCol]; in GetCellByColEntryIndex()
516 ScAttrArray* ScDBQueryDataIterator::GetAttrArrayByCol(ScDocument& rDoc, SCTAB nTab, SCCOL nCol) in GetAttrArrayByCol() argument
518 ScColumn* pCol = &rDoc.pTab[nTab]->aCol[nCol]; in GetAttrArrayByCol()
527 …ZE ScDBQueryDataIterator::SearchColEntryIndex(ScDocument& rDoc, SCTAB nTab, SCROW nRow, SCCOL nCol) in SearchColEntryIndex() argument
529 ScColumn* pCol = &rDoc.pTab[nTab]->aCol[nCol]; in SearchColEntryIndex()
543 nCol = mpParam->mnField; in DataAccessInternal()
578 SCSIZE nCellCount = mpDoc->GetCellCount(nTab, nCol); in getCurrent()
579 SCROW nThisRow = ScDBQueryDataIterator::GetRowByColEntryIndex(*mpDoc, nTab, nCol, nColRow); in getCurrent()
581 nThisRow = ScDBQueryDataIterator::GetRowByColEntryIndex(*mpDoc, nTab, nCol, ++nColRow); in getCurrent()
587 if (nCol == static_cast<SCCOL>(nFirstQueryField)) in getCurrent()
588 pCell = ScDBQueryDataIterator::GetCellByColEntryIndex(*mpDoc, nTab, nCol, nColRow); in getCurrent()
593 if (nCol != static_cast<SCCOL>(nFirstQueryField)) in getCurrent()
594 … pCell = ScDBQueryDataIterator::GetCellByColEntryIndex(*mpDoc, nTab, nCol, nColRow); in getCurrent()
605 ScDBQueryDataIterator::GetAttrArrayByCol(*mpDoc, nTab, nCol); in getCurrent()
623 nNumFmtIndex, ScAddress( nCol, nRow, nTab ), in getCurrent()
675 nColRow = ScDBQueryDataIterator::SearchColEntryIndex(*mpDoc, nTab, nRow, nCol); in getFirst()
742 bool lcl_isQueryByValue(const ScQueryEntry& rEntry, const ScMatrix& rMat, SCSIZE nCol, SCSIZE nRow) in lcl_isQueryByValue() argument
747 if (!rMat.IsValueOrEmpty(nCol, nRow)) in lcl_isQueryByValue()
753 bool lcl_isQueryByString(const ScQueryEntry& rEntry, const ScMatrix& rMat, SCSIZE nCol, SCSIZE nRow) in lcl_isQueryByString() argument
770 if (rEntry.bQueryByString && rMat.IsString(nCol, nRow)) in lcl_isQueryByString()
992 nCol = nStartCol; in ScCellIterator()
1000 nStartCol = nCol = MAXCOL+1; in ScCellIterator()
1034 nCol = nStartCol; in ScCellIterator()
1042 nStartCol = nCol = MAXCOL+1; in ScCellIterator()
1050 ScColumn* pCol = &(pDoc->pTab[nTab])->aCol[nCol]; in GetThis()
1058 nCol++; in GetThis()
1059 if ( nCol > nEndCol ) in GetThis()
1061 nCol = nStartCol; in GetThis()
1066 pCol = &(pDoc->pTab[nTab])->aCol[nCol]; in GetThis()
1099 nCol = nStartCol; in GetFirst()
1103 ScColumn* pCol = &(pDoc->pTab[nTab])->aCol[nCol]; in GetFirst()
1126 nCol = aParam.nCol1; in ScQueryCellIterator()
1148 ScColumn* pCol = &(pDoc->pTab[nTab])->aCol[nCol]; in GetThis()
1156 (!aParam.bByRow && nCol == aParam.nCol1)); in GetThis()
1166 if ( ++nCol > aParam.nCol2 ) in GetThis()
1173 pCol = &(pDoc->pTab[nTab])->aCol[nCol]; in GetThis()
1196 (nCol == static_cast<SCCOL>(nFirstQueryField) ? pCell : NULL), in GetThis()
1245 nCol = aParam.nCol1; in GetFirst()
1250 ScColumn* pCol = &(pDoc->pTab[nTab])->aCol[nCol]; in GetFirst()
1315 nCol = nFoundCol; in FindEqualOrSortedLastInRange()
1354 nCol = nFoundCol; in FindEqualOrSortedLastInRange()
1400 nCol = nFoundCol; in FindEqualOrSortedLastInRange()
1411 nCol = aParam.nCol1; in BinarySearch()
1412 ScColumn* pCol = &(pDoc->pTab[nTab])->aCol[nCol]; in BinarySearch()
1685 nCol( nCol1 ), in ScHorizontalCellIterator()
1706 nCol = nStartCol; in SetTab()
1735 rCol = nCol; in GetNext()
1738 ScColumn* pCol = &pDoc->pTab[nTab]->aCol[nCol]; in GetNext()
1739 SCSIZE nIndex = pNextIndices[nCol-nStartCol]; in GetNext()
1744 pNextRows[nCol-nStartCol] = pCol->pItems[nIndex].nRow; in GetNext()
1745 pNextIndices[nCol-nStartCol] = nIndex; in GetNext()
1749 pNextRows[nCol-nStartCol] = MAXROWCOUNT; // nichts gefunden in GetNext()
1750 pNextIndices[nCol-nStartCol] = MAXROWCOUNT; in GetNext()
1762 rCol = nCol; in ReturnNext()
1772 for (i=nCol+1; i<=nEndCol && !bFound; i++) in Advance()
1775 nCol = i; in Advance()
1785 nCol = i; in Advance()
1966 nCol = nStartCol; in ScHorizontalAttrIterator()
2020 while ( nCol <= nEndCol && !ppPatterns[nCol-nStartCol] ) in GetNext()
2021 ++nCol; in GetNext()
2023 if ( nCol <= nEndCol ) in GetNext()
2025 const ScPatternAttr* pPat = ppPatterns[nCol-nStartCol]; in GetNext()
2027 rCol1 = nCol; in GetNext()
2028 while ( nCol < nEndCol && ppPatterns[nCol+1-nStartCol] == pPat ) in GetNext()
2029 ++nCol; in GetNext()
2030 rCol2 = nCol; in GetNext()
2031 ++nCol; // hochzaehlen fuer naechsten Aufruf in GetNext()
2088 nCol = nStartCol; // wieder links anfangen in GetNext()
2201 nCol( nCol1 ) in ScDocAttrIterator()
2204 pColIter = pDoc->pTab[nTab]->aCol[nCol].CreateAttrIterator( nStartRow, nEndRow ); in ScDocAttrIterator()
2221 rCol = nCol; in GetNext()
2226 ++nCol; in GetNext()
2227 if ( nCol <= nEndCol ) in GetNext()
2228 pColIter = pDoc->pTab[nTab]->aCol[nCol].CreateAttrIterator( nStartRow, nEndRow ); in GetNext()