Lines Matching refs:nCol
140 SCCOL nCol = static_cast<SCCOL>(aSortParam.nField[nSort]); in CreateSortInfoArray() local
141 ScColumn* pCol = &aCol[nCol]; in CreateSortInfoArray()
156 for ( SCCOL nCol = static_cast<SCCOL>(nInd1); in CreateSortInfoArray() local
157 nCol <= static_cast<SCCOL>(nInd2); nCol++ ) in CreateSortInfoArray()
159 ScSortInfo* pInfo = pArray->Get( nSort, nCol ); in CreateSortInfoArray()
160 pInfo->pCell = GetCell( nCol, nRow ); in CreateSortInfoArray()
161 pInfo->nOrg = nCol; in CreateSortInfoArray()
437 for (SCCOL nCol = aSortParam.nCol1; nCol <= aSortParam.nCol2; nCol++) in SwapRow() local
439 aCol[nCol].SwapRow(nRow1, nRow2); in SwapRow()
442 const ScPatternAttr* pPat1 = GetPattern(nCol, nRow1); in SwapRow()
443 const ScPatternAttr* pPat2 = GetPattern(nCol, nRow2); in SwapRow()
448 SetPattern(nCol, nRow1, *pPat2, sal_True); in SwapRow()
449 SetPattern(nCol, nRow2, *pPat1, sal_True); in SwapRow()
476 SCCOL nCol = static_cast<SCCOL>(aSortParam.nField[nSort]); in Compare() local
477 ScBaseCell* pCell1 = aCol[nCol].GetCell( nIndex1 ); in Compare()
478 ScBaseCell* pCell2 = aCol[nCol].GetCell( nIndex2 ); in Compare()
479 nRes = CompareCell( nSort, pCell1, nCol, nIndex1, pCell2, nCol, nIndex2 ); in Compare()
525 for (SCCOL nCol = aSortParam.nCol1; nCol <= aSortParam.nCol2; nCol++) in Sort() local
526 nLastRow = Max(nLastRow, aCol[nCol].GetLastDataPos()); in Sort()
579 SCCOL nCol; in TestRemoveSubTotals() local
584 for ( nCol=nStartCol; nCol<=nEndCol && !bWillDelete; nCol++ ) in TestRemoveSubTotals()
586 ScColumnIterator aIter( &aCol[nCol],nStartRow,nEndRow ); in TestRemoveSubTotals()
612 SCCOL nCol; in RemoveSubTotals() local
616 for ( nCol=nStartCol; nCol<=nEndCol; nCol++ ) in RemoveSubTotals()
618 ScColumnIterator aIter( &aCol[nCol],nStartRow,nEndRow ); 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()
880 aRef.Ref1.nCol = nResCols[nResult]; in DoSubTotals()
882 aRef.Ref2.nCol = nResCols[nResult]; in DoSubTotals()
1511 for (SCCOL nCol=aParam.nCol1; nCol<=aParam.nCol2 && !bValid; nCol++) in Query() local
1514 pCell = GetCell( nCol, j ); in Query()
1646 SCCOL nCol = nCol1; in CreateExcelQuery() local
1652 while (bValid && (nCol <= nCol2)) in CreateExcelQuery()
1655 GetUpperCellString(nCol, nRow1, aQueryStr); in CreateExcelQuery()
1668 pFields[nCol - nCol1] = i; in CreateExcelQuery()
1671 nCol++; in CreateExcelQuery()
1676 for ( nCol=nCol1; nCol<=nCol2; nCol++ ) in CreateExcelQuery()
1677 nVisible += aCol[nCol].VisibleCount( nRow1+1, nRow2 ); in CreateExcelQuery()
1692 nCol = nCol1; in CreateExcelQuery()
1693 while (nCol <= nCol2) in CreateExcelQuery()
1695 GetInputString( nCol, nRow, aCellStr ); in CreateExcelQuery()
1701 rQueryParam.GetEntry(nIndex).nField = pFields[nCol - nCol1]; in CreateExcelQuery()
1710 nCol++; in CreateExcelQuery()
1861 for (SCCOL nCol=nStartCol; nCol<=nEndCol; nCol++) in HasColHeader() local
1863 CellType eType = GetCellType( nCol, nStartRow ); in HasColHeader()
1881 void ScTable::GetFilterEntries(SCCOL nCol, SCROW nRow1, SCROW nRow2, TypedScStrCollection& rStrings… in GetFilterEntries() argument
1883 aCol[nCol].GetFilterEntries( nRow1, nRow2, rStrings, rHasDates ); in GetFilterEntries()
1887 …SCCOL nCol, SCROW nRow1, SCROW nRow2, const ScQueryParam& rParam, TypedScStrCollection& rStrings, … in GetFilteredFilterEntries() argument
1895 if ( rEntry.nField == nCol ) in GetFilteredFilterEntries()
1911 aCol[nCol].GetFilterEntries( j, j, rStrings, bThisHasDates ); in GetFilteredFilterEntries()
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()
1925 SCSIZE ScTable::GetCellCount(SCCOL nCol) const in GetCellCount()
1927 return aCol[nCol].GetCellCount(); in GetCellCount()
1934 for ( SCCOL nCol=0; nCol<=MAXCOL; nCol++ ) in GetCellCount() local
1935 nCellCount += aCol[nCol].GetCellCount(); in GetCellCount()
1944 for ( SCCOL nCol=0; nCol<=MAXCOL; nCol++ ) in GetWeightedCount() local
1945 if ( aCol[nCol].GetCellCount() ) // GetCellCount ist inline in GetWeightedCount()
1946 nCellCount += aCol[nCol].GetWeightedCount(); in GetWeightedCount()
1955 for ( SCCOL nCol=0; nCol<=MAXCOL; nCol++ ) in GetCodeCount() local
1956 if ( aCol[nCol].GetCellCount() ) // GetCellCount ist inline in GetCodeCount()
1957 nCodeCount += aCol[nCol].GetCodeCount(); in GetCodeCount()
1962 sal_Int32 ScTable::GetMaxStringLen( SCCOL nCol, SCROW nRowStart, in GetMaxStringLen() argument
1965 if ( ValidCol(nCol) ) in GetMaxStringLen()
1966 return aCol[nCol].GetMaxStringLen( nRowStart, nRowEnd, eCharSet ); in GetMaxStringLen()
1972 sal_uInt16& nPrecision, SCCOL nCol, SCROW nRowStart, SCROW nRowEnd ) const in GetMaxNumberStringLen() argument
1974 if ( ValidCol(nCol) ) in GetMaxNumberStringLen()
1975 return aCol[nCol].GetMaxNumberStringLen( nPrecision, nRowStart, nRowEnd ); in GetMaxNumberStringLen()
1990 SCCOL nCol; in UpdateSelectionFunction() local
1992 for (nCol=0; nCol<=MAXCOL && !rData.bError; nCol++) in UpdateSelectionFunction()
1993 if ( !pColFlags || !ColHidden(nCol) ) in UpdateSelectionFunction()
1994 aCol[nCol].UpdateSelectionFunction( rMark, rData, *mpHiddenRows, in UpdateSelectionFunction()
1995 … bSingle && ( nCol >= nStartCol && nCol <= nEndCol ), in UpdateSelectionFunction()
2001 for (nCol=nStartCol; nCol<=nEndCol && !rData.bError; nCol++) in UpdateSelectionFunction()
2002 if ( !pColFlags || !ColHidden(nCol) ) in UpdateSelectionFunction()
2003 aCol[nCol].UpdateAreaFunction( rData, *mpHiddenRows, nStartRow, nEndRow ); in UpdateSelectionFunction()
2009 for (SCCOL nCol=0; nCol<=MAXCOL; nCol++) in FindConditionalFormat() local
2011 ScAttrIterator* pIter = aCol[nCol].CreateAttrIterator( 0, MAXROW ); in FindConditionalFormat()
2016 rList.Join( ScRange(nCol,nStartRow,nTab, nCol,nEndRow,nTab) ); in FindConditionalFormat()