Lines Matching refs:nCurY
635 void ScTabView::AlignToCursor( SCsCOL nCurX, SCsROW nCurY, ScFollowMode eMode, in AlignToCursor() argument
654 if (eActiveY == SC_SPLIT_TOP && nCurY >= (SCsROW)aViewData.GetFixPosY()) in AlignToCursor()
681 if ( nCurX >= 0 && nCurY >= 0 ) in AlignToCursor()
682 aViewData.GetMergeSizePixel( (SCCOL)nCurX, (SCROW)nCurY, nCellSizeX, nCellSizeY ); in AlignToCursor()
717 nCurY < nDeltaY || nCurY >= nDeltaY+nSizeY ) in AlignToCursor()
722 Point aStart = aViewData.GetScrPos( nCurX, nCurY, eAlign ); in AlignToCursor()
724 aViewData.GetMergeSizePixel( nCurX, nCurY, nCSX, nCSY ); in AlignToCursor()
746 if ( nCurY >= nDiff ) // Pos. kann nicht negativ werden in AlignToCursor()
776 if ( nCurY < nDeltaY || nCurY >= nDeltaY+nSizeY || bForceNew ) in AlignToCursor()
778 …nNewDeltaY = nCurY - static_cast<SCsROW>(aViewData.CellsAtY( nCurY, -1, eAlignY, static_cast<sal_u… in AlignToCursor()
796 if ( nCurY < nDeltaY || nCurY >= nDeltaY+nSizeY ) in AlignToCursor()
798 nNewDeltaY = nDeltaY + nCurY - aViewData.GetCurY(); in AlignToCursor()
811 if ( nCurY < nNewDeltaY || nCurY >= nNewDeltaY+nSizeY ) in AlignToCursor()
813 nNewDeltaY = nCurY - (nSizeY / 2); in AlignToCursor()
839 while ( nCurY >= nNewDeltaY+nSizeY ) in AlignToCursor()
841 nNewDeltaY = nCurY-nSizeY+1; in AlignToCursor()
849 if ( nCurY < nNewDeltaY ) nNewDeltaY = nCurY; in AlignToCursor()
877 if (eActiveY == SC_SPLIT_BOTTOM && nCurY < (SCsROW)aViewData.GetFixPosY()) in AlignToCursor()
908 void ScTabView::MoveCursorAbs( SCsCOL nCurX, SCsROW nCurY, ScFollowMode eMode, in MoveCursorAbs() argument
916 aViewData.GetViewShell()->SetForceFocusOnCurCell( !ValidColRow(nCurX, nCurY) ); in MoveCursorAbs()
919 if (nCurY < 0) nCurY = 0; in MoveCursorAbs()
921 if (nCurY > MAXROW) nCurY = MAXROW; in MoveCursorAbs()
934 AlignToCursor( nCurX, nCurY, eMode ); in MoveCursorAbs()
938 SetCursor( nCurX, nCurY ); // Markierung stehenlassen in MoveCursorAbs()
941 sal_Bool bSame = ( nCurX == aViewData.GetCurX() && nCurY == aViewData.GetCurY() ); in MoveCursorAbs()
945 aFunctionSet.SetCursorAtCell( nCurX, nCurY, sal_False ); in MoveCursorAbs()
976 SCsROW nCurY; in MoveCursorRel() local
982 nCurY = nOldY + nMovY; in MoveCursorRel()
989 nCurY = (nMovY != 0) ? nOldY+nMovY : (SCsROW) aViewData.GetOldCurY(); in MoveCursorRel()
995 if (nMovX != 0 && VALIDCOLROW(nCurX,nCurY)) in MoveCursorRel()
1001 … bSkipCell = pDoc->ColHidden(nCurX, nTab, nLastCol) || pDoc->IsHorOverlapped( nCurX, nCurY, nTab ); in MoveCursorRel()
1003 … bSkipCell = pDoc->HasAttrib(nCurX, nCurY, nTab, nCurX, nCurY, nTab, HASATTR_PROTECTED); in MoveCursorRel()
1005 … bSkipCell = !pDoc->HasAttrib(nCurX, nCurY, nTab, nCurX, nCurY, nTab, HASATTR_PROTECTED); in MoveCursorRel()
1029 if (pDoc->IsVerOverlapped( nCurX, nCurY, nTab )) in MoveCursorRel()
1031 aViewData.SetOldCursor( nCurX,nCurY ); in MoveCursorRel()
1032 while (pDoc->IsVerOverlapped( nCurX, nCurY, nTab )) in MoveCursorRel()
1033 --nCurY; in MoveCursorRel()
1037 if (nMovY != 0 && VALIDCOLROW(nCurX,nCurY)) in MoveCursorRel()
1043 … bSkipCell = pDoc->RowHidden(nCurY, nTab, nLastRow) || pDoc->IsVerOverlapped( nCurX, nCurY, nTab ); in MoveCursorRel()
1045 … bSkipCell = pDoc->HasAttrib(nCurX, nCurY, nTab, nCurX, nCurY, nTab, HASATTR_PROTECTED); in MoveCursorRel()
1047 … bSkipCell = !pDoc->HasAttrib(nCurX, nCurY, nTab, nCurX, nCurY, nTab, HASATTR_PROTECTED); in MoveCursorRel()
1051 if ( nCurY<=0 || nCurY>=MAXROW ) in MoveCursorRel()
1055 nCurY = nOldY; in MoveCursorRel()
1061 if (nMovY > 0) ++nCurY; else --nCurY; // zuruecknehmen in MoveCursorRel()
1066 if (nMovY > 0) ++nCurY; else --nCurY; in MoveCursorRel()
1071 if (pDoc->IsHorOverlapped( nCurX, nCurY, nTab )) in MoveCursorRel()
1073 aViewData.SetOldCursor( nCurX,nCurY ); in MoveCursorRel()
1074 while (pDoc->IsHorOverlapped( nCurX, nCurY, nTab )) in MoveCursorRel()
1079 MoveCursorAbs( nCurX, nCurY, eMode, bShift, sal_False, sal_True, bKeepSel ); in MoveCursorRel()
1085 SCROW nCurY; in MoveCursorPage() local
1086 aViewData.GetMoveCursor( nCurX,nCurY ); in MoveCursorPage()
1100 nPageY = ((SCsROW) aViewData.CellsAtY( nCurY, 1, eWhichY )) * nMovY; in MoveCursorPage()
1102 nPageY = ((SCsROW) aViewData.CellsAtY( nCurY, -1, eWhichY )) * nMovY; in MoveCursorPage()
1113 SCROW nCurY; in MoveCursorArea() local
1114 aViewData.GetMoveCursor( nCurX,nCurY ); in MoveCursorArea()
1116 SCROW nNewY = nCurY; in MoveCursorArea()
1145 …MoveCursorRel( ((SCsCOL)nNewX)-(SCsCOL)nCurX, ((SCsROW)nNewY)-(SCsROW)nCurY, eMode, bShift, bKeepS… in MoveCursorArea()
1154 SCROW nCurY; in MoveCursorEnd() local
1155 aViewData.GetMoveCursor( nCurX,nCurY ); in MoveCursorEnd()
1157 SCROW nNewY = nCurY; in MoveCursorEnd()
1175 …MoveCursorRel( ((SCsCOL)nNewX)-(SCsCOL)nCurX, ((SCsROW)nNewY)-(SCsROW)nCurY, eMode, bShift, bKeepS… in MoveCursorEnd()
1184 SCROW nCurY; in MoveCursorScreen() local
1185 aViewData.GetMoveCursor( nCurX,nCurY ); in MoveCursorScreen()
1187 SCROW nNewY = nCurY; in MoveCursorScreen()
1252 SCROW nCurY; in MoveCursorEnter() local
1253 aViewData.GetMoveCursor( nCurX,nCurY ); in MoveCursorEnter()
1255 SCROW nNewY = nCurY; in MoveCursorEnter()
1261 MoveCursorRel( ((SCsCOL)nNewX)-(SCsCOL)nCurX, ((SCsROW)nNewY)-(SCsROW)nCurY, in MoveCursorEnter()
1265 if ( nNewX == nCurX && nNewY == nCurY ) in MoveCursorEnter()
1277 SCROW nCurY; in MoveCursorEnter() local
1278 aViewData.GetMoveCursor( nCurX,nCurY ); in MoveCursorEnter()
1372 SCROW nCurY; in FindNextUnprot() local
1373 aViewData.GetMoveCursor( nCurX,nCurY ); in FindNextUnprot()
1375 SCROW nNewY = nCurY; in FindNextUnprot()
1385 MoveCursorRel( ((SCsCOL)nNewX)-(SCsCOL)nCurX, ((SCsROW)nNewY)-(SCsROW)nCurY, in FindNextUnprot()
1521 SCROW nCurY; in Unmark() local
1522 aViewData.GetMoveCursor( nCurX,nCurY ); in Unmark()
1523 MoveCursorAbs( nCurX, nCurY, SC_FOLLOW_NONE, sal_False, sal_False ); in Unmark()