Lines Matching refs:aRect
396 Rectangle aRect = rRect; in GetTextRect() local
412 nLines = (sal_uInt16)(aRect.GetHeight()/nTextHeight); in GetTextRect()
439 aRect.Left() = aRect.Right()-nMaxWidth+1; in GetTextRect()
442 aRect.Left() += (nWidth-nMaxWidth)/2; in GetTextRect()
443 aRect.Right() = aRect.Left()+nMaxWidth-1; in GetTextRect()
446 aRect.Right() = aRect.Left()+nMaxWidth-1; in GetTextRect()
449 aRect.Top() = aRect.Bottom()-(nTextHeight*nLines)+1; in GetTextRect()
452 aRect.Top() += (aRect.GetHeight()-(nTextHeight*nLines))/2; in GetTextRect()
453 aRect.Bottom() = aRect.Top()+(nTextHeight*nLines)-1; in GetTextRect()
456 aRect.Bottom() = aRect.Top()+(nTextHeight*nLines)-1; in GetTextRect()
458 return aRect; in GetTextRect()
889 InvalidateBoundingRect( pViewData->aRect ); in EntryInserted()
900 if( IsBoundingRectValid( pViewData->aRect ) ) in RemovingEntry()
905 pView->Invalidate( pViewData->aRect ); in RemovingEntry()
944 if( IsBoundingRectValid( pViewData->aRect ) ) in MovingEntry()
945 pView->Invalidate( pViewData->aRect ); in MovingEntry()
990 InvalidateBoundingRect( pViewData->aRect ); in EntryMoved()
1139 if( !IsBoundingRectValid( pViewData->aRect ) ) in ResetVirtSize()
1142 AdjustVirtSize( pViewData->aRect ); in ResetVirtSize()
1146 InvalidateBoundingRect( pViewData->aRect ); in ResetVirtSize()
1283 Rectangle aRect; in Paint() local
1284 if( GetResizeRect( aRect )) in Paint()
1285 PaintResizeRect( aRect ); in Paint()
1323 Rectangle aRect; in GetItem() local
1327 aRect = CalcTextRect( pEntry, pStringItem ); in GetItem()
1328 if( aRect.IsInside( rAbsPos ) ) in GetItem()
1334 aRect = CalcBmpRect( pEntry ); in GetItem()
1335 if( aRect.IsInside( rAbsPos ) ) in GetItem()
1507 Rectangle aRect( aCurSelectionRect.TopLeft(), aDocPos ); in MouseMove() local
1508 if( aRect != aCurSelectionRect ) in MouseMove()
1513 SelectRect( aRect, bAdd, &aSelectedRectList ); in MouseMove()
1516 DrawSelectionRect( aRect ); in MouseMove()
1549 Rectangle aRect( GetBoundingRect( pCursor ) ); in KeyInput() local
1550 if( aRect.Top()) in KeyInput()
1552 aRect.Bottom() -= aRect.Top(); in KeyInput()
1553 aRect.Top() = 0; in KeyInput()
1554 MakeVisible( aRect ); in KeyInput()
1613 Rectangle aRect( GetBoundingRect(pCursor)); in KeyInput() local
1614 if( aRect.Left() ) in KeyInput()
1616 aRect.Right() -= aRect.Left(); in KeyInput()
1617 aRect.Left() = 0; in KeyInput()
1618 MakeVisible( aRect ); in KeyInput()
1875 Rectangle aRect; in Resize() local
1876 if( GetResizeRect(aRect) ) in Resize()
1877 pView->Invalidate( aRect ); in Resize()
1890 if( GetResizeRect(aRect) ) in Resize()
1891 PaintResizeRect( aRect ); in Resize()
2144 pViewData->aRect.TopLeft(); in SetEntryPosition()
2148 pViewData->aRect = aBoundRect; in SetEntryPosition()
2175 pView->Invalidate( pViewData->aRect ); in ModelHasEntryInvalidated()
2180 pViewData->aRect.SetSize( CalcBoundingSize( in ModelHasEntryInvalidated()
2184 pView->Invalidate( pViewData->aRect ); in ModelHasEntryInvalidated()
2234 if( pViewData->aRect.IsInside( rDocPos ) ) in GetEntry()
2255 if( pViewData->aRect.IsInside( rDocPos ) ) in GetNextEntry()
2277 if( pViewData->aRect.IsInside( rDocPos ) ) in GetPrevEntry()
2292 return pViewData->aRect.TopLeft(); in GetEntryPosition()
2300 if( !IsBoundingRectValid( pViewData->aRect )) in GetBoundingRect()
2302 return pViewData->aRect; in GetBoundingRect()
2342 Rectangle aRect; in CalcBmpRect() local
2343 return aRect; in CalcBmpRect()
2410 Rectangle aRect( aPos, aTextSize ); in CalcTextRect() local
2413 return aRect; in CalcTextRect()
2514 if( IsBoundingRectValid( pViewData->aRect )) in RecalcAllBoundingRectsSmart()
2516 Size aBoundSize( pViewData->aRect.GetSize() ); in RecalcAllBoundingRectsSmart()
2552 if( pViewData->IsEntryPosLocked() && IsBoundingRectValid(pViewData->aRect) ) in FindBoundingRect()
2554 AdjustVirtSize( pViewData->aRect ); in FindBoundingRect()
2565 AdjustVirtSize( pViewData->aRect ); in FindBoundingRect()
2566 pImpCursor->SetGridUsed( pViewData->aRect ); in FindBoundingRect()
2570 pViewData->aRect = Rectangle( aPos, aSize ); in FindBoundingRect()
2571 AdjustVirtSize( pViewData->aRect ); in FindBoundingRect()
2607 Rectangle aRect ( CalcFocusRect( pCursor ) ); in ShowCursor() local
2608 pView->ShowFocus( aRect ); in ShowCursor()
2776 Rectangle aRect; in ShowTargetEmphasis() local
2779 aRect = CalcBmpRect( pEntry ); in ShowTargetEmphasis()
2782 aRect.SetSize( aOutputSize ); in ShowTargetEmphasis()
2786 aRect.SetPos( aOrigin ); in ShowTargetEmphasis()
2787 aRect.Left()++; aRect.Top()++; in ShowTargetEmphasis()
2788 aRect.Right()--; aRect.Bottom()--; in ShowTargetEmphasis()
2790 ImpDrawXORRect( aRect ); in ShowTargetEmphasis()
2801 Size aSize( pViewData->aRect.GetSize() ); in NotifyMoving()
2840 InvalidateBoundingRect( pViewData->aRect ); in InvalidateBoundingRect()
2904 Rectangle aRect( rRect ); in MakeVisible() local
2905 ClipAtVirtOutRect( aRect ); in MakeVisible()
2912 if( aOutputArea.IsInside( aRect ) ) in MakeVisible()
2916 if( aRect.Top() < aOutputArea.Top() ) in MakeVisible()
2919 nDy = aRect.Top() - aOutputArea.Top(); in MakeVisible()
2921 else if( aRect.Bottom() > aOutputArea.Bottom() ) in MakeVisible()
2924 nDy = aRect.Bottom() - aOutputArea.Bottom(); in MakeVisible()
2930 if( aRect.Left() < aOutputArea.Left() ) in MakeVisible()
2933 nDx = aRect.Left() - aOutputArea.Left(); in MakeVisible()
2935 else if( aRect.Right() > aOutputArea.Right() ) in MakeVisible()
2938 nDx = aRect.Right() - aOutputArea.Right(); in MakeVisible()
3170 const Rectangle& rRect = pViewData->aRect; in CreateGridMap()
3672 Rectangle aRect = pViewData->aGridRect; in CalcMaxTextRect() local
3674 aRect.Top() += nBmpHeight; in CalcMaxTextRect()
3675 aRect.Top() += ICONVIEW_OFFS_BMP_STRING; in CalcMaxTextRect()
3676 if( aRect.Top() > aRect.Bottom()) in CalcMaxTextRect()
3677 aRect.Top() = aRect.Bottom(); in CalcMaxTextRect()
3678 aRect.Left() += LROFFS_BOUND; in CalcMaxTextRect()
3679 aRect.Left()++; in CalcMaxTextRect()
3680 aRect.Right() -= LROFFS_BOUND; in CalcMaxTextRect()
3681 aRect.Right()--; in CalcMaxTextRect()
3682 if( aRect.Left() > aRect.Right()) in CalcMaxTextRect()
3683 aRect.Left() = aRect.Right(); in CalcMaxTextRect()
3685 aRect.Bottom() = LONG_MAX; in CalcMaxTextRect()
3686 return aRect; in CalcMaxTextRect()
3699 pViewData->aRect = pViewData->aGridRect; in Center()
3702 pViewData->aRect.Left() += nBorder / 2; in Center()
3703 pViewData->aRect.Right() -= nBorder / 2; in Center()
3704 pViewData->aRect.Bottom() = pViewData->aRect.Top() + aSize.Height(); in Center()
3719 Rectangle aRect( aOrigin, aOutputSize ); in Scroll() local
3720 MakeVisible( aRect, bScrollBar ); in Scroll()
3759 Rectangle aRect( rRect ); in SelectRect() local
3760 aRect.Justify(); in SelectRect()
3763 aRect.Left() -= nBorderOffs; in SelectRect()
3764 aRect.Right() += nBorderOffs; in SelectRect()
3765 aRect.Top() -= nBorderOffs; in SelectRect()
3766 aRect.Bottom() += nBorderOffs; in SelectRect()
3776 if( !IsBoundingRectValid( pViewData->aRect )) in SelectRect()
3778 const Rectangle& rBoundRect = pViewData->aRect; in SelectRect()
3786 sal_Bool bOver = aRect.IsOver( rBoundRect ); in SelectRect()
3971 Rectangle aRect( CalcTextRect( pEntry, pItem )); in IsTextHit() local
3972 if( aRect.IsInside( rDocPos ) ) in IsTextHit()
4097 AdjustVirtSize( pViewData->aRect ); in SetTextMode()
4133 Rectangle aRect ( CalcFocusRect( (SvLBoxEntry*)pEntry ) ); in ShowFocusRect() local
4134 pView->ShowFocus( aRect ); in ShowFocusRect()
4142 Rectangle aRect; in IMPL_LINK() local
4143 if( GetResizeRect(aRect) ) in IMPL_LINK()
4144 PaintResizeRect( aRect ); in IMPL_LINK()