Lines Matching refs:nRow

191     sal_uInt32 getIndex(SCCOL nCol, SCROW nRow) const  in getIndex()
194 DBG_ASSERT( nRow<mnRowCount, "wrong row index" ); in getIndex()
195 sal_uInt32 nRet = static_cast<sal_uInt32>(nCol*mnRowCount + nRow); in getIndex()
201 vector<ScSharedTokenRef>* getRowRanges(SCROW nRow) const;
226 vector<ScSharedTokenRef>* TokenTable::getRowRanges(SCROW nRow) const in getRowRanges()
228 if (nRow >= mnRowCount) in getRowRanges()
234 sal_uInt32 nLast = getIndex(mnColCount-1, nRow); in getRowRanges()
235 for (sal_uInt32 i = getIndex(0, nRow); i <= nLast; i += mnRowCount) in getRowRanges()
284 vector<ScSharedTokenRef>* getDataRowRanges(SCROW nRow) const;
320 for (SCROW nRow = 0; !bFoundValues && nRow < nSmallestValueRowIndex; ++nRow) in Chart2PositionMap() local
322 if (pToken && nRow>=nHeaderRowCount) in Chart2PositionMap()
338 nSmallestValueRowIndex = std::min( nSmallestValueRowIndex, nRow ); in Chart2PositionMap()
382 for (SCROW nRow = 0; nRow < nAllRowCount; ++nRow) in Chart2PositionMap() local
386 if( nRow < nHeaderRowCount ) in Chart2PositionMap()
391 else if( nRow < nHeaderRowCount ) in Chart2PositionMap()
427 vector<ScSharedTokenRef>* Chart2PositionMap::getRowHeaderRanges(SCROW nRow) const in getRowHeaderRanges()
429 return maRowHeaders.getRowRanges( nRow); in getRowHeaderRanges()
437 vector<ScSharedTokenRef>* Chart2PositionMap::getDataRowRanges(SCROW nRow) const in getDataRowRanges()
439 return maData.getRowRanges( nRow); in getDataRowRanges()
532 mnStartRow = aData.Ref1.nRow; in glueState()
546 mnStartRow = aData.Ref1.nRow; in glueState()
568 n1 = aData.Ref1.nRow; in glueState()
569 n2 = aData.Ref2.nRow; in glueState()
620 SCROW nRow1 = static_cast<SCROW>(aData.Ref1.nRow) - mnStartRow; in glueState()
621 SCROW nRow2 = static_cast<SCROW>(aData.Ref2.nRow) - mnStartRow; in glueState()
623 for (SCROW nRow = nRow1; nRow <= nRow2; ++nRow) in glueState() local
625 size_t i = nCol*nR + nRow; in glueState()
635 for (SCROW nRow = 0; bGlue && nRow < nR; ++nRow) in glueState() local
637 i = nCol*nR + nRow; in glueState()
640 if (nRow > 0 && nRow > 0) in glueState()
643 nRow = nR; in glueState()
657 for (SCROW nRow = 0; bGlue && nRow < nR; ++nRow) in glueState() local
659 i = nRow; in glueState()
664 if (nCol > 0 && nRow > 0) in glueState()
672 i = (nC-1)*nR + nRow; // index for the row position in the last column. in glueState()
730 SCROW nRow1 = s.nRow, nRow2 = e.nRow; in createPositionMap()
762 for (SCROW nRow = nRow1; nRow <= nRow2; ++nRow, ++nInsRow) in createPositionMap() local
771 aCellData.nRow = nRow; in createPositionMap()
1123 nMinRow = rData.nRow; in lcl_addUpperLeftCornerIfMissing()
1125 nMaxRow = rData.nRow; in lcl_addUpperLeftCornerIfMissing()
1133 nMinRow = min(rData.Ref1.nRow, rData.Ref2.nRow); in lcl_addUpperLeftCornerIfMissing()
1135 nMaxRow = max(rData.Ref1.nRow, rData.Ref2.nRow); in lcl_addUpperLeftCornerIfMissing()
1143 nMinRow = rData.nRow; in lcl_addUpperLeftCornerIfMissing()
1145 nMaxRow = rData.nRow; in lcl_addUpperLeftCornerIfMissing()
1156 nMinRow = min(rData.Ref1.nRow, rData.Ref2.nRow); in lcl_addUpperLeftCornerIfMissing()
1158 nMaxRow = max(rData.Ref1.nRow, rData.Ref2.nRow); in lcl_addUpperLeftCornerIfMissing()
1182 nMinRow = min(nMinRow, rData.nRow); in lcl_addUpperLeftCornerIfMissing()
1184 nMaxRow = max(nMaxRow, rData.nRow); in lcl_addUpperLeftCornerIfMissing()
1195 nMinRow = min(nMinRow, rData.Ref1.nRow); in lcl_addUpperLeftCornerIfMissing()
1196 nMinRow = min(nMinRow, rData.Ref2.nRow); in lcl_addUpperLeftCornerIfMissing()
1200 nMaxRow = max(nMaxRow, rData.Ref1.nRow); in lcl_addUpperLeftCornerIfMissing()
1201 nMaxRow = max(nMaxRow, rData.Ref2.nRow); in lcl_addUpperLeftCornerIfMissing()
1218 nMinRow = min(nMinRow, rData.nRow); in lcl_addUpperLeftCornerIfMissing()
1220 nMaxRow = max(nMaxRow, rData.nRow); in lcl_addUpperLeftCornerIfMissing()
1235 nMinRow = min(nMinRow, rData.Ref1.nRow); in lcl_addUpperLeftCornerIfMissing()
1236 nMinRow = min(nMinRow, rData.Ref2.nRow); in lcl_addUpperLeftCornerIfMissing()
1240 nMaxRow = max(nMaxRow, rData.Ref1.nRow); in lcl_addUpperLeftCornerIfMissing()
1241 nMaxRow = max(nMaxRow, rData.Ref2.nRow); in lcl_addUpperLeftCornerIfMissing()
1272 if (rData.nCol == nMinCol && rData.nRow == nMinRow) in lcl_addUpperLeftCornerIfMissing()
1276 if (rData.nCol == nMinCol+nCornerColumnCount && rData.nRow == nMinRow) in lcl_addUpperLeftCornerIfMissing()
1279 if (rData.nCol == nMinCol && rData.nRow == nMinRow+nCornerRowCount) in lcl_addUpperLeftCornerIfMissing()
1282 … if (rData.nCol == nMinCol+nCornerColumnCount && rData.nRow == nMinRow+nCornerRowCount) in lcl_addUpperLeftCornerIfMissing()
1293 r1.nRow <= nMinRow && nMinRow <= r2.nRow) in lcl_addUpperLeftCornerIfMissing()
1298 r1.nRow <= nMinRow && nMinRow <= r2.nRow) in lcl_addUpperLeftCornerIfMissing()
1302 r1.nRow <= nMinRow+nCornerRowCount && nMinRow+nCornerRowCount <= r2.nRow) in lcl_addUpperLeftCornerIfMissing()
1306 r1.nRow <= nMinRow+nCornerRowCount && nMinRow+nCornerRowCount <= r2.nRow) in lcl_addUpperLeftCornerIfMissing()
1342 aData.Ref1.nRow = nMinRow; in lcl_addUpperLeftCornerIfMissing()
1345 aData.Ref2.nRow = nMaxRow; in lcl_addUpperLeftCornerIfMissing()
1373 aData.nRow = nMinRow; in lcl_addUpperLeftCornerIfMissing()
1394 aDataEnd.nRow += (nCornerRowCount-1); in lcl_addUpperLeftCornerIfMissing()
1663 … mnRowCount = std::max<SCROW>( mnRowCount, static_cast<SCROW>(abs(r.Ref2.nRow - r.Ref1.nRow)+1) ); in initRangeAnalyzer()
1667 mnStartRow = r.Ref1.nRow; in initRangeAnalyzer()
1671 if( mnStartColumn != r.Ref1.nCol && mnStartRow != r.Ref1.nRow ) in initRangeAnalyzer()
1686 mnStartRow = r.nRow; in initRangeAnalyzer()
1690 if( mnStartColumn != r.nCol && mnStartRow != r.nRow ) in initRangeAnalyzer()
2542 for (SCROW nRow = aRange.aStart.Row(); nRow <= aRange.aEnd.Row(); ++nRow) in BuildDataCache() local
2545 bool bRowHidden = m_pDocument->RowHidden(nRow, nTab, nLastRow); in BuildDataCache()
2561 ScAddress aAdr(nCol, nRow, nTab); in BuildDataCache()
2572 m_pDocument->GetString(nCol, nRow, nTab, aStr); in BuildDataCache()
2696 SCROW nRow = aRange.aStart.Row() + static_cast<SCROW>(nR); in FillCacheFromExternalRef() local
2697 pTable->getCell(nCol, nRow, &nFmt); in FillCacheFromExternalRef()
3142 for (sal_Int32 nRow = aRange.aStart.Row(); nRow <= aRange.aEnd.Row(); ++nRow) in operator ()() local
3148 aString += String::CreateFromInt32( nRow+1 ); in operator ()()
3257 for ( sal_Int32 nRow = aStart.Row; nRow <= aEnd.Row && !bFound; ++nRow) in getNumberFormatKeyByIndex() local
3264 xSheet->getCellByPosition(nCol, nRow), uno::UNO_QUERY); in getNumberFormatKeyByIndex()
3278 xSheet->getCellByPosition(nCol, nRow), uno::UNO_QUERY); in getNumberFormatKeyByIndex()
3658 for (sal_Int32 nRow = p->aStart.Row(); nRow <= p->aEnd.Row(); ++nRow) in getTextualData() local
3662 aString += String::CreateFromInt32( nRow+1 ); in getTextualData()