Lines Matching refs:i
147 sal_uInt16 i; in UpdateAutoFillMark() local
148 for (i=0; i<4; i++) in UpdateAutoFillMark()
149 if (pGridWin[i] && pGridWin[i]->IsVisible()) in UpdateAutoFillMark()
150 pGridWin[i]->UpdateAutoFillMark( bMarked, aMarkRange ); in UpdateAutoFillMark()
152 for (i=0; i<2; i++) in UpdateAutoFillMark()
154 if (pColBar[i] && pColBar[i]->IsVisible()) in UpdateAutoFillMark()
155 pColBar[i]->SetMark( bMarked, aMarkRange.aStart.Col(), aMarkRange.aEnd.Col() ); in UpdateAutoFillMark()
156 if (pRowBar[i] && pRowBar[i]->IsVisible()) in UpdateAutoFillMark()
157 pRowBar[i]->SetMark( bMarked, aMarkRange.aStart.Row(), aMarkRange.aEnd.Row() ); in UpdateAutoFillMark()
173 for (sal_uInt16 i=0; i<4; i++) in HideAllCursors() local
174 if (pGridWin[i]) in HideAllCursors()
175 if (pGridWin[i]->IsVisible()) in HideAllCursors()
177 Cursor* pCur = pGridWin[i]->GetCursor(); in HideAllCursors()
181 pGridWin[i]->HideCursor(); in HideAllCursors()
187 for (sal_uInt16 i=0; i<4; i++) in ShowAllCursors() local
188 if (pGridWin[i]) in ShowAllCursors()
189 if (pGridWin[i]->IsVisible()) in ShowAllCursors()
191 pGridWin[i]->ShowCursor(); in ShowAllCursors()
194 pGridWin[i]->CursorChanged(); in ShowAllCursors()
588 for ( sal_uInt16 i=0; i<4; i++ ) in TestHintWindow() local
589 if ( pGridWin[i] && pGridWin[i]->IsVisible() ) in TestHintWindow()
590 pGridWin[i]->UpdateListValPos( bListValButton, aListValPos ); in TestHintWindow()
1123 SCsCOLROW i; in MoveCursorArea() local
1125 for ( i=0; i<nMovX; i++ ) in MoveCursorArea()
1128 for ( i=0; i<-nMovX; i++ ) in MoveCursorArea()
1131 for ( i=0; i<nMovY; i++ ) in MoveCursorArea()
1134 for ( i=0; i<-nMovY; i++ ) in MoveCursorArea()
1580 for (sal_uInt16 i=0; i<4; i++) in UpdateVisibleRange() local
1581 if (pGridWin[i] && pGridWin[i]->IsVisible()) in UpdateVisibleRange()
1582 pGridWin[i]->UpdateVisibleRange(); in UpdateVisibleRange()
1713 for ( sal_uInt16 i=0; i<4; i++ ) in SetTabNo() local
1714 if ( pGridWin[i] ) in SetTabNo()
1715 if ( pGridWin[i]->IsVisible() ) in SetTabNo()
1716 pGridWin[i]->UpdateEditViewPos(); in SetTabNo()
1780 for (sal_uInt16 i=0; i<4; i++) in SetTabNo() local
1781 if (pGridWin[i]) in SetTabNo()
1782 pGridWin[i]->SetMapMode( pGridWin[i]->GetDrawMapMode() ); in SetTabNo()
1828 for (sal_uInt16 i=0; i<4; i++) in MakeEditView() local
1829 if (pGridWin[i]) in MakeEditView()
1830 if ( pGridWin[i]->IsVisible() && !aViewData.HasEditView((ScSplitPos)i) ) in MakeEditView()
1832 ScHSplitPos eHWhich = WhichH( (ScSplitPos) i ); in MakeEditView()
1833 ScVSplitPos eVWhich = WhichV( (ScSplitPos) i ); in MakeEditView()
1845 if ( bPosVisible || aViewData.GetActivePart() == (ScSplitPos) i || in MakeEditView()
1846 ( pSpellingView && aViewData.GetEditView((ScSplitPos) i) == pSpellingView ) ) in MakeEditView()
1848 pGridWin[i]->HideCursor(); in MakeEditView()
1850 pGridWin[i]->DeleteCursorOverlay(); in MakeEditView()
1851 pGridWin[i]->DeleteAutoFillOverlay(); in MakeEditView()
1854 pGridWin[i]->flushOverlayManager(); in MakeEditView()
1857 pGridWin[i]->SetMapMode(aViewData.GetLogicMode()); in MakeEditView()
1859 aViewData.SetEditEngine( (ScSplitPos) i, pEngine, pGridWin[i], nCol, nRow ); in MakeEditView()
1865 pGridWin[i]->UpdateEditViewPos(); in MakeEditView()
1877 for (sal_uInt16 i=0; i<4; i++) in UpdateEditView() local
1878 if (aViewData.HasEditView( (ScSplitPos) i )) in UpdateEditView()
1880 EditView* pEditView = aViewData.GetEditView( (ScSplitPos) i ); in UpdateEditView()
1881 aViewData.SetEditEngine( (ScSplitPos) i, in UpdateEditView()
1883 pGridWin[i], GetViewData()->GetCurX(), GetViewData()->GetCurY() ); in UpdateEditView()
1884 if ( (ScSplitPos)i == eActive ) in UpdateEditView()
1891 sal_uInt16 i; in KillEditView() local
1903 for (i=0; i<4; i++) in KillEditView()
1905 bPaint[i] = aViewData.HasEditView( (ScSplitPos) i ); in KillEditView()
1906 if (bPaint[i]) in KillEditView()
1915 for (i=0; i<4; i++) in KillEditView()
1916 if (pGridWin[i] && bPaint[i]) in KillEditView()
1917 if (pGridWin[i]->IsVisible()) in KillEditView()
1919 pGridWin[i]->ShowCursor(); in KillEditView()
1921 pGridWin[i]->SetMapMode(pGridWin[i]->GetDrawMapMode()); in KillEditView()
1926 pGridWin[i]->Draw( nCol1, nRow1, nCol2, nRow2 ); in KillEditView()
1927 pGridWin[i]->UpdateSelectionOverlay(); in KillEditView()
1959 for (i=0; i<4; i++) in KillEditView()
1960 if (pGridWin[i] && pGridWin[i]->IsVisible()) in KillEditView()
1962 Cursor* pCur = pGridWin[i]->GetCursor(); in KillEditView()
1966 if(bPaint[i]) in KillEditView()
1968 pGridWin[i]->UpdateCursorOverlay(); in KillEditView()
1969 pGridWin[i]->UpdateAutoFillOverlay(); in KillEditView()
1980 sal_uInt16 i; in UpdateFormulas() local
1981 for (i=0; i<4; i++) in UpdateFormulas()
1982 if (pGridWin[i]) in UpdateFormulas()
1983 if (pGridWin[i]->IsVisible()) in UpdateFormulas()
1984 pGridWin[i]->UpdateFormulas(); in UpdateFormulas()
2001 sal_uInt16 i; in PaintArea() local
2010 for (i=0; i<4; i++) in PaintArea()
2011 if (pGridWin[i]) in PaintArea()
2012 if (pGridWin[i]->IsVisible()) in PaintArea()
2014 ScHSplitPos eHWhich = WhichH( (ScSplitPos) i ); in PaintArea()
2015 ScVSplitPos eVWhich = WhichV( (ScSplitPos) i ); in PaintArea()
2046 pGridWin[i]->Draw( nCol1, nRow1, nCol2, nRow2, eMode ); in PaintArea()
2052 Point aStart = aViewData.GetScrPos( nCol1, nRow1, (ScSplitPos) i ); in PaintArea()
2053 Point aEnd = aViewData.GetScrPos( nCol2+1, nRow2+1, (ScSplitPos) i ); in PaintArea()
2055 aEnd.X() = bLayoutRTL ? 0 : (pGridWin[i]->GetOutputSizePixel().Width()); in PaintArea()
2061 aEnd.Y() = pGridWin[i]->GetOutputSizePixel().Height(); in PaintArea()
2086 pGridWin[i]->Invalidate( pGridWin[i]->PixelToLogic( Rectangle( aStart,aEnd ) ) ); in PaintArea()
2110 for (sal_uInt16 i=0; i<nCount; i++) in PaintRangeFinder() local
2111 if ( nNumber < 0 || nNumber == i ) in PaintRangeFinder()
2113 ScRangeFindData* pData = pRangeFinder->GetObject(i); in PaintRangeFinder()
2203 for (sal_uLong i=0; i<nCount; i++) in ClearHighlightRanges() local
2205 ScHighlightEntry* pEntry = pTemp->GetObject( i ); in ClearHighlightRanges()
2223 for( sal_Int32 i=0; i<rHilightRanges.getLength(); ++i ) in DoChartSelection() local
2225 Color aSelColor( rHilightRanges[i].PreferredColor ); in DoChartSelection()
2229 … aRangeList, rHilightRanges[i].RangeRepresentation, pDoc, pDoc->GetAddressConvention(), ';' )) in DoChartSelection()
2233 if( rHilightRanges[i].Index == - 1 ) in DoChartSelection()
2236 … AddHighlightRange( lcl_getSubRangeByIndex( *p, rHilightRanges[i].Index ), aSelColor ); in DoChartSelection()
2286 sal_uInt16 i; in PaintGrid() local
2287 for (i=0; i<4; i++) in PaintGrid()
2288 if (pGridWin[i]) in PaintGrid()
2289 if (pGridWin[i]->IsVisible()) in PaintGrid()
2290 pGridWin[i]->Invalidate(); in PaintGrid()
2297 sal_uInt16 i; in PaintTop() local
2298 for (i=0; i<2; i++) in PaintTop()
2300 if (pColBar[i]) in PaintTop()
2301 pColBar[i]->Invalidate(); in PaintTop()
2302 if (pColOutline[i]) in PaintTop()
2303 pColOutline[i]->Invalidate(); in PaintTop()
2309 sal_uInt16 i; in CreateAnchorHandles() local
2311 for(i=0; i<4; i++) in CreateAnchorHandles()
2313 if(pGridWin[i]) in CreateAnchorHandles()
2315 if(pGridWin[i]->IsVisible()) in CreateAnchorHandles()
2317 pGridWin[i]->CreateAnchorHandle(rHdl, rAddress); in CreateAnchorHandles()
2345 for (sal_uInt16 i=0; i<2; i++) in PaintTopArea() local
2347 ScHSplitPos eWhich = (ScHSplitPos) i; in PaintTopArea()
2370 sal_uInt16 i; in PaintLeft() local
2371 for (i=0; i<2; i++) in PaintLeft()
2373 if (pRowBar[i]) in PaintLeft()
2374 pRowBar[i]->Invalidate(); in PaintLeft()
2375 if (pRowOutline[i]) in PaintLeft()
2376 pRowOutline[i]->Invalidate(); in PaintLeft()
2399 for (sal_uInt16 i=0; i<2; i++) in PaintLeftArea() local
2401 ScVSplitPos eWhich = (ScVSplitPos) i; in PaintLeftArea()
2447 sal_uInt16 i; in InvertBlockMark() local
2450 for (i=0; i<4; i++) in InvertBlockMark()
2451 if (pGridWin[i]) in InvertBlockMark()
2452 if (pGridWin[i]->IsVisible()) in InvertBlockMark()
2453 pGridWin[i]->InvertSimple( nStartX, nStartY, nEndX, nEndY, in InvertBlockMark()
2458 for (i=0; i<4; i++) in InvertBlockMark()
2459 if (pGridWin[i]) in InvertBlockMark()
2460 if (pGridWin[i]->IsVisible()) in InvertBlockMark()
2462 ScSplitPos ePos = (ScSplitPos) i; in InvertBlockMark()
2604 short i; in ActivateView() local
2605 for ( i=0; i<4; i++ ) in ActivateView()
2607 if ( pGridWin[i] ) in ActivateView()
2609 eWin = (ScSplitPos) i; in ActivateView()
2613 DBG_ASSERT( i<4, "und BUMM" ); in ActivateView()
2720 for (sal_uInt16 i=0; i<4; i++) in HideListBox() local
2721 if (pGridWin[i]) in HideListBox()
2722 pGridWin[i]->ClickExtern(); in HideListBox()
2819 sal_uInt16 i; in CheckNeedsRepaint() local
2820 for (i=0; i<4; i++) in CheckNeedsRepaint()
2821 if ( pGridWin[i] && pGridWin[i]->IsVisible() ) in CheckNeedsRepaint()
2822 pGridWin[i]->CheckNeedsRepaint(); in CheckNeedsRepaint()