Lines Matching refs:nRow

142 			for ( SCROW nRow = nInd1; nRow <= nInd2; nRow++ )  in CreateSortInfoArray()  local
145 ScSortInfo* pInfo = pArray->Get( nSort, nRow ); in CreateSortInfoArray()
146 pInfo->pCell = pCol->GetCell( nRow ); in CreateSortInfoArray()
147 pInfo->nOrg = nRow; in CreateSortInfoArray()
155 SCROW nRow = aSortParam.nField[nSort]; in CreateSortInfoArray() local
160 pInfo->pCell = GetCell( nCol, nRow ); in CreateSortInfoArray()
415 for (SCROW nRow = aSortParam.nRow1; nRow <= aSortParam.nRow2; nRow++) in SwapCol() local
417 aCol[nCol1].SwapCell(nRow, aCol[nCol2]); in SwapCol()
420 const ScPatternAttr* pPat1 = GetPattern(nCol1, nRow); in SwapCol()
421 const ScPatternAttr* pPat2 = GetPattern(nCol2, nRow); in SwapCol()
426 SetPattern(nCol1, nRow, *pPat2, sal_True); in SwapCol()
427 SetPattern(nCol2, nRow, *pPat1, sal_True); in SwapCol()
486 SCROW nRow = aSortParam.nField[nSort]; in Compare() local
487 ScBaseCell* pCell1 = aCol[nIndex1].GetCell( nRow ); in Compare()
488 ScBaseCell* pCell2 = aCol[nIndex2].GetCell( nRow ); in Compare()
490 nRow, pCell2, static_cast<SCCOL>(nIndex2), nRow ); in Compare()
508 SCROW nRow; in DecoladeRow() local
512 nRow = rand() % nMax; in DecoladeRow()
513 pArray->Swap(i, nRow1 + nRow); in DecoladeRow()
580 SCROW nRow; in TestRemoveSubTotals() local
587 while ( aIter.Next( nRow, pCell ) && !bWillDelete ) in TestRemoveSubTotals()
594 if (aCol[nTestCol].HasDataAt(nRow)) in TestRemoveSubTotals()
613 SCROW nRow; in RemoveSubTotals() local
619 while ( aIter.Next( nRow, pCell ) ) in RemoveSubTotals()
624 RemoveRowBreak(nRow+1, false, true); in RemoveSubTotals()
625 pDocument->DeleteRow( 0,nTab, MAXCOL,nTab, nRow, 1 ); in RemoveSubTotals()
627 aIter = ScColumnIterator( &aCol[nCol],nRow,nEndRow ); in RemoveSubTotals()
637 void lcl_RemoveNumberFormat( ScTable* pTab, SCCOL nCol, SCROW nRow ) in lcl_RemoveNumberFormat() argument
639 const ScPatternAttr* pPattern = pTab->GetPattern( nCol, nRow ); in lcl_RemoveNumberFormat()
647 pTab->SetPattern( nCol, nRow, aNewPattern, sal_True ); in lcl_RemoveNumberFormat()
743 for (SCROW nRow=nStartRow; nRow<=nEndRow+1 && bSpaceLeft; nRow++) in DoSubTotals() local
746 if (nRow>nEndRow) in DoSubTotals()
756 GetString( nGroupCol[i], nRow, aString ); in DoSubTotals()
771 if ( iEntry->nDestRow == nRow ) in DoSubTotals()
782 aRowEntry.nDestRow = nRow; in DoSubTotals()
784 aRowEntry.nFuncEnd = nRow-1; in DoSubTotals()
790 if ( rParam.bPagebreak && nRow < MAXROW && in DoSubTotals()
845 ++nRow; in DoSubTotals()
847 aRowEntry.nSubStartRow = nRow; in DoSubTotals()
850 GetString( nGroupCol[i], nRow, aSubString ); in DoSubTotals()
858 bBlockVis = !RowFiltered(nRow); in DoSubTotals()
881 aRef.Ref1.nRow = iEntry->nFuncStart; in DoSubTotals()
883 aRef.Ref2.nRow = iEntry->nFuncEnd; in DoSubTotals()
923 sal_Bool ScTable::ValidQuery(SCROW nRow, const ScQueryParam& rParam, in ValidQuery() argument
952 pCell = GetCell( static_cast<SCCOL>(rEntry.nField), nRow ); in ValidQuery()
960 bOk = !( aCol[rEntry.nField].HasDataAt( nRow ) ); in ValidQuery()
962 bOk = aCol[rEntry.nField].HasDataAt( nRow ); in ValidQuery()
965 HasValueData( static_cast<SCCOL>(rEntry.nField), nRow))) in ValidQuery()
984 nCellVal = GetValue( static_cast<SCCOL>(rEntry.nField), nRow ); in ValidQuery()
994 sal_uInt32 nNumFmt = GetNumberFormat(static_cast<SCCOL>(rEntry.nField), nRow); in ValidQuery()
1051 nRow)))) in ValidQuery()
1062 sal_uLong nFormat = GetNumberFormat( static_cast<SCCOL>(rEntry.nField), nRow ); in ValidQuery()
1067 GetInputString( static_cast<SCCOL>(rEntry.nField), nRow, aCellStr ); in ValidQuery()
1227 HasValueData( static_cast<SCCOL>(rEntry.nField), nRow))) in ValidQuery()
1234 HasStringData( static_cast<SCCOL>(rEntry.nField), nRow))) in ValidQuery()
1689 SCROW nRow = nRow1 + 1; in CreateExcelQuery() local
1690 while (nRow <= nRow2) in CreateExcelQuery()
1695 GetInputString( nCol, nRow, aCellStr ); in CreateExcelQuery()
1712 nRow++; in CreateExcelQuery()
1738 SCROW nRow = nRow1; in CreateStarQuery() local
1755 GetUpperCellString(nCol1, nRow, aCellStr); in CreateStarQuery()
1771 GetUpperCellString(nCol1 + 1, nRow, aCellStr); in CreateStarQuery()
1793 GetUpperCellString(nCol1 + 2, nRow, aCellStr); in CreateStarQuery()
1817 GetString(nCol1 + 3, nRow, *rEntry.pStr); in CreateStarQuery()
1821 nRow++; in CreateStarQuery()
1823 while (bValid && (nRow <= nRow2) /* && (nIndex < MAXQUERY) */ ); in CreateStarQuery()
1872 for (SCROW nRow=nStartRow; nRow<=nEndRow; nRow++) in HasRowHeader() local
1874 CellType eType = GetCellType( nStartCol, nRow ); in HasRowHeader()
1920 sal_Bool ScTable::GetDataEntries(SCCOL nCol, SCROW nRow, TypedScStrCollection& rStrings, sal_Bool b… in GetDataEntries() argument
1922 return aCol[nCol].GetDataEntries( nRow, rStrings, bLimit ); in GetDataEntries()