Lines Matching refs:Top
212 aNewVisArea.Top() -= lTmp; in DocSzChgd()
243 if( aLR.Top() < lMin ) in SetVisArea()
245 aLR.Bottom() += lMin - aLR.Top(); in SetVisArea()
246 aLR.Top() = lMin; in SetVisArea()
344 const long lYDiff = aVisArea.Top() - aPt.Y(); in SetVisArea()
358 aVisArea.Top() != DOCUMENTBORDER ) in CheckVisArea()
362 DOCUMENTBORDER - aVisArea.Top() ); in CheckVisArea()
391 pPt->Y() = rRect.Top(); in CalcPt()
394 else if ( rRect.Top() < aVisArea.Top() ) //Verschiebung nach oben in CalcPt()
396 pPt->Y() = rRect.Top() - (nRangeY != USHRT_MAX ? nRangeY : nYScroll); in CalcPt()
455 || rRect.Top() > aDlgRect.Bottom() in Scroll()
456 || rRect.Bottom() < aDlgRect.Top() ) ) in Scroll()
460 long nTopDiff = aDlgRect.Top() - aVisArea.Top(); 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()
503 aPt.Y() = Min( Max( nBorder, rRect.Top() ), in Scroll()
520 aPt.Y() = Min( Max( nBorder, rRect.Top() ), in Scroll()
534 aPnt.Y() += ( rRect.Top() + rRect.Bottom() in Scroll()
535 - aVisArea.Top() - aVisArea.Bottom() ) / 2 - nDiffY; in Scroll()
562 if ( !aVisArea.Top() || !aVisArea.GetHeight() ) 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()
583 if ( aVisArea.Top() + rOff > aDocSz.Height() ) in GetPageScrollDownOffset()
745 aRect.Top() = pScrollbar->OutputToScreenPixel( in IMPL_LINK()
748 aRect.Bottom() = aRect.Top(); in IMPL_LINK()
820 aRect.Top() = aTopLeft.Y(); in CalcVisArea()
837 if ( aRect.Top() ) in CalcVisArea()
843 aRect.Top() -= lDelta; in CalcVisArea()
871 rToFill.Top() = pHRuler->GetSizePixel().Height(); in CalcAndSetBorderPixel()
1041 aSize.Height() -= (aBorder.Top() + aBorder.Bottom()); in InnerResizePixel()
1060 aViewSize.Height() -= (aBorder.Top() + aBorder.Bottom()); in InnerResizePixel()
1063 aViewPos.Y() += aBorder.Top(); in InnerResizePixel()
1068 aSz.Height() += aBorder.Top() + aBorder.Bottom(); in InnerResizePixel()