Lines Matching refs:eWhich
941 Rectangle ScViewData::GetEditArea( ScSplitPos eWhich, SCCOL nPosX, SCROW nPosY, in GetEditArea() argument
945 return ScEditUtil( pDoc, nPosX, nPosY, nTabNo, GetScrPos(nPosX,nPosY,eWhich,sal_True), in GetEditArea()
950 void ScViewData::SetEditEngine( ScSplitPos eWhich, in SetEditEngine() argument
955 ScHSplitPos eHWhich = WhichH(eWhich); in SetEditEngine()
958 if (pEditView[eWhich]) in SetEditEngine()
962 if (bEditActive[eWhich]) in SetEditEngine()
965 pEditView[eWhich]->SetEditEngine(pNewEngine); in SetEditEngine()
967 if (pEditView[eWhich]->GetWindow() != pWin) in SetEditEngine()
969 pEditView[eWhich]->SetWindow(pWin); in SetEditEngine()
975 pEditView[eWhich] = new EditView( pNewEngine, pWin ); in SetEditEngine()
983 sal_uLong nVC = pEditView[eWhich]->GetControlWord(); in SetEditEngine()
984 pEditView[eWhich]->SetControlWord(nVC & ~EV_CNTRL_AUTOSCROLL); in SetEditEngine()
986 bEditActive[eWhich] = sal_True; in SetEditEngine()
997 Rectangle aPixRect = ScEditUtil( pDoc, nNewX,nNewY,nTabNo, GetScrPos(nNewX,nNewY,eWhich), in SetEditEngine()
1007 pEditView[eWhich]->SetOutputArea( aOutputArea ); in SetEditEngine()
1009 if ( bActive && eWhich == GetActivePart() ) in SetEditEngine()
1013 eEditActivePart = eWhich; in SetEditEngine()
1061 long nSizeYPix = pView->GetGridHeight(WhichV(eWhich)) - aPixRect.Top(); in SetEditEngine()
1080 Rectangle aVis = pEditView[eWhich]->GetVisArea(); in SetEditEngine()
1106 pEditView[eWhich]->SetVisArea(aVis); in SetEditEngine()
1118 Point aDocPos = pEditView[eWhich]->GetWindowPosTopLeft(0); in SetEditEngine()
1120 pEditView[eWhich]->Scroll( 0, aOutputArea.Top() - aDocPos.Y() ); in SetEditEngine()
1128 pNewEngine->InsertView(pEditView[eWhich]); in SetEditEngine()
1140 pEditView[eWhich]->SetBackgroundColor( aBackCol ); in SetEditEngine()
1142 pEditView[eWhich]->Invalidate(); // noetig ?? in SetEditEngine()
1162 ScSplitPos eWhich = GetActivePart(); in IMPL_LINK_INLINE_END() local
1163 if (pEditView[eWhich]) in IMPL_LINK_INLINE_END()
1164 pEditView[eWhich]->ShowCursor(sal_False); in IMPL_LINK_INLINE_END()
1174 ScSplitPos eWhich = GetActivePart(); in EditGrowX() local
1175 ScHSplitPos eHWhich = WhichH(eWhich); in EditGrowX()
1176 EditView* pCurView = pEditView[eWhich]; in EditGrowX()
1178 if ( !pCurView || !bEditActive[eWhich]) in EditGrowX()
1354 ScSplitPos eWhich = GetActivePart(); in EditGrowY() local
1355 ScVSplitPos eVWhich = WhichV(eWhich); in EditGrowY()
1356 EditView* pCurView = pEditView[eWhich]; in EditGrowY()
1358 if ( !pCurView || !bEditActive[eWhich]) in EditGrowY()
1361 sal_uLong nControl = pEditView[eWhich]->GetControlWord(); in EditGrowY()
1463 void ScViewData::GetEditView( ScSplitPos eWhich, EditView*& rViewPtr, SCCOL& rCol, SCROW& rRow ) in GetEditView() argument
1465 rViewPtr = pEditView[eWhich]; in GetEditView()
1513 Point ScViewData::GetScrPos( SCCOL nWhereX, SCROW nWhereY, ScHSplitPos eWhich ) const in GetScrPos()
1515 DBG_ASSERT( eWhich==SC_SPLIT_LEFT || eWhich==SC_SPLIT_RIGHT, "Falsche Position" ); in GetScrPos()
1516 ScSplitPos ePos = ( eWhich == SC_SPLIT_LEFT ) ? SC_SPLIT_BOTTOMLEFT : SC_SPLIT_BOTTOMRIGHT; in GetScrPos()
1520 Point ScViewData::GetScrPos( SCCOL nWhereX, SCROW nWhereY, ScVSplitPos eWhich ) const in GetScrPos()
1522 DBG_ASSERT( eWhich==SC_SPLIT_TOP || eWhich==SC_SPLIT_BOTTOM, "Falsche Position" ); in GetScrPos()
1523 ScSplitPos ePos = ( eWhich == SC_SPLIT_TOP ) ? SC_SPLIT_TOPLEFT : SC_SPLIT_BOTTOMLEFT; in GetScrPos()
1527 Point ScViewData::GetScrPos( SCCOL nWhereX, SCROW nWhereY, ScSplitPos eWhich, in GetScrPos() argument
1532 switch( eWhich ) in GetScrPos()
1793 sal_Bool ScViewData::GetPosFromPixel( long nClickX, long nClickY, ScSplitPos eWhich, in GetPosFromPixel() argument
1799 ScHSplitPos eHWhich = WhichH(eWhich); in GetPosFromPixel()
1800 ScVSplitPos eVWhich = WhichV(eWhich); in GetPosFromPixel()
1903 void ScViewData::GetMouseQuadrant( const Point& rClickPos, ScSplitPos eWhich, in GetMouseQuadrant() argument
1909 Point aCellStart = GetScrPos( nPosX, nPosY, eWhich, sal_True ); in GetMouseQuadrant()
1917 void ScViewData::SetPosX( ScHSplitPos eWhich, SCCOL nNewPosX ) in SetPosX() argument
1921 SCCOL nOldPosX = pThisTab->nPosX[eWhich]; in SetPosX()
1922 long nTPosX = pThisTab->nTPosX[eWhich]; in SetPosX()
1923 long nPixPosX = pThisTab->nPixPosX[eWhich]; in SetPosX()
1940 pThisTab->nPosX[eWhich] = nNewPosX; in SetPosX()
1941 pThisTab->nTPosX[eWhich] = nTPosX; in SetPosX()
1942 pThisTab->nMPosX[eWhich] = (long) (nTPosX * HMM_PER_TWIPS); in SetPosX()
1943 pThisTab->nPixPosX[eWhich] = nPixPosX; in SetPosX()
1946 pThisTab->nPixPosX[eWhich] = in SetPosX()
1947 pThisTab->nTPosX[eWhich] = in SetPosX()
1948 pThisTab->nMPosX[eWhich] = in SetPosX()
1949 pThisTab->nPosX[eWhich] = 0; in SetPosX()
1952 void ScViewData::SetPosY( ScVSplitPos eWhich, SCROW nNewPosY ) in SetPosY() argument
1956 SCROW nOldPosY = pThisTab->nPosY[eWhich]; in SetPosY()
1957 long nTPosY = pThisTab->nTPosY[eWhich]; in SetPosY()
1958 long nPixPosY = pThisTab->nPixPosY[eWhich]; in SetPosY()
1979 pThisTab->nPosY[eWhich] = nNewPosY; in SetPosY()
1980 pThisTab->nTPosY[eWhich] = nTPosY; in SetPosY()
1981 pThisTab->nMPosY[eWhich] = (long) (nTPosY * HMM_PER_TWIPS); in SetPosY()
1982 pThisTab->nPixPosY[eWhich] = nPixPosY; in SetPosY()
1985 pThisTab->nPixPosY[eWhich] = in SetPosY()
1986 pThisTab->nTPosY[eWhich] = in SetPosY()
1987 pThisTab->nMPosY[eWhich] = in SetPosY()
1988 pThisTab->nPosY[eWhich] = 0; in SetPosY()
1993 for (sal_uInt16 eWhich=0; eWhich<2; eWhich++) in RecalcPixPos() local
1996 SCCOL nPosX = pThisTab->nPosX[eWhich]; in RecalcPixPos()
1999 pThisTab->nPixPosX[eWhich] = nPixPosX; in RecalcPixPos()
2002 SCROW nPosY = pThisTab->nPosY[eWhich]; in RecalcPixPos()
2005 pThisTab->nPixPosY[eWhich] = nPixPosY; in RecalcPixPos()
2009 const MapMode& ScViewData::GetLogicMode( ScSplitPos eWhich ) in GetLogicMode() argument
2011 aLogicMode.SetOrigin( Point( pThisTab->nMPosX[WhichH(eWhich)], in GetLogicMode()
2012 pThisTab->nMPosY[WhichV(eWhich)] ) ); in GetLogicMode()