Lines Matching refs:nRow

320 Point ScDetectiveFunc::GetDrawPos( SCCOL nCol, SCROW nRow, DrawPosMode eMode ) const  in GetDrawPos()  argument
322 DBG_ASSERT( ValidColRow( nCol, nRow ), "ScDetectiveFunc::GetDrawPos - invalid cell address" ); in GetDrawPos()
324 SanitizeRow( nRow ); in GetDrawPos()
334 ++nRow; in GetDrawPos()
338 aPos.Y() += pDoc->GetRowHeight( nRow, nTab ) / 2; in GetDrawPos()
346 …rgeAttr* pMerge = static_cast< const ScMergeAttr* >( pDoc->GetAttr( nCol, nRow, nTab, ATTR_MERGE )… in GetDrawPos()
358 aPos.Y() += pDoc->GetRowHeight( 0, nRow - 1, nTab ); in GetDrawPos()
378 Rectangle ScDetectiveFunc::GetDrawRect( SCCOL nCol, SCROW nRow ) const in GetDrawRect()
380 return GetDrawRect( nCol, nRow, nCol, nRow ); in GetDrawRect()
475 sal_Bool ScDetectiveFunc::InsertArrow( SCCOL nCol, SCROW nRow, in InsertArrow() argument
505 Point aEndPos = GetDrawPos( nCol, nRow, DRAWPOS_DETARROW ); in InsertArrow()
547 pData->maEnd.Set( nCol, nRow, nTab); in InsertArrow()
625 sal_Bool ScDetectiveFunc::DrawEntry( SCCOL nCol, SCROW nRow, in DrawEntry() argument
629 if ( HasArrow( rRef.aStart, nCol, nRow, nTab ) ) in DrawEntry()
636 return InsertArrow( nCol, nRow, in DrawEntry()
656 void ScDetectiveFunc::DrawCircle( SCCOL nCol, SCROW nRow, ScDetectiveData& rData ) in DrawCircle() argument
661 Rectangle aRect = GetDrawRect( nCol, nRow ); in DrawCircle()
678 pData->maStart.Set( nCol, nRow, nTab); in DrawCircle()
684 void ScDetectiveFunc::DeleteArrowsAt( SCCOL nCol, SCROW nRow, sal_Bool bDestPnt ) in DeleteArrowsAt() argument
686 Rectangle aRect = GetDrawRect( nCol, nRow ); in DeleteArrowsAt()
837 sal_uInt16 ScDetectiveFunc::InsertPredLevel( SCCOL nCol, SCROW nRow, ScDetectiveData& rData, in InsertPredLevel() argument
841 pDoc->GetCell( nCol, nRow, nTab, pCell ); in InsertPredLevel()
861 if (DrawEntry( nCol, nRow, aRef, rData )) in InsertPredLevel()
929 sal_uInt16 ScDetectiveFunc::FindPredLevel( SCCOL nCol, SCROW nRow, sal_uInt16 nLevel, sal_uInt16 nD… in FindPredLevel() argument
934 pDoc->GetCell( nCol, nRow, nTab, pCell ); in FindPredLevel()
953 DeleteArrowsAt( nCol, nRow, sal_True ); // Pfeile, die hierher zeigen in FindPredLevel()
971 if ( HasArrow( aRef.aStart, nCol,nRow,nTab ) ) in FindPredLevel()
992 sal_uInt16 ScDetectiveFunc::InsertErrorLevel( SCCOL nCol, SCROW nRow, ScDetectiveData& rData, in InsertErrorLevel() argument
996 pDoc->GetCell( nCol, nRow, nTab, pCell ); in InsertErrorLevel()
1021 if (DrawEntry( nCol, nRow, ScRange( aErrorPos), rData )) in InsertErrorLevel()
1039 if (InsertPredLevel( nCol, nRow, rData, rData.GetMaxLevel() ) == DET_INS_INSERTED) in InsertErrorLevel()
1204 sal_Bool ScDetectiveFunc::ShowPred( SCCOL nCol, SCROW nRow ) in ShowPred() argument
1217 nResult = InsertPredLevel( nCol, nRow, aData, 0 ); in ShowPred()
1224 sal_Bool ScDetectiveFunc::ShowSucc( SCCOL nCol, SCROW nRow ) in ShowSucc() argument
1237 nResult = InsertSuccLevel( nCol, nRow, nCol, nRow, aData, 0 ); in ShowSucc()
1244 sal_Bool ScDetectiveFunc::ShowError( SCCOL nCol, SCROW nRow ) in ShowError() argument
1250 ScRange aRange( nCol, nRow, nTab ); in ShowError()
1258 sal_uInt16 nResult = InsertErrorLevel( nCol, nRow, aData, 0 ); in ShowError()
1263 sal_Bool ScDetectiveFunc::DeleteSucc( SCCOL nCol, SCROW nRow ) in DeleteSucc() argument
1269 sal_uInt16 nLevelCount = FindSuccLevel( nCol, nRow, nCol, nRow, 0, 0 ); in DeleteSucc()
1271 FindSuccLevel( nCol, nRow, nCol, nRow, 0, nLevelCount ); // loeschen in DeleteSucc()
1276 sal_Bool ScDetectiveFunc::DeletePred( SCCOL nCol, SCROW nRow ) in DeletePred() argument
1282 sal_uInt16 nLevelCount = FindPredLevel( nCol, nRow, 0, 0 ); in DeletePred()
1284 FindPredLevel( nCol, nRow, 0, nLevelCount ); // loeschen in DeletePred()
1381 SCROW nRow; in MarkInvalid() local
1388 for ( nRow = nNextRow; nRow < nCellRow && nInsCount < SC_DET_MAXCIRCLE; nRow++ ) in MarkInvalid()
1390 DrawCircle( nCol, nRow, aData ); in MarkInvalid()
1402 for ( nRow = nNextRow; nRow <= nRow2 && nInsCount < SC_DET_MAXCIRCLE; nRow++ ) in MarkInvalid()
1404 DrawCircle( nCol, nRow, aData ); in MarkInvalid()