Lines Matching refs:nCurY
120 void ScTabView::InitBlockMode( SCCOL nCurX, SCROW nCurY, SCTAB nCurZ, in InitBlockMode() argument
126 if (!ValidRow(nCurY)) nCurY = MAXROW; in InitBlockMode()
139 bBlockNeg = rMark.IsRowMarked( nCurY ); in InitBlockMode()
141 bBlockNeg = rMark.IsCellMarked( nCurX, nCurY ); in InitBlockMode()
152 nBlockStartY = nBlockStartYOrig = nCurY; in InitBlockMode()
224 void ScTabView::MarkCursor( SCCOL nCurX, SCROW nCurY, SCTAB nCurZ, in MarkCursor() argument
228 if (!ValidRow(nCurY)) nCurY = MAXROW; in MarkCursor()
233 InitBlockMode( nCurX, nCurY, nCurZ, sal_False, bCols, bRows ); in MarkCursor()
237 nCurY = MAXROW; in MarkCursor()
265 if ( nCurX != nOldCurX || nCurY != nOldCurY ) in MarkCursor()
307 … if ( !( nCurX >= nBlockStartXOrig + nColSpan - 1 && nCurY >= nBlockStartYOrig + nRowSpan - 1 ) ) in MarkCursor()
310 … nBlockStartY = nCurY >= nBlockStartYOrig ? nBlockStartYOrig : nBlockStartYOrig + nRowSpan - 1; in MarkCursor()
313 … nCurYOffset = nCurY >= nBlockStartYOrig && nCurY < nBlockStartYOrig + nRowSpan - 1 ? in MarkCursor()
314 nBlockStartYOrig - nCurY + nRowSpan - 1 : 0; in MarkCursor()
327 pDocument->GetAttr( nCurX, nCurY, nTab, ATTR_MERGE ) ); in MarkCursor()
333 … if ( !( nBlockStartX >= nCurX + nColSpan - 1 && nBlockStartY >= nCurY + nRowSpan - 1 ) ) in MarkCursor()
340 if ( nBlockStartY <= nCurY + nRowSpan - 1 ) in MarkCursor()
342 SCsROW nCurYOffsetTemp = nCurY < nCurY + nRowSpan - 1 ? nRowSpan - 1 : 0; in MarkCursor()
345 if ( !( nBlockStartX <= nCurX && nBlockStartY <= nCurY ) && in MarkCursor()
346 … !( nBlockStartX > nCurX + nColSpan - 1 && nBlockStartY > nCurY + nRowSpan - 1 ) ) in MarkCursor()
349 …nBlockStartYOffset = nBlockStartY > nCurY && nBlockStartY <= nCurY + nRowSpan - 1 ? nCurY - nBlock… in MarkCursor()
367 nBlockEndY = nCurY + nCurYOffset > MAXROW ? MAXROW : nCurY + nCurYOffset; in MarkCursor()
372 nBlockEndY = nCurY; in MarkCursor()
402 nOldCurY = nCurY; in MarkCursor()