Lines Matching refs:nIndex

189 	SCSIZE nIndex;  in GetNeededSize()  local
191 if (Search(nRow,nIndex)) in GetNeededSize()
193 ScBaseCell* pCell = pItems[nIndex].pCell; in GetNeededSize()
628 long ScColumn::GetSimpleTextNeededSize( SCSIZE nIndex, OutputDevice* pDev, in GetSimpleTextNeededSize() argument
632 if ( nIndex < nCount ) in GetSimpleTextNeededSize()
634 SCROW nRow = pItems[nIndex].nRow; in GetSimpleTextNeededSize()
636 ScBaseCell* pCell = pItems[nIndex].pCell; in GetSimpleTextNeededSize()
666 SCSIZE nIndex; in GetOptimalColWidth() local
679 while (aDataIter.Next( nIndex )) in GetOptimalColWidth()
681 sal_uInt16 nThis = (sal_uInt16) (GetSimpleTextNeededSize( nIndex, pDev, in GetOptimalColWidth()
700 while (aDataIter.Next( nIndex )) in GetOptimalColWidth()
702 SCROW nRow = pItems[nIndex].nRow; in GetOptimalColWidth()
704 sal_uInt8 nScript = pDocument->GetScriptType( nCol, nRow, nTab, pItems[nIndex].pCell ); in GetOptimalColWidth()
867 SCSIZE nIndex; in GetOptimalHeight() local
868 Search(nStart,nIndex); in GetOptimalHeight()
869 while ( nIndex < nCount && (nRow=pItems[nIndex].nRow) <= nEnd ) in GetOptimalHeight()
871 sal_uInt8 nScript = pDocument->GetScriptType( nCol, nRow, nTab, pItems[nIndex].pCell ); in GetOptimalHeight()
896 ++nIndex; in GetOptimalHeight()
905 SCSIZE nIndex; in GetOptimalHeight() local
906 Search(nStart,nIndex); in GetOptimalHeight()
907 while ( (nIndex < nCount) ? ((nRow=pItems[nIndex].nRow) <= nEnd) : sal_False ) in GetOptimalHeight()
920 ++nIndex; in GetOptimalHeight()
940 SCSIZE nIndex; in GetNextSpellingCell() local
941 if (!bInSel && Search(nRow, nIndex)) in GetNextSpellingCell()
1256 SCSIZE nIndex; in VisibleCount() local
1257 Search( nStartRow, nIndex ); in VisibleCount()
1258 while ( nIndex < nCount && pItems[nIndex].nRow <= nEndRow ) in VisibleCount()
1260 if ( pItems[nIndex].nRow >= nStartRow && in VisibleCount()
1261 pItems[nIndex].pCell->GetCellType() != CELLTYPE_NOTE ) in VisibleCount()
1265 ++nIndex; in VisibleCount()
1313 SCSIZE nIndex; in HasVisibleDataAt() local
1314 if (Search(nRow, nIndex)) in HasVisibleDataAt()
1315 if (!pItems[nIndex].pCell->IsBlank()) in HasVisibleDataAt()
1339 SCSIZE nIndex; in IsEmptyBlock() local
1340 Search( nStartRow, nIndex ); in IsEmptyBlock()
1341 while ( nIndex < nCount && pItems[nIndex].nRow <= nEndRow ) in IsEmptyBlock()
1343 if ( !pItems[nIndex].pCell->IsBlank( bIgnoreNotes ) ) // found a cell in IsEmptyBlock()
1345 ++nIndex; in IsEmptyBlock()
1425 SCSIZE nIndex; in GetNextDataPos() local
1426 if (Search( rRow, nIndex )) in GetNextDataPos()
1427 ++nIndex; // next cell in GetNextDataPos()
1429 sal_Bool bMore = ( nIndex < nCount ); in GetNextDataPos()
1431 rRow = pItems[nIndex].nRow; in GetNextDataPos()
1440 SCSIZE nIndex; in FindDataAreaPos() local
1441 sal_Bool bThere = Search(rRow, nIndex); in FindDataAreaPos()
1442 if (bThere && pItems[nIndex].pCell->IsBlank()) in FindDataAreaPos()
1448 SCSIZE nOldIndex = nIndex; in FindDataAreaPos()
1451 if (nIndex<nCount-1) in FindDataAreaPos()
1453 ++nIndex; in FindDataAreaPos()
1454 while (nIndex<nCount-1 && pItems[nIndex].nRow==nLast+1 in FindDataAreaPos()
1455 && !pItems[nIndex].pCell->IsBlank()) in FindDataAreaPos()
1457 ++nIndex; in FindDataAreaPos()
1460 if (nIndex==nCount-1) in FindDataAreaPos()
1461 if (pItems[nIndex].nRow==nLast+1 && !pItems[nIndex].pCell->IsBlank()) in FindDataAreaPos()
1467 if (nIndex>0) in FindDataAreaPos()
1469 --nIndex; in FindDataAreaPos()
1470 while (nIndex>0 && pItems[nIndex].nRow+1==nLast in FindDataAreaPos()
1471 && !pItems[nIndex].pCell->IsBlank()) in FindDataAreaPos()
1473 --nIndex; in FindDataAreaPos()
1476 if (nIndex==0) in FindDataAreaPos()
1477 if (pItems[nIndex].nRow+1==nLast && !pItems[nIndex].pCell->IsBlank()) in FindDataAreaPos()
1484 nIndex = bForward ? nOldIndex+1 : nOldIndex; in FindDataAreaPos()
1494 while (nIndex<nCount && pItems[nIndex].pCell->IsBlank()) in FindDataAreaPos()
1495 ++nIndex; in FindDataAreaPos()
1496 if (nIndex<nCount) in FindDataAreaPos()
1497 rRow = pItems[nIndex].nRow; in FindDataAreaPos()
1503 while (nIndex>0 && pItems[nIndex-1].pCell->IsBlank()) in FindDataAreaPos()
1504 --nIndex; in FindDataAreaPos()
1505 if (nIndex>0) in FindDataAreaPos()
1506 rRow = pItems[nIndex-1].nRow; in FindDataAreaPos()
1521 SCSIZE nIndex; in HasDataAt() local
1522 if (Search(nRow, nIndex)) in HasDataAt()
1523 if (!pItems[nIndex].pCell->IsBlank()) in HasDataAt()
1591 SCSIZE nIndex; in FindUsed() local
1592 Search( nStartRow, nIndex ); in FindUsed()
1593 while ( (nIndex < nCount) ? ((nRow=pItems[nIndex].nRow) <= nEndRow) : sal_False ) in FindUsed()
1596 ++nIndex; in FindUsed()
1605 SCSIZE nIndex; in StartListening() local
1606 if (Search(nRow,nIndex)) in StartListening()
1608 pCell = pItems[nIndex].pCell; in StartListening()
1630 SCSIZE nIndex; in MoveListeners() local
1631 if (Search(nDestRow,nIndex)) in MoveListeners()
1633 pCell = pItems[nIndex].pCell; in MoveListeners()
1661 SCSIZE nIndex; in EndListening() local
1662 if (Search(nRow,nIndex)) in EndListening()
1664 ScBaseCell* pCell = pItems[nIndex].pCell; in EndListening()
1673 DeleteAtIndex(nIndex); in EndListening()
1814 SCSIZE nIndex; in UpdateSelectionFunction() local
1816 while (aDataIter.Next( nIndex )) in UpdateSelectionFunction()
1818 SCROW nRow = pItems[nIndex].nRow; in UpdateSelectionFunction()
1822 lcl_UpdateSubTotal( rData, pItems[nIndex].pCell ); in UpdateSelectionFunction()
1831 SCSIZE nIndex; in UpdateAreaFunction() local
1832 Search( nStartRow, nIndex ); in UpdateAreaFunction()
1833 while ( nIndex<nCount && pItems[nIndex].nRow<=nEndRow ) in UpdateAreaFunction()
1835 SCROW nRow = pItems[nIndex].nRow; in UpdateAreaFunction()
1838 lcl_UpdateSubTotal( rData, pItems[nIndex].pCell ); in UpdateAreaFunction()
1839 ++nIndex; in UpdateAreaFunction()