/trunk/main/svx/source/dialog/ |
H A D | swframeexample.cxx | 104 sal_uIntPtr nOutHPix = aPage.GetHeight(); in InitAllRects_Impl() 153 / (aTextLine.GetHeight() + 2)); in InitAllRects_Impl() 176 aFont.SetSize(Size(0, aParaPrtArea.GetHeight() - 2)); in InitAllRects_Impl() 186 aParaPrtArea.Top() + (aParaPrtArea.GetHeight() - aAutoCharFrame.GetHeight()) / 2)); in InitAllRects_Impl() 457 sal_Int32 nStep = aTxt.GetHeight() + 2; in DrawInnerFrame_Impl() 458 sal_uInt16 nLines = (sal_uInt16)(aParaPrtArea.GetHeight() / (aTextLine.GetHeight() + 2)); in DrawInnerFrame_Impl() 615 const long nTxtLineHeight = aTextLine.GetHeight(); in Paint() 627 nStep = aTxt.GetHeight() + 2; in Paint() 629 / (aTxt.GetHeight() + 2)); in Paint() 633 nStep = aTxt.GetHeight() + 2; in Paint() [all …]
|
/trunk/main/vcl/unx/gtk/gdi/ |
H A D | salnativewidgets-gtk.cxx | 330 pData[i].m_pixmapRect.GetHeight() == r_pixmapRect.GetHeight() && in Find() 1112 h = rControlRectangle.GetHeight(); in NWPaintGTKButton() 1236 h = aAreaRect.GetHeight(); in NWGetButtonArea() 1369 rButton.Top() + ( rButton.GetHeight() - rArrow.GetHeight() ) / 2 in NWCalcArrowRect() 1545 …&& ((scrollbarRect.GetHeight()-button1BoundRect.GetHeight()-button2BoundRect.GetHeight()) > min_sl… in NWPaintGTKScrollbar() 1583 h = pixmapRect.GetHeight(); in NWPaintGTKScrollbar() 2086 arrowRect.setY( buttonRect.Top() + (buttonRect.GetHeight() - arrowRect.GetHeight()) / 2 + 1); in NWPaintOneSpinButton() 2088 arrowRect.setY( buttonRect.Top() + (buttonRect.GetHeight() - arrowRect.GetHeight()) / 2 - 1); in NWPaintOneSpinButton() 2491 h = rControlRectangle.GetHeight(); in NWPaintGTKToolbar() 2638 h = rControlRectangle.GetHeight(); in NWPaintGTKMenubar() [all …]
|
/trunk/main/sfx2/source/sidebar/ |
H A D | DeckLayouter.cxx | 64 if (aContentArea.GetWidth()<=0 || aContentArea.GetHeight()<=0) in LayoutDeck() 112 sal_Int32 nAvailableHeight (aBox.GetHeight()); in LayoutPanels() 114 const sal_Int32 nTotalDecorationHeight (aBox.GetHeight() - nAvailableHeight); in LayoutPanels() 168 aBox.GetHeight(), in LayoutPanels() 180 : aBox.GetHeight()); in LayoutPanels() 182 if (nContentHeight-nY < aBox.GetHeight()) in LayoutPanels() 183 nY = nContentHeight-aBox.GetHeight(); in LayoutPanels() 193 SetupVerticalScrollBar(rVerticalScrollBar, nContentHeight, aBox.GetHeight()); in LayoutPanels() 302 rAvailableHeight = rContentBox.GetHeight(); in GetRequestedSizes() 471 rAvailableSpace.GetHeight()); in PlaceVerticalScrollBar() [all …]
|
/trunk/main/editeng/source/editeng/ |
H A D | impedit3.cxx | 447 nY += pParaPortion->GetHeight(); in FormatDoc() 850 nTextLineHeight = pLine->GetHeight(); in CreateLines() 1299 if ( nLineHeight > pLine->GetHeight() ) in CreateLines() 1338 long nDiff = pLine->GetHeight() - nH; in CreateLines() 1473 …pLine->SetHeight( (sal_uInt16) ( pLine->GetHeight() + nTextExtraYOffset ), 0, pLine->GetHeight() ); in CreateLines() 1646 if ( nLineHeight > pTmpLine->GetHeight() ) in CreateAndInsertEmptyLine() 1721 long nMinHeight = aBulletArea.GetHeight(); in CreateAndInsertEmptyLine() 1750 long nOldHeight = pParaPortion->GetHeight(); in FinishCreateLines() 2915 long nParaHeight = pPortion->GetHeight(); in Paint() 2952 aStartPos.Y() += pLine->GetHeight(); in Paint() [all …]
|
/trunk/main/sw/source/ui/uiview/ |
H A D | viewport.cxx | 386 long nDesHeight = rRect.GetHeight(); in CalcPt() 387 long nCurHeight = aVisArea.GetHeight(); in CalcPt() 505 aVisArea.GetHeight() ); in Scroll() 522 aVisArea.GetHeight() ); in Scroll() 562 if ( !aVisArea.Top() || !aVisArea.GetHeight() ) in GetPageScrollUpOffset() 565 rOff = -(aVisArea.GetHeight() - nYScrl); in GetPageScrollUpOffset() 577 if ( !aVisArea.GetHeight() || in GetPageScrollDownOffset() 578 (aVisArea.GetHeight() > aDocSz.Height()) ) in GetPageScrollDownOffset() 581 rOff = aVisArea.GetHeight() - nYScrl; in GetPageScrollDownOffset() 595 if (!aVisArea.GetHeight()) in PageUp() [all …]
|
/trunk/main/vcl/source/window/ |
H A D | brdwin.cxx | 103 long nExtraHeight = ((rRect.GetHeight()*50)+500)/1000; in ImplCalcSymbolRect() 861 if ( aNewRect.GetHeight() < nMinHeight ) in ImplTracking() 863 else if ( aNewRect.GetHeight() > nMaxHeight ) in ImplTracking() 869 if ( aNewRect.GetHeight() < nMinHeight ) in ImplTracking() 871 else if ( aNewRect.GetHeight() > nMaxHeight ) in ImplTracking() 918 pData->maMouseOff.Y() += aNewRect.GetHeight()-nOldHeight; in ImplTracking() 925 pData->mnTrackHeight = aNewRect.GetHeight(); in ImplTracking() 1183 if( mnHeight < aBounds.GetHeight() ) in Init() 1690 Size( nBorderSize, aInRect.GetHeight()-nBorderSize ) ) ); in DrawWindow() 1694 Size( nBorderSize, aInRect.GetHeight()-nBorderSize ) ) ); in DrawWindow() [all …]
|
H A D | arrange.cxx | 424 if( aOptSize.Height() > m_aManagedArea.GetHeight() ) in resize() 451 aElementSizes[i].Height() = m_aManagedArea.GetHeight() - 2 * nOuterBorder; in resize() 457 …long nExtraWidth = (m_bColumn ? m_aManagedArea.GetHeight() : m_aManagedArea.GetWidth()) - nUsedWid… in resize() 595 long nYOff = (m_aManagedArea.GetHeight() - 2*nOuterBorder - aLabelSize.Height()) / 2; in resize() 604 nYOff = (m_aManagedArea.GetHeight() - 2*nOuterBorder - aElementSize.Height()) / 2; in resize() 607 aSize.Height() = m_aManagedArea.GetHeight() - 2*nOuterBorder; in resize() 944 if( aOptSize.Height() > m_aManagedArea.GetHeight() || in resize() 949 if( aOptSize.Height() > m_aManagedArea.GetHeight() ) in resize() 961 nExtraSize = m_aManagedArea.GetHeight(); in resize()
|
/trunk/main/vcl/unx/generic/printergfx/ |
H A D | bitmap_gfx.cxx | 424 double fScaleY = (double)rDest.GetHeight() / (double)rSrc.GetHeight(); in DrawBitmap() 442 sal_Int32 nImageSz = rSrc.GetWidth() * rSrc.GetHeight(); in DrawBitmap() 473 double fScaleY = (double)rDest.GetHeight() / (double)rSrc.GetHeight(); in DrawBitmap() 487 double fScaleY = (double)rDest.GetHeight() / (double)rSrc.GetHeight(); in DrawMask() 505 sal_uInt32 nHeight = rArea.GetHeight(); in DrawPS1GrayImage() 567 nChar += psp::getValueOf (rArea.GetHeight(), pImage + nChar); in writePS2ImageHeader()
|
/trunk/main/svx/source/svdraw/ |
H A D | impgrfll.cxx | 102 …rBmpOutputSize.Height() = basegfx::fround( (double) rOutputRect.GetHeight() * rBmpPerCent.Height()… in ImpCalcBmpFillSizes() 121 …rBmpOutputSize.Height() = basegfx::fround( (double) rOutputRect.GetHeight() * rBmpPerCent.Height()… in ImpCalcBmpFillSizes() 152 …aStartPoint.Y() = rOutputRect.Top() + ( ( rOutputRect.GetHeight() - rBmpOutputSize.Height() ) >> 1… in ImpCalcBmpFillSizes() 159 …aStartPoint.Y() = rOutputRect.Top() + ( ( rOutputRect.GetHeight() - rBmpOutputSize.Height() ) >> 1… in ImpCalcBmpFillSizes() 166 …aStartPoint.Y() = rOutputRect.Top() + ( ( rOutputRect.GetHeight() - rBmpOutputSize.Height() ) >> 1… in ImpCalcBmpFillSizes() 244 ( rOutputRect.GetHeight() - rBmpOutputSize.Height() ) >> 1 ); in ImpCalcBmpFillSizes()
|
H A D | svdotxtr.cxx | 75 long nTHgt0=aRect.GetHeight()-1-nVDist; if (nTHgt0<0) nTHgt0=0; in NbcSetSnapRect() 77 long nTHgt1=rRect.GetHeight()-1-nVDist; if (nTHgt1<0) nTHgt1=0; in NbcSetSnapRect() 109 long nTHgt0=aRect.GetHeight()-1-nVDist; if (nTHgt0<0) nTHgt0=0; in NbcSetLogicRect() 111 long nTHgt1=rRect.GetHeight()-1-nVDist; if (nTHgt1<0) nTHgt1=0; in NbcSetLogicRect() 156 long nTHgt0=aRect.GetHeight()-1-nVDist; if (nTHgt0<0) nTHgt0=0; in NbcResize() 236 long nTHgt1=aRect.GetHeight()-1-nVDist; if (nTHgt1<0) nTHgt1=0; in NbcResize()
|
/trunk/main/xmloff/source/draw/ |
H A D | sdxmlexp.cxx | 129 sal_Int32 GetHeight() const { return mnHeight; } in GetHeight() function in ImpXMLEXPPageMasterInfo 1061 aRightTop.setHeight(long(aRightTop.GetHeight() * 0.477)); in ImpWriteAutoLayoutInfos() 1086 aTop.setHeight(long(aTop.GetHeight() * 0.477)); in ImpWriteAutoLayoutInfos() 1101 aLeftTop.setHeight(long(aLeftTop.GetHeight() * 0.477)); in ImpWriteAutoLayoutInfos() 1114 aTopLeft.setHeight(long(aTopLeft.GetHeight() * 0.477)); in ImpWriteAutoLayoutInfos() 1130 aTop.setHeight(long(aTop.GetHeight() * 0.477)); in ImpWriteAutoLayoutInfos() 1142 aTopLeft.setHeight(long(aTopLeft.GetHeight() * 0.477)); in ImpWriteAutoLayoutInfos() 1225 aTop.setHeight(long(aTop.GetHeight() * 0.488)); in ImpWriteAutoLayoutInfos() 1227 aBottom.Top() = long(aBottom.Top() + aBottom.GetHeight() * 1.05); in ImpWriteAutoLayoutInfos() 1267 aTopLeft.setHeight(long(aTopLeft.GetHeight() * 0.477)); in ImpWriteAutoLayoutInfos() [all …]
|
/trunk/main/sw/source/core/view/ |
H A D | pagepreviewlayout.cxx | 466 maPaintedPrevwDocRect.GetHeight() < maWinSize.Height() ) in Prepare() 470 if ( maPaintedPrevwDocRect.GetHeight() < mnPrevwLayoutHeight) in Prepare() 473 0, -(mnPrevwLayoutHeight - maPaintedPrevwDocRect.GetHeight()) ); in Prepare() 482 0, -(maWinSize.Height() - maPaintedPrevwDocRect.GetHeight()) ); in Prepare() 563 maPreviewDocRect.GetHeight() - aTopLeftPos.Y() ); in _CalcDocPrevwPaintRect() 565 aSize.Height() = Min( maPreviewDocRect.GetHeight() - aTopLeftPos.Y(), in _CalcDocPrevwPaintRect() 792 else if ( maPaintedPrevwDocRect.GetHeight() < _aNewWinSize.Height() ) in GetPreviewStartPosForNewScale() 795 (_aNewWinSize.Height() - maPaintedPrevwDocRect.GetHeight()) / 2; in GetPreviewStartPosForNewScale() 808 if ( maPaintedPrevwDocRect.GetHeight() > _aNewWinSize.Height() ) in GetPreviewStartPosForNewScale() 811 (maPaintedPrevwDocRect.GetHeight() - _aNewWinSize.Height()) / 2; in GetPreviewStartPosForNewScale() [all …]
|
/trunk/main/svx/source/customshapes/ |
H A D | EnhancedCustomShape2d.cxx | 801 if( (nXRef != Mx80000000) && aLogicRect.GetHeight() ) in EnhancedCustomShape2d() 857 case ENUM_FUNC_LOGHEIGHT : fRet = aLogicRect.GetHeight(); break; in GetEnumFunc() 949 fVal = aLogicRect.GetHeight() - fVal; in GetPoint() 1117 aTopLeft.Y() = aLogicRect.GetHeight() - aTopLeft.Y(); in GetTextRect() 1118 aBottomRight.Y() = aLogicRect.GetHeight() - aBottomRight.Y(); in GetTextRect() 1162 if ( aLogicRect.GetHeight() > aLogicRect.GetWidth() ) in GetHandlePosition() 1188 rReturnPosition.Y() = aLogicRect.GetHeight() - rReturnPosition.Y(); in GetHandlePosition() 1211 aP.Y() = aLogicRect.GetHeight() - aP.Y(); in SetHandleControllerPosition() 1233 if ( aLogicRect.GetHeight() > aLogicRect.GetWidth() ) in SetHandleControllerPosition() 1623 if ( aRect.GetWidth() && aRect.GetHeight() ) in CreateSubPath() [all …]
|
/trunk/main/ooxml/source/framework/OOXMLViewer/src/org/apache/openoffice/ooxml/viewer/tokenview/ |
H A D | Line.java | 49 if (aRun.GetHeight() > mnHeight) in AddRun() 50 mnHeight = aRun.GetHeight(); in AddRun() 78 if (mnHeight < aRun.GetHeight()) in Format() 79 mnHeight = aRun.GetHeight(); in Format() 94 public int GetHeight () in GetHeight() method in Line
|
/trunk/main/sc/source/ui/dbgui/ |
H A D | csvruler.cxx | 175 maActiveRect.SetPos( Point( GetFirstX(), (GetHeight() - nActiveHeight - 1) / 2 ) ); in InitSizeData() 557 Rectangle aRect( Point( nPosX, 0 ), Size( nWidth, GetHeight() ) ); in ImplDrawArea() 571 sal_Int32 nY = GetHeight() - 1; in ImplDrawArea() 613 Point aPos( GetX( nPos ) - mnSplitSize / 2, GetHeight() - mnSplitSize - 2 ); in ImplDrawSplit() 618 maRulerDev.DrawPixel( Point( GetX( nPos ), GetHeight() - 2 ) ); in ImplDrawSplit() 628 Size aSize( mnSplitSize, GetHeight() ); in ImplEraseSplit() 650 …ImplInvertRect( maRulerDev, Rectangle( Point( GetX( nPos ) - 1, 0 ), Size( 3, GetHeight() - 1 ) ) … in ImplInvertCursor() 659 InvertTracking( Rectangle( 0, 0, GetWidth() - 1, GetHeight() - 2 ), in ImplDrawTrackingRect()
|
/trunk/main/vcl/win/source/gdi/ |
H A D | salnativewidgets-luna.cxx | 935 long nH = aTrackRect.GetHeight(); in ImplDrawNativeControl() 1035 long nDY = ((rc.bottom - rc.top + 1) - aRect.GetHeight()) / 2; in ImplDrawNativeControl() 1037 rc.bottom = rc.top+aRect.GetHeight()-1; in ImplDrawNativeControl() 1284 if( aRect.GetHeight() > aBoxRect.GetHeight() ) in getNativeControlRegion() 1285 aBoxRect.Bottom() = aBoxRect.Top() + aRect.GetHeight(); in getNativeControlRegion() 1313 if( aRect.GetHeight() && nFontHeight ) in getNativeControlRegion() 1315 aRect.Bottom() += aRect.GetHeight(); in getNativeControlRegion() 1317 if( aRect.GetHeight() > aBoxRect.GetHeight() ) in getNativeControlRegion() 1318 aBoxRect.Bottom() = aBoxRect.Top() + aRect.GetHeight(); in getNativeControlRegion() 1342 if( aBoxRect.GetWidth() && aBoxRect.GetHeight() ) in getNativeControlRegion() [all …]
|
/trunk/main/sd/source/ui/view/ |
H A D | sdwindow.cxx | 511 if( (rZoomRect.GetWidth() != 0) && (rZoomRect.GetHeight() != 0)) in GetZoomForRect() 521 if(rZoomRect.GetHeight()) in GetZoomForRect() 524 * (double) ZOOM_MULTIPLICATOR / (double) rZoomRect.GetHeight()); in GetZoomForRect() 570 if (rZoomRect.GetWidth() == 0 || rZoomRect.GetHeight() == 0) in SetZoomRect() 585 DBG_ASSERT(rZoomRect.GetHeight(), "ZoomRect-Hoehe = 0!"); in SetZoomRect() 594 if(rZoomRect.GetHeight()) in SetZoomRect() 597 * (double) ZOOM_MULTIPLICATOR / (double) rZoomRect.GetHeight()); in SetZoomRect() 632 maWinPos.Y() += (rZoomRect.GetHeight() - aWinSize.Height()) / 2; in SetZoomRect()
|
/trunk/main/sc/source/ui/drawfunc/ |
H A D | fupoor.cxx | 361 if(rRect.GetWidth() > rRect.GetHeight()) in ImpForceQuadratic() 364 Point(rRect.Left() + ((rRect.GetWidth() - rRect.GetHeight()) / 2), rRect.Top()), in ImpForceQuadratic() 365 Size(rRect.GetHeight(), rRect.GetHeight())); in ImpForceQuadratic() 370 Point(rRect.Left(), rRect.Top() + ((rRect.GetHeight() - rRect.GetWidth()) / 2)), in ImpForceQuadratic()
|
/trunk/main/avmedia/source/viewer/ |
H A D | mediawindow_impl.cxx | 418 if( pLogo && !pLogo->IsEmpty() && ( aVideoRect.GetWidth() > 0 ) && ( aVideoRect.GetHeight() > 0 ) ) in Paint() 427 …if( ( aLogoSize.Width() > aVideoRect.GetWidth() || aLogoSize.Height() > aVideoRect.GetHeight() ) && in Paint() 432 if( fLogoWH < ( (double) aVideoRect.GetWidth() / aVideoRect.GetHeight() ) ) in Paint() 434 aLogoSize.Width() = (long) ( aVideoRect.GetHeight() * fLogoWH ); in Paint() 435 aLogoSize.Height()= aVideoRect.GetHeight(); in Paint() 445 aBasePos.Y() + ( ( aVideoRect.GetHeight() - aLogoSize.Height() ) >> 1 ) ), in Paint()
|
/trunk/main/slideshow/source/engine/shapes/ |
H A D | drawinglayeranimation.cxx | 401 if(maPaintRectangleLogic.GetHeight() > maScrollRectangleLogic.GetHeight()) in ImpForceScrollTextAnimNodes() 403 … fZeroLogicAlternate = maScrollRectangleLogic.Bottom() - maPaintRectangleLogic.GetHeight(); in ImpForceScrollTextAnimNodes() 409 … fOneLogicAlternate = maScrollRectangleLogic.Bottom() - maPaintRectangleLogic.GetHeight(); in ImpForceScrollTextAnimNodes() 413 fZeroLogic = maScrollRectangleLogic.Top() - maPaintRectangleLogic.GetHeight(); in ImpForceScrollTextAnimNodes() 634 double const fPaintHeight = maPaintRectangleLogic.GetHeight(); in updateShapeAttributes() 637 double const fScrollHeight = maScrollRectangleLogic.GetHeight(); in updateShapeAttributes()
|
/trunk/main/dbaccess/source/ui/dlg/ |
H A D | sqlmessage.cxx | 594 m_aMessage.Show( aSecondaryRect.GetHeight() > 0 ); in impl_positionControls() 601 aPrimaryRect.Bottom() = aPrimaryRect.Top() + aSuggestedRect.GetHeight(); in impl_positionControls() 607 if ( aPrimaryRect.GetHeight() < m_aInfoImage.GetSizePixel().Height() ) in impl_positionControls() 609 aPrimaryRect.Bottom() += aInfoRect.GetHeight() - aPrimaryRect.GetHeight(); in impl_positionControls() 615 aInfoRect.Move( 0, ( aPrimaryRect.GetHeight() - aInfoRect.GetHeight() ) / 2 ); in impl_positionControls()
|
/trunk/main/filter/source/flash/ |
H A D | swfwriter2.cxx | 487 aPoint.X() = static_cast<long>((double(aPoint.X()) * 1024.0 ) / double(aOldFont.GetHeight())); in getGlyph() 488 aPoint.Y() = static_cast<long>((double(aPoint.Y()) * 1024.0 ) / double(aOldFont.GetHeight())); in getGlyph() 618 double scaley = (double)maBoundRect.GetHeight() / 32768.0; in Impl_addGradient() 651 double scaley = (double)maBoundRect.GetHeight() / 32768.0; in Impl_addGradient() 664 double scaley = (double)maBoundRect.GetHeight() / 32768.0; in Impl_addGradient() 668 m.translate( maBoundRect.GetWidth() / 2.0, maBoundRect.GetHeight() / 2.0 ); in Impl_addGradient()
|
/trunk/main/extensions/source/update/ui/ |
H A D | updatecheckui.cxx | 951 aWindowSize.setHeight( maTitleRect.GetHeight() * 7 / 4+ maTextRect.GetHeight() + in Show() 1001 if ( maTextRect.GetHeight() < 10 ) in RecalcTextRects() 1004 aTotalSize.setHeight( maTitleRect.GetHeight() + in RecalcTextRects() 1005 aBoldFont.GetHeight() * 3 / 4 + in RecalcTextRects() 1006 maTextRect.GetHeight() + in RecalcTextRects() 1017 …( 2*BUBBLE_BORDER, BUBBLE_BORDER + TIP_HEIGHT + maTitleRect.GetHeight() + aBoldFont.GetHeight() * … in RecalcTextRects()
|
/trunk/main/canvas/source/cairo/ |
H A D | cairo_textlayout.cxx | 591 nWidth = aFont.GetHeight(); in draw() 595 nWidth = aFont.GetWidth() * aFont.GetHeight() / aMetric.GetHeight(); in draw() 602 cairo_matrix_scale(&m, nWidth, aFont.GetHeight()); in draw() 611 aFont.GetHeight(), in draw() 634 double bold_dx = 0.5 * sqrt( 0.7 * aFont.GetHeight() ); in draw()
|
/trunk/main/sc/source/core/data/ |
H A D | patattr.cxx | 283 nFontHeight = ((const SvxFontHeightItem*)pItem)->GetHeight(); in GetFont() 337 rItemSet.Get( nHeightId )).GetHeight(); in GetFont() 546 nTHeight = ((const SvxFontHeightItem*)pItem)->GetHeight(); in FillToEditItemSet() 549 nCjkTHeight = ((const SvxFontHeightItem*)pItem)->GetHeight(); in FillToEditItemSet() 552 nCtlTHeight = ((const SvxFontHeightItem*)pItem)->GetHeight(); in FillToEditItemSet() 634 rSrcSet.Get( ATTR_FONT_HEIGHT )).GetHeight(); in FillToEditItemSet() 636 rSrcSet.Get( ATTR_CJK_FONT_HEIGHT )).GetHeight(); in FillToEditItemSet() 638 rSrcSet.Get( ATTR_CTL_FONT_HEIGHT )).GetHeight(); in FillToEditItemSet() 755 … rDestSet.Put( SvxFontHeightItem( HMMToTwips( ((const SvxFontHeightItem*)pItem)->GetHeight() ), in GetFromEditItemSet() 758 … rDestSet.Put( SvxFontHeightItem( HMMToTwips( ((const SvxFontHeightItem*)pItem)->GetHeight() ), in GetFromEditItemSet() [all …]
|