Lines Matching refs:nCol
253 sal_uInt16 ScTable::GetOptimalColWidth( SCCOL nCol, OutputDevice* pDev, in GetOptimalColWidth() argument
259 return aCol[nCol].GetOptimalColWidth( pDev, nPPTX, nPPTY, rZoomX, rZoomY, in GetOptimalColWidth()
263 long ScTable::GetNeededSize( SCCOL nCol, SCROW nRow, in GetNeededSize() argument
273 return aCol[nCol].GetNeededSize in GetNeededSize()
319 for (SCCOL nCol=0; nCol<MAXCOL; nCol++) // MAXCOL schon oben in SetOptimalHeight() local
321 aCol[nCol].GetOptimalHeight( in SetOptimalHeight()
327 sal_uLong nWeight = aCol[nCol].GetWeightedCount(); in SetOptimalHeight()
849 SCCOL nCol; in GetEmptyLinesInBlock() local
853 for (nCol = nStartCol; nCol <= nEndCol; nCol++) in GetEmptyLinesInBlock()
854 nCount = Min(nCount, aCol[nCol].GetEmptyLinesInBlock(nStartRow, nEndRow, eDir)); in GetEmptyLinesInBlock()
858 nCol = nEndCol; in GetEmptyLinesInBlock()
859 while (((SCsCOL)nCol >= (SCsCOL)nStartCol) && in GetEmptyLinesInBlock()
860 aCol[nCol].IsEmptyBlock(nStartRow, nEndRow)) in GetEmptyLinesInBlock()
863 nCol--; in GetEmptyLinesInBlock()
868 nCol = nStartCol; in GetEmptyLinesInBlock()
869 while ((nCol <= nEndCol) && aCol[nCol].IsEmptyBlock(nStartRow, nEndRow)) in GetEmptyLinesInBlock()
872 nCol++; in GetEmptyLinesInBlock()
942 sal_Bool ScTable::ValidNextPos( SCCOL nCol, SCROW nRow, const ScMarkData& rMark, in ValidNextPos() argument
945 if (!ValidCol(nCol) || !ValidRow(nRow)) in ValidNextPos()
948 if (pDocument->HasAttrib(nCol, nRow, nTab, nCol, nRow, nTab, HASATTR_OVERLAPPED)) in ValidNextPos()
952 if (bMarked && !rMark.IsCellMarked(nCol,nRow)) in ValidNextPos()
956 GetAttr(nCol,nRow,ATTR_PROTECTION))->GetProtection()) in ValidNextPos()
968 if (ColHidden(nCol)) in ValidNextPos()
982 SCsCOL nCol = rCol; in GetNextPos() local
985 nCol = sal::static_int_cast<SCsCOL>( nCol + nMovX ); in GetNextPos()
994 nRow = rMark.GetNextMarked( nCol, nRow, bUp ); in GetNextPos()
996 …(RowHidden(nRow) || pDocument->HasAttrib(nCol, nRow, nTab, nCol, nRow, nTab, HASATTR_OVERLAPPED)) ) in GetNextPos()
1000 nRow = rMark.GetNextMarked( nCol, nRow, bUp ); in GetNextPos()
1005 nCol = sal::static_int_cast<SCsCOL>( nCol + static_cast<SCsCOL>(nMovY) ); in GetNextPos()
1006 while ( VALIDCOL(nCol) && ColHidden(nCol) ) in GetNextPos()
1007 …nCol = sal::static_int_cast<SCsCOL>( nCol + static_cast<SCsCOL>(nMovY) ); // #53697# skip hidde… in GetNextPos()
1008 if (nCol < 0) in GetNextPos()
1010 nCol = MAXCOL; in GetNextPos()
1014 else if (nCol > MAXCOL) in GetNextPos()
1016 nCol = 0; in GetNextPos()
1024 nRow = rMark.GetNextMarked( nCol, nRow, bUp ); in GetNextPos()
1026 …(RowHidden(nRow) || pDocument->HasAttrib(nCol, nRow, nTab, nCol, nRow, nTab, HASATTR_OVERLAPPED)) ) in GetNextPos()
1030 nRow = rMark.GetNextMarked( nCol, nRow, bUp ); in GetNextPos()
1038 if (nCol<0) in GetNextPos()
1040 nCol = MAXCOL; in GetNextPos()
1045 if (nCol>MAXCOL) in GetNextPos()
1047 nCol = 0; in GetNextPos()
1053 if ( !ValidNextPos(nCol, nRow, rMark, bMarked, bUnprotected) ) in GetNextPos()
1061 pNextRows[i] = (i<nCol) ? (nRow+1) : nRow; in GetNextPos()
1064 SCsROW nNextRow = pNextRows[nCol] + 1; in GetNextPos()
1066 nNextRow = rMark.GetNextMarked( nCol, nNextRow, sal_False ); in GetNextPos()
1068 nNextRow = aCol[nCol].GetNextUnprotected( nNextRow, sal_False ); in GetNextPos()
1069 pNextRows[nCol] = nNextRow; in GetNextPos()
1076 nCol = i; in GetNextPos()
1083 nCol = 0; in GetNextPos()
1089 while ( !ValidNextPos(nCol, nRow, rMark, bMarked, bUnprotected) ); in GetNextPos()
1094 pNextRows[i] = (i>nCol) ? (nRow-1) : nRow; in GetNextPos()
1097 SCsROW nNextRow = pNextRows[nCol] - 1; in GetNextPos()
1099 nNextRow = rMark.GetNextMarked( nCol, nNextRow, sal_True ); in GetNextPos()
1101 nNextRow = aCol[nCol].GetNextUnprotected( nNextRow, sal_True ); in GetNextPos()
1102 pNextRows[nCol] = nNextRow; in GetNextPos()
1109 nCol = i; in GetNextPos()
1116 nCol = MAXCOL; in GetNextPos()
1122 while ( !ValidNextPos(nCol, nRow, rMark, bMarked, bUnprotected) ); in GetNextPos()
1133 if (VALIDCOLROW(nCol,nRow)) in GetNextPos()
1135 rCol = nCol; in GetNextPos()
1440 for (SCCOL nCol = rEndCol; nCol >= 0; --nCol) in ExtendPrintArea() local
1442 if (!aSkipCols.getRangeData(nCol, aColData)) in ExtendPrintArea()
1449 nCol = aColData.mnCol1; // move toward 0. in ExtendPrintArea()
1454 for (SCCOL nDataCol = nCol; 0 <= nDataCol && nDataCol >= aColData.mnCol1; --nDataCol) in ExtendPrintArea()
1481 nCol = aColData.mnCol1; // move toward 0. in ExtendPrintArea()
1551 for (SCCOL nCol=nCol1; nCol<=nCol2; nCol++) in DoColResize() local
1552 aCol[nCol].Resize(aCol[nCol].GetCellCount() + nAdd); in DoColResize()