Lines Matching refs:aVisArea
153 const long lSize = GetDocSz().Width() + lBorder - aVisArea.GetWidth(); in SetHScrollMax()
164 long lSize = GetDocSz().Height() + lBorder - aVisArea.GetHeight(); in SetVScrollMax()
186 if( !pWrtShell || aVisArea.IsEmpty() ) // keine Shell -> keine Aenderung in DocSzChgd()
194 Rectangle aNewVisArea( aVisArea ); in DocSzChgd()
231 const Size aOldSz( aVisArea.GetSize() ); in SetVisArea()
237 if( aLR == aVisArea ) in SetVisArea()
258 if( aLR == aVisArea ) in SetVisArea()
274 aVisArea = aLR; in SetVisArea()
280 pWrtShell->VisPortChgd( aVisArea ); in SetVisArea()
292 Rectangle aVis( aVisArea ); in SetVisArea()
308 SfxViewShell::VisAreaChanged( aVisArea ); in SetVisArea()
340 if ( aPt == aVisArea.TopLeft() ) in SetVisArea()
343 const long lXDiff = aVisArea.Left() - aPt.X(); in SetVisArea()
344 const long lYDiff = aVisArea.Top() - aPt.Y(); in SetVisArea()
346 Point( aVisArea.Right() - lXDiff, aVisArea.Bottom() - lYDiff ) ), in SetVisArea()
357 if ( aVisArea.Left() != DOCUMENTBORDER || in CheckVisArea()
358 aVisArea.Top() != DOCUMENTBORDER ) in CheckVisArea()
360 Rectangle aNewVisArea( aVisArea ); in CheckVisArea()
361 aNewVisArea.Move( DOCUMENTBORDER - aVisArea.Left(), in CheckVisArea()
362 DOCUMENTBORDER - aVisArea.Top() ); in CheckVisArea()
387 long nCurHeight = aVisArea.GetHeight(); in CalcPt()
394 else if ( rRect.Top() < aVisArea.Top() ) //Verschiebung nach oben in CalcPt()
399 else if( rRect.Bottom() > aVisArea.Bottom() ) //Verschiebung nach unten in CalcPt()
402 (aVisArea.GetHeight()) + ( nRangeY != USHRT_MAX ? in CalcPt()
407 if ( rRect.Right() > aVisArea.Right() ) //Verschiebung nach rechts in CalcPt()
410 (aVisArea.GetWidth()) + in CalcPt()
414 else if ( rRect.Left() < aVisArea.Left() ) //Verschiebung nach links in CalcPt()
429 return bCenterCrsr || bTopCrsr || !aVisArea.IsInside(rRect); in IsScroll()
435 if ( aVisArea.IsEmpty() ) in Scroll()
438 Rectangle aOldVisArea( aVisArea ); in Scroll()
447 if ( aDlgRect.Left() < aVisArea.Right() && in Scroll()
448 aDlgRect.Right() > aVisArea.Left() ) in Scroll()
460 long nTopDiff = aDlgRect.Top() - aVisArea.Top(); in Scroll()
461 long nBottomDiff = aVisArea.Bottom() - aDlgRect.Bottom(); in Scroll()
466 nDiffY = aDlgRect.Bottom() - aVisArea.Top(); in Scroll()
467 aVisArea.Top() += nDiffY; in Scroll()
473 aVisArea.Bottom() = aDlgRect.Top(); // Unterkante aendern in Scroll()
479 if( !(bCenterCrsr || bTopCrsr) && aVisArea.IsInside( rRect ) ) in Scroll()
481 aVisArea = aOldVisArea; in Scroll()
487 const Size aVisSize( aVisArea.GetSize() ); in Scroll()
488 if( !aVisArea.IsEmpty() && ( in Scroll()
492 Point aPt( aVisArea.TopLeft() ); in Scroll()
505 aVisArea.GetHeight() ); in Scroll()
508 aVisArea = aOldVisArea; in Scroll()
514 Point aPt( aVisArea.TopLeft() ); in Scroll()
522 aVisArea.GetHeight() ); in Scroll()
526 aVisArea = aOldVisArea; in Scroll()
532 Point aPnt( aVisArea.TopLeft() ); in Scroll()
535 - aVisArea.Top() - aVisArea.Bottom() ) / 2 - nDiffY; in Scroll()
538 if ( rRect.Right() > aVisArea.Right() || rRect.Left() < aVisArea.Left() ) in Scroll()
541 - aVisArea.Left() - aVisArea.Right() ) / 2; in Scroll()
546 aVisArea = aOldVisArea; in Scroll()
562 if ( !aVisArea.Top() || !aVisArea.GetHeight() ) in GetPageScrollUpOffset()
565 rOff = -(aVisArea.GetHeight() - nYScrl); in GetPageScrollUpOffset()
567 if( aVisArea.Top() - rOff < 0 ) in GetPageScrollUpOffset()
568 rOff = rOff - aVisArea.Top(); in GetPageScrollUpOffset()
569 else if( GetWrtShell().GetCharRect().Top() < (aVisArea.Top() + nYScrl)) in GetPageScrollUpOffset()
577 if ( !aVisArea.GetHeight() || in GetPageScrollDownOffset()
578 (aVisArea.GetHeight() > aDocSz.Height()) ) in GetPageScrollDownOffset()
581 rOff = aVisArea.GetHeight() - nYScrl; in GetPageScrollDownOffset()
583 if ( aVisArea.Top() + rOff > aDocSz.Height() ) in GetPageScrollDownOffset()
584 rOff = aDocSz.Height() - aVisArea.Bottom(); in GetPageScrollDownOffset()
586 ( aVisArea.Bottom() - nYScrl )) in GetPageScrollDownOffset()
595 if (!aVisArea.GetHeight()) in PageUp()
598 Point aPos(aVisArea.TopLeft()); in PageUp()
599 aPos.Y() -= aVisArea.GetHeight() - (GetYScroll() / 2); in PageUp()
608 if ( !aVisArea.GetHeight() ) in PageDown()
610 Point aPos( aVisArea.TopLeft() ); in PageDown()
611 aPos.Y() += aVisArea.GetHeight() - (GetYScroll() / 2); in PageDown()
625 const Point aPt( aVisArea.Left(), in PhyPageUp()
646 const Point aPt( aVisArea.Left(), in PhyPageDown()
723 Point aPos( aVisArea.TopLeft() ); in IMPL_LINK()
791 Point aPos( aVisArea.TopLeft() ); in IMPL_LINK()
794 if ( bBorder && aPos == aVisArea.TopLeft() ) in IMPL_LINK()
1199 || !aVisArea.IsEmpty()), "Small world, isn't it?" ); in OuterResizePixel()
1299 if ( !aVisArea.IsEmpty() ) in UpdateScrollbars()
1302 Rectangle aTmpRect( aVisArea ); in UpdateScrollbars()