Lines Matching refs:i
106 for (SCCOL i=0; i<=MAXCOL; i++) in ScTable() local
108 pColWidth[i] = STD_COL_WIDTH; in ScTable()
109 pColFlags[i] = 0; in ScTable()
341 for (SCSIZE i=0; i<nCount; i++) in SetOptimalHeight() local
345 sal_uInt8 nRowFlag = pRowFlags->GetValue( nStartRow+i, nIndex, nRegionEndRow ); in SetOptimalHeight()
348 SCSIZE nMoreRows = nRegionEndRow - ( nStartRow+i ); // additional equal rows after first in SetOptimalHeight()
356 pRowFlags->SetValue( nStartRow+i, nRegionEndRow, nRowFlag | CR_MANUALSIZE); in SetOptimalHeight()
359 pRowFlags->SetValue( nStartRow+i, nRegionEndRow, nRowFlag & ~CR_MANUALSIZE); in SetOptimalHeight()
361 for (SCSIZE nInner = i; nInner <= i + nMoreRows; ++nInner) in SetOptimalHeight()
387 i += nMoreRows; // already handled - skip in SetOptimalHeight()
406 for (SCCOL i=0; i<=MAXCOL; i++) in GetCellArea() local
407 if (!aCol[i].IsEmptyVisData(sal_True)) // sal_True = Notizen zaehlen auch in GetCellArea()
410 nMaxX = i; in GetCellArea()
411 SCROW nColY = aCol[i].GetLastVisDataPos(sal_True); in GetCellArea()
439 SCCOL i; in GetLastAttrCell() local
440 for ( i = 0; i <= MAXCOL; i++ ) in GetLastAttrCell()
443 aCol[i].GetLastAttr( nLastRow ); in GetLastAttrCell()
447 nMaxX = i; in GetLastAttrCell()
480 SCCOL i; in GetPrintArea() local
482 for (i=0; i<=MAXCOL; i++) // Daten testen in GetPrintArea()
483 if (!aCol[i].IsEmptyVisData(bNotes)) in GetPrintArea()
486 if (i>nMaxX) in GetPrintArea()
487 nMaxX = i; in GetPrintArea()
488 SCROW nColY = aCol[i].GetLastVisDataPos(bNotes); in GetPrintArea()
495 for (i=0; i<=MAXCOL; i++) // Attribute testen in GetPrintArea()
498 if (aCol[i].GetLastVisibleAttr( nLastRow )) in GetPrintArea()
501 nMaxX = i; in GetPrintArea()
551 SCCOL i; in GetPrintAreaHor() local
553 for (i=0; i<=MAXCOL; i++) // Attribute testen in GetPrintAreaHor()
555 if (aCol[i].HasVisibleAttrIn( nStartRow, nEndRow )) in GetPrintAreaHor()
558 nMaxX = i; in GetPrintAreaHor()
569 for (i=0; i<=MAXCOL; i++) // Daten testen in GetPrintAreaHor()
571 if (!aCol[i].IsEmptyBlock( nStartRow, nEndRow )) //! bNotes ?????? in GetPrintAreaHor()
574 if (i>nMaxX) in GetPrintAreaHor()
575 nMaxX = i; in GetPrintAreaHor()
588 SCCOL i; in GetPrintAreaVer() local
590 for (i=nStartCol; i<=nEndCol; i++) // Attribute testen in GetPrintAreaVer()
593 if (aCol[i].GetLastVisibleAttr( nLastRow )) in GetPrintAreaVer()
601 for (i=nStartCol; i<=nEndCol; i++) // Daten testen in GetPrintAreaVer()
602 if (!aCol[i].IsEmptyVisData(bNotes)) in GetPrintAreaVer()
605 SCROW nColY = aCol[i].GetLastVisDataPos(bNotes); in GetPrintAreaVer()
619 SCCOL i; in GetDataStart() local
621 for (i=0; i<=MAXCOL; i++) // Attribute testen in GetDataStart()
624 if (aCol[i].GetFirstVisibleAttr( nFirstRow )) in GetDataStart()
627 nMinX = i; in GetDataStart()
645 for (i=0; i<=MAXCOL; i++) // Daten testen in GetDataStart()
646 if (!aCol[i].IsEmptyVisData(sal_True)) in GetDataStart()
648 if (!bDatFound && i<nMinX) in GetDataStart()
649 nMinX = i; in GetDataStart()
651 SCROW nColY = aCol[i].GetFirstVisDataPos(sal_True); in GetDataStart()
670 SCCOL i; in GetDataArea() local
704 for (i=rStartCol; i<=rEndCol && !bFound; i++) in GetDataArea()
705 if (aCol[i].HasDataAt(nTest)) in GetDataArea()
720 for (i=rStartCol; i<=rEndCol && !bFound; i++) in GetDataArea()
721 if (aCol[i].HasDataAt(nTest)) in GetDataArea()
744 for (i=rStartCol; i<=rEndCol && !bFound; i++) in GetDataArea()
745 if (aCol[i].HasDataAt(rStartRow)) in GetDataArea()
753 for (i=rStartCol; i<=rEndCol && !bFound; i++) in GetDataArea()
754 if (aCol[i].HasDataAt(rEndRow)) in GetDataArea()
811 for (SCCOL i=rStartCol; i<=rEndCol && !bFound; i++) in ShrinkToUsedDataArea() local
812 if (aCol[i].HasDataAt( rStartRow)) in ShrinkToUsedDataArea()
824 for (SCCOL i=rStartCol; i<=rEndCol && !bFound; i++) in ShrinkToUsedDataArea() local
825 if (aCol[i].HasDataAt( rEndRow)) in ShrinkToUsedDataArea()
881 for (SCCOL i=nStartCol; i<=nEndCol && !bFound; i++) in IsEmptyLine() local
882 if (aCol[i].HasDataAt(nRow)) in IsEmptyLine()
1056 SCCOL i; in GetNextPos() local
1060 for (i=0; i<=MAXCOL; i++) in GetNextPos()
1061 pNextRows[i] = (i<nCol) ? (nRow+1) : nRow; in GetNextPos()
1072 for (i=0; i<=MAXCOL; i++) in GetNextPos()
1073 if (pNextRows[i] < nMinRow) // bei gleichen den linken in GetNextPos()
1075 nMinRow = pNextRows[i]; in GetNextPos()
1076 nCol = i; in GetNextPos()
1085 for (i=0; i<=MAXCOL; i++) in GetNextPos()
1086 pNextRows[i] = 0; // alles ganz von vorne in GetNextPos()
1093 for (i=0; i<=MAXCOL; i++) in GetNextPos()
1094 pNextRows[i] = (i>nCol) ? (nRow-1) : nRow; in GetNextPos()
1105 for (i=0; i<=MAXCOL; i++) in GetNextPos()
1106 if (pNextRows[i] >= nMaxRow) // bei gleichen den rechten in GetNextPos()
1108 nMaxRow = pNextRows[i]; in GetNextPos()
1109 nCol = i; in GetNextPos()
1118 for (i=0; i<=MAXCOL; i++) in GetNextPos()
1119 pNextRows[i] = MAXROW; // alles ganz von vorne in GetNextPos()
1208 SCCOL i; in UpdateReference() local
1212 i = nCol1; in UpdateReference()
1217 i = 0; in UpdateReference()
1220 for ( ; i<=iMax; i++) in UpdateReference()
1221 aCol[i].UpdateReference( eUpdateRefMode, nCol1, nRow1, nTab1, nCol2, nRow2, nTab2, in UpdateReference()
1308 for ( SCCOL i=0; i<=MAXCOL; i++ ) in UpdateTranspose() local
1309 aCol[i].UpdateTranspose( rSource, rDest, pUndoDoc ); in UpdateTranspose()
1314 for ( SCCOL i=0; i<=MAXCOL; i++ ) in UpdateGrow() local
1315 aCol[i].UpdateGrow( rArea, nGrowX, nGrowY ); in UpdateGrow()
1321 for (SCCOL i=0; i <= MAXCOL; i++) aCol[i].UpdateInsertTab(nTable); in UpdateInsertTab() local
1336 SCCOL i; in UpdateDeleteTab() local
1338 for (i=0; i <= MAXCOL; i++) aCol[i].UpdateDeleteTab(nTable, bIsMove, &pRefUndo->aCol[i]); in UpdateDeleteTab()
1340 for (i=0; i <= MAXCOL; i++) aCol[i].UpdateDeleteTab(nTable, bIsMove, NULL); in UpdateDeleteTab()
1350 for ( SCCOL i=0; i <= MAXCOL; i++ ) in UpdateMoveTab() local
1352 aCol[i].UpdateMoveTab( nOldPos, nNewPos, nTabNo ); in UpdateMoveTab()
1353 rProgress.SetState( rProgress.GetState() + aCol[i].GetCodeCount() ); in UpdateMoveTab()
1362 for (SCCOL i=0; i <= MAXCOL; i++) in UpdateCompile() local
1364 aCol[i].UpdateCompile( bForceIfNameInUse ); in UpdateCompile()
1371 for (SCCOL i=0; i <= MAXCOL; i++) aCol[i].SetTabNo(nNewTab); in SetTabNo() local
1378 for (SCCOL i = nCol1; !bInUse && (i <= nCol2) && (ValidCol(i)); i++) in IsRangeNameInUse() local
1379 bInUse = aCol[i].IsRangeNameInUse(nRow1, nRow2, nIndex); in IsRangeNameInUse()
1386 for (SCCOL i = nCol1; i <= nCol2 && ValidCol(i); i++) in FindRangeNamesInUse() local
1387 aCol[i].FindRangeNamesInUse(nRow1, nRow2, rIndexes); in FindRangeNamesInUse()
1394 for (SCCOL i = nCol1; i <= nCol2 && (ValidCol(i)); i++) in ReplaceRangeNamesInUse() local
1396 aCol[i].ReplaceRangeNamesInUse( nRow1, nRow2, rMap ); in ReplaceRangeNamesInUse()
1418 for (SCCOL i = 0; i <= MAXCOL; ++i) in ExtendPrintArea() local
1420 SCCOL nLastCol = i; in ExtendPrintArea()
1421 if (ColHidden(i, NULL, &nLastCol)) in ExtendPrintArea()
1424 aSkipCols.setTrue(i, nLastCol); in ExtendPrintArea()
1429 for (SCCOL j = i; j <= nLastCol; ++j) in ExtendPrintArea()
1436 i = nLastCol; in ExtendPrintArea()