Lines Matching refs:nRow

211 ScAutoSum lcl_IsAutoSumData( ScDocument* pDoc, SCCOL nCol, SCROW nRow,  in lcl_IsAutoSumData()  argument
215 pDoc->GetCell( nCol, nRow, nTab, pCell ); in lcl_IsAutoSumData()
224 ScAddress( nCol, nRow, nTab ), eDir ) ) in lcl_IsAutoSumData()
238 ScAutoSum lcl_SeekAutoSumData( ScDocument* pDoc, SCCOL& nCol, SCROW& nRow, in lcl_SeekAutoSumData() argument
246 if (nRow > 0) in lcl_SeekAutoSumData()
247 --nRow; in lcl_SeekAutoSumData()
260 pDoc, nCol, nRow, nTab, eDir, nExtend )) != ScAutoSumNone ) in lcl_SeekAutoSumData()
271 bool lcl_FindNextSumEntryInColumn( ScDocument* pDoc, SCCOL nCol, SCROW& nRow, in lcl_FindNextSumEntryInColumn() argument
274 const SCROW nTmp = nRow; in lcl_FindNextSumEntryInColumn()
276 …while ( ( eSkip = lcl_IsAutoSumData( pDoc, nCol, nRow, nTab, DIR_TOP, nExtend ) ) == ScAutoSumData… in lcl_FindNextSumEntryInColumn()
277 nRow > nMinRow ) in lcl_FindNextSumEntryInColumn()
279 --nRow; in lcl_FindNextSumEntryInColumn()
281 if ( eSkip == ScAutoSumSum && nRow < nTmp ) in lcl_FindNextSumEntryInColumn()
290 bool lcl_FindNextSumEntryInRow( ScDocument* pDoc, SCCOL& nCol, SCROW nRow, in lcl_FindNextSumEntryInRow() argument
295 …while ( ( eSkip = lcl_IsAutoSumData( pDoc, nCol, nRow, nTab, DIR_LEFT, nExtend ) ) == ScAutoSumDat… in lcl_FindNextSumEntryInRow()
363 const SCROW nRow = aEnd.Row(); in lcl_GetAutoSumForRowRange() local
367 … const ScAutoSum eSum = lcl_IsAutoSumData( pDoc, nEndCol, nRow, nTab, DIR_LEFT, nExtend /*out*/ ); in lcl_GetAutoSumForRowRange()
374 rRangeList.Append( ScRange( nStartCol, nRow, nTab, nEndCol, nRow, nTab ) ); in lcl_GetAutoSumForRowRange()
376 …if ( ( bContinue = lcl_FindNextSumEntryInRow( pDoc, nEndCol /*inout*/, nRow, nTab, nExtend /*out*/… in lcl_GetAutoSumForRowRange()
385 … lcl_IsAutoSumData( pDoc, nStartCol-1, nRow, nTab, DIR_LEFT, nExtend /*out*/ ) != ScAutoSumSum ) in lcl_GetAutoSumForRowRange()
389 rRangeList.Append( ScRange( nStartCol, nRow, nTab, nEndCol, nRow, nTab ) ); in lcl_GetAutoSumForRowRange()
403 SCROW nRow = GetViewData()->GetCurY(); in GetAutoSumArea() local
406 SCROW nStartRow = nRow; in GetAutoSumArea()
408 SCROW nEndRow = nRow; in GetAutoSumArea()
410 SCROW nSeekRow = nRow; in GetAutoSumArea()
417 if ( nRow != 0 in GetAutoSumArea()
418 && ((eSum = lcl_IsAutoSumData( pDoc, nCol, nRow-1, nTab, in GetAutoSumArea()
420 && ((eSum = lcl_IsAutoSumData( pDoc, nCol, nRow-1, nTab, in GetAutoSumArea()
425 nSeekRow = nRow - 1; in GetAutoSumArea()
427 else if ( nCol != 0 && (eSum = lcl_IsAutoSumData( pDoc, nCol-1, nRow, nTab, in GetAutoSumArea()
435 …else if (( eSum = lcl_SeekAutoSumData( pDoc, nSeekCol, nRow, nTab, DIR_LEFT, nExtend /*out*/ )) !=… in GetAutoSumArea()
446 nEndRow = nRow - 1; // Datenbereich evtl. nach unten erweitern in GetAutoSumArea()
470 nRow, nTab, DIR_LEFT, nExtend /*out*/ ) == eSum ) in GetAutoSumArea()
489 …if ( ( bContinue = lcl_FindNextSumEntryInRow( pDoc, nEndCol /*inout*/, nRow, nTab, nExtend /*out*/… in GetAutoSumArea()
523 for ( SCROW nRow = nStartRow; nRow <= nEndRow; ++nRow ) in AutoSum() local
527 if ( lcl_IsAutoSumData( pDoc, nCol, nRow, nTab, DIR_TOP, nExtend ) != ScAutoSumNone ) in AutoSum()
535 nStartRow = nRow; in AutoSum()
548 for ( SCROW nRow = nStartRow; nRow <= nEndRow; ++nRow ) in AutoSum() local
550 if ( lcl_IsAutoSumData( pDoc, nCol, nRow, nTab, DIR_LEFT, nExtend ) != ScAutoSumNone ) in AutoSum()
683 for ( SCROW nRow = nStartRow; nRow <= nEndRow; ++nRow ) in AutoSum() local
685 if ( !pDoc->IsBlockEmpty( nTab, nStartCol, nRow, nSumEndCol, nRow ) ) in AutoSum()
688 const ScRange aRange( nStartCol, nRow, nTab, nSumEndCol, nRow, nTab ); in AutoSum()
692 EnterData( nInsCol, nRow, nTab, aFormula ); in AutoSum()
751 SCROW nRow = GetViewData()->GetCurY(); in EnterBlock() local
763 EnterData( nCol, nRow, nTab, pData ); in EnterBlock()
765 EnterData( nCol, nRow, nTab, rString ); in EnterBlock()
774 const ScPatternAttr* pOldPattern = pDoc->GetPattern( nCol, nRow, nTab ); in EnterBlock()
790 ScAddress aPos( nCol, nRow, nTab ); in EnterBlock()
799 pInsDoc->PutCell( nCol, nRow, nTab, pFCell ); in EnterBlock()
802 pInsDoc->PutCell( nCol, nRow, nTab, new ScEditCell( pData, pDoc, NULL ) ); in EnterBlock()
804 pInsDoc->SetString( nCol, nRow, nTab, aNewStr ); in EnterBlock()
812 nCol, nRow, nTab, ATTR_VALUE_FORMAT ); in EnterBlock()
1629 SCROW nRow = GetViewData()->GetCurY(); in SearchAndReplace() local
1709 if ( nCol == 0 && nRow == 0 && nTab == nStartTab && !pSearchItem->GetBackward() ) in SearchAndReplace()
1716 if (pDoc->SearchAndReplace( *pSearchItem, nCol, nRow, nTab, rMark, aUndoStr, pUndoDoc ) ) in SearchAndReplace()
1724 nCol, nRow, nTab, in SearchAndReplace()
1766 ScDocument::GetSearchAndReplaceStart( *pSearchItem, nCol, nRow ); in SearchAndReplace()
1827 AlignToCursor( nCol, nRow, SC_FOLLOW_JUMP ); in SearchAndReplace()
1828 SetCursor( nCol, nRow, sal_True ); in SearchAndReplace()
1834 pDocSh->PostPaint( nCol,nRow,nTab, nCol,nRow,nTab, PAINT_GRID ); in SearchAndReplace()