Lines Matching refs:eWhich
165 void ScTabView::FakeButtonUp( ScSplitPos eWhich ) in FakeButtonUp() argument
167 if (pGridWin[eWhich]) in FakeButtonUp()
168 pGridWin[eWhich]->FakeButtonUp(); in FakeButtonUp()
520 ScSplitPos eWhich = aViewData.GetActivePart(); in TestHintWindow() local
521 Window* pWin = pGridWin[eWhich]; in TestHintWindow()
524 Point aPos = aViewData.GetScrPos( nCol, nRow, eWhich ); in TestHintWindow()
527 if ( nCol >= aViewData.GetPosX(WhichH(eWhich)) && in TestHintWindow()
528 nRow >= aViewData.GetPosY(WhichV(eWhich)) && in TestHintWindow()
1088 ScSplitPos eWhich = aViewData.GetActivePart(); in MoveCursorPage() local
1089 ScHSplitPos eWhichX = WhichH( eWhich ); in MoveCursorPage()
1090 ScVSplitPos eWhichY = WhichV( eWhich ); in MoveCursorPage()
1189 ScSplitPos eWhich = aViewData.GetActivePart(); in MoveCursorScreen() local
1190 SCCOL nPosX = aViewData.GetPosX( WhichH(eWhich) ); in MoveCursorScreen()
1191 SCROW nPosY = aViewData.GetPosY( WhichV(eWhich) ); in MoveCursorScreen()
1193 SCCOL nAddX = aViewData.VisibleCellsX( WhichH(eWhich) ); in MoveCursorScreen()
1196 SCROW nAddY = aViewData.VisibleCellsY( WhichV(eWhich) ); in MoveCursorScreen()
2347 ScHSplitPos eWhich = (ScHSplitPos) i; in PaintTopArea() local
2348 if (pColBar[eWhich]) in PaintTopArea()
2350 Size aWinSize = pColBar[eWhich]->GetSizePixel(); in PaintTopArea()
2351 long nStartX = aViewData.GetScrPos( nStartCol, 0, eWhich ).X(); in PaintTopArea()
2356 nEndX = aViewData.GetScrPos( nEndCol+1, 0, eWhich ).X() - nLayoutSign; in PaintTopArea()
2357 pColBar[eWhich]->Invalidate( in PaintTopArea()
2360 if (pColOutline[eWhich]) in PaintTopArea()
2361 pColOutline[eWhich]->Invalidate(); in PaintTopArea()
2401 ScVSplitPos eWhich = (ScVSplitPos) i; in PaintLeftArea() local
2402 if (pRowBar[eWhich]) in PaintLeftArea()
2404 Size aWinSize = pRowBar[eWhich]->GetSizePixel(); in PaintLeftArea()
2405 long nStartY = aViewData.GetScrPos( 0, nStartRow, eWhich ).Y(); in PaintLeftArea()
2410 nEndY = aViewData.GetScrPos( 0, nEndRow+1, eWhich ).Y() - 1; in PaintLeftArea()
2411 pRowBar[eWhich]->Invalidate( in PaintLeftArea()
2414 if (pRowOutline[eWhich]) in PaintLeftArea()
2415 pRowOutline[eWhich]->Invalidate(); in PaintLeftArea()
2628 void ScTabView::ActivatePart( ScSplitPos eWhich ) in ActivatePart() argument
2631 if ( eOld != eWhich ) in ActivatePart()
2643 ScHSplitPos eNewH = WhichH(eWhich); in ActivatePart()
2644 ScVSplitPos eNewV = WhichV(eWhich); in ActivatePart()
2654 pGridWin[eWhich]->HideCursor(); in ActivatePart()
2655 aViewData.SetActivePart( eWhich ); in ActivatePart()
2660 pSelEngine->SetWindow(pGridWin[eWhich]); in ActivatePart()
2661 pSelEngine->SetWhich(eWhich); in ActivatePart()
2662 pSelEngine->SetVisibleArea( Rectangle(Point(), pGridWin[eWhich]->GetOutputSizePixel()) ); in ActivatePart()
2664 pGridWin[eOld]->MoveMouseStatus(*pGridWin[eWhich]); in ActivatePart()
2666 if ( bCapture || pGridWin[eWhich]->IsMouseCaptured() ) in ActivatePart()
2671 pGridWin[eWhich]->ReleaseMouse(); in ActivatePart()
2672 pGridWin[eWhich]->StartTracking(); in ActivatePart()
2693 aHdrFunc.SetWhich(eWhich); in ActivatePart()
2696 pGridWin[eWhich]->ShowCursor(); in ActivatePart()
2704 aViewData.GetViewShell()->SetWindow( pGridWin[eWhich] ); in ActivatePart()
2711 pGridWin[eWhich]->GrabFocus(); in ActivatePart()
2734 long ScTabView::GetGridWidth( ScHSplitPos eWhich ) in GetGridWidth() argument
2736 ScSplitPos eGridWhich = ( eWhich == SC_SPLIT_LEFT ) ? SC_SPLIT_BOTTOMLEFT : SC_SPLIT_BOTTOMRIGHT; in GetGridWidth()
2745 long ScTabView::GetGridHeight( ScVSplitPos eWhich ) in GetGridHeight() argument
2747 ScSplitPos eGridWhich = ( eWhich == SC_SPLIT_TOP ) ? SC_SPLIT_TOPLEFT : SC_SPLIT_BOTTOMLEFT; in GetGridHeight()