/aoo41x/main/svx/source/gallery2/ |
H A D | galbrws.cxx | 104 const bool bLayoutHorizontal(maLastSize.Width() > maLastSize.Height()); in SFX_IMPL_DOCKINGWINDOW() 153 const bool bNewLayoutHorizontal(aNewSize.Width() > aNewSize.Height()); in Resize() 156 …Horizontal ? mpSplitter->GetOutputSizePixel().Width() : mpSplitter->GetOutputSizePixel().Height()); in Resize() 170 Size(nSplitPos - nFrameLen, aNewSize.Height() - nFrameLen2) ); in Resize() 174 Size( nSplitSize, aNewSize.Height() ) ); in Resize() 179 Size( aNewSize.Width() - ( nFrameLen2 << 1 ) - nSplitSize, aNewSize.Height() ) ) ); in Resize() 183 … Size( aNewSize.Width() - nSplitSize - nSplitPos - nFrameLen, aNewSize.Height() - nFrameLen2 ) ); in Resize() 198 Size( aNewSize.Width(), aNewSize.Height() - ( nFrameLen2 << 1 ) - nSplitSize ) )); in Resize() 202 … Size( aNewSize.Width() - nFrameLen2, aNewSize.Height() - nSplitSize - nSplitPos - nFrameLen )); in Resize()
|
H A D | galctrl.cxx | 138 if( aNewSize.Width() && aNewSize.Height() ) in ImplGetGraphicCenterRect() 141 const double fGrfWH = (double) aNewSize.Width() / aNewSize.Height(); in ImplGetGraphicCenterRect() 142 const double fWinWH = (double) aWinSize.Width() / aWinSize.Height(); in ImplGetGraphicCenterRect() 146 aNewSize.Width() = (long) ( aWinSize.Height() * fGrfWH ); in ImplGetGraphicCenterRect() 147 aNewSize.Height()= aWinSize.Height(); in ImplGetGraphicCenterRect() 152 aNewSize.Height()= (long) ( aWinSize.Width() / fGrfWH); in ImplGetGraphicCenterRect() 156 ( aWinSize.Height() - aNewSize.Height() ) >> 1 ); in ImplGetGraphicCenterRect() 421 ((aSize.Height() - aBitmapExSizePixel.Height()) >> 1) + rRect.Top()); in UserDraw() 764 ((aSize.Height() - aBitmapExSizePixel.Height()) >> 1) + rRect.Top()); in PaintField()
|
/aoo41x/main/extensions/source/bibliography/ |
H A D | general.cxx | 576 rSize.Height(), awt::PosSize::POSSIZE); in AddXControl() 595 …sal_Bool bVertVisible = (aOutSize.Height()-(bHoriVisible ? nHoriScrollHeight : 0)) <= (aStdSize.He… in AdjustScrollbars() 609 ::Size aVertSize(nHoriScrollHeight, aOutSize.Height() - in AdjustScrollbars() 612 aVertScroll.SetRange( Range(0, aStdSize.Height())); in AdjustScrollbars() 613 aVertScroll.SetVisibleSize( aVertSize.Height() ); in AdjustScrollbars() 618 ::Size aScrollSize(aOutSize.Width() - aSize.Height(), aSize.Height()); in AdjustScrollbars() 619 ::Point aScrollPos(0, aOutSize.Height() - aSize.Height()); in AdjustScrollbars() 625 aScrollSize.Height() = aOutSize.Height() - aSize.Height(); in AdjustScrollbars() 630 aControlParentWinSz.Height() -= aSize.Height(); in AdjustScrollbars() 790 else if(nY > aOutSize.Height()) in focusGained() [all …]
|
/aoo41x/main/desktop/source/deployment/gui/ |
H A D | dp_gui_extlistbox.cxx | 394 aSize.Height() = 10000; in CalcActiveHeight() 431 aSize.Height() = m_nActiveHeight; in GetEntryRect() 433 aSize.Height() = m_nStdHeight; in GetEntryRect() 697 if ( aEntryRect.Bottom() > aOutputSize.Height() ) in RecalcAll() 709 m_nTopIndex = nTotalHeight - aOutputSize.Height(); in RecalcAll() 796 aStart.Y() += aSize.Height(); in Paint() 819 const bool bNeedsScrollBar = ( nTotalHeight > aSize.Height() ); in SetupScrollBar() 823 if ( m_nTopIndex + aSize.Height() > nTotalHeight ) in SetupScrollBar() 824 m_nTopIndex = nTotalHeight - aSize.Height(); in SetupScrollBar() 829 m_pScrollBar->SetVisibleSize( aSize.Height() ); in SetupScrollBar() [all …]
|
/aoo41x/main/sw/source/core/text/ |
H A D | possiz.hxx | 39 : nWidth(KSHORT(rSize.Width())), nHeight(KSHORT(rSize.Height())){ } in SwPosSize() 40 inline KSHORT Height() const { return nHeight; } in Height() function in SwPosSize 41 inline void Height( const KSHORT nNew ) { nHeight = nNew; } in Height() function in SwPosSize 55 nHeight = rSize.Height(); in operator =() 62 nHeight = KSHORT(rSize.Height()); in SvLSize() 68 nWidth = KSHORT(rSize.Height()); in SvXSize() 74 nHeight = KSHORT(rSize.Height()); in operator =()
|
H A D | porlay.cxx | 301 Height( rInf.GetTxtHeight() ); in Format() 326 pLeft->Height( 0 ); in CalcLeftMargin() 460 if( !Height() ) in CalcLine() 461 Height( pPos->Height() ); in CalcLine() 539 Height( nPosHeight ); in CalcLine() 547 Height( nPosHeight ); in CalcLine() 555 if( !pFlyCnt || pPos->Height() > pFlyCnt->Height() ) in CalcLine() 592 if( pFlyCnt->Height() == Height() ) in CalcLine() 612 Height( nFlyHeight ); in CalcLine() 644 Height( nTmpHeight ); in CalcLine() [all …]
|
/aoo41x/main/cui/source/tabpages/ |
H A D | backgrnd.cxx | 261 aInnerSize.Height() -= 2; in NotifyChange() 267 aDrawSize.Height() = aDrawSize.Height() * aInnerSize.Width() / aDrawSize.Width(); in NotifyChange() 268 if ( aDrawSize.Height() > aInnerSize.Height() ) in NotifyChange() 270 aDrawSize.Width() = aDrawSize.Height(); in NotifyChange() 271 aDrawSize.Height() = aInnerSize.Height(); in NotifyChange() 276 else if ( aDrawSize.Height() > aInnerSize.Height() ) in NotifyChange() 278 aDrawSize.Width() = aDrawSize.Width() * aInnerSize.Height() / aDrawSize.Height(); in NotifyChange() 281 aDrawSize.Height() = aDrawSize.Width(); in NotifyChange() 285 aDrawSize.Height() = aInnerSize.Height(); in NotifyChange() 289 aDrawPos.Y() = (aSize.Height() - aDrawSize.Height()) / 2; in NotifyChange() [all …]
|
/aoo41x/main/sw/source/ui/vba/ |
H A D | vbaparagraphformat.cxx | 343 aLineSpacing.Height = PERCENT100; in getOOoLineSpacing() 348 aLineSpacing.Height = PERCENT150; in getOOoLineSpacing() 353 aLineSpacing.Height = PERCENT200; in getOOoLineSpacing() 377 aLineSpacing.Height = PERCENT150; in getOOoLineSpacingFromRule() 383 aLineSpacing.Height = getCharHeight(); in getOOoLineSpacingFromRule() 389 aLineSpacing.Height = getCharHeight(); in getOOoLineSpacingFromRule() 396 aLineSpacing.Height = getCharHeight(); in getOOoLineSpacingFromRule() 402 aLineSpacing.Height = PERCENT100; in getOOoLineSpacingFromRule() 419 wdLineSpacing = (float)( Millimeter::getInPoints( rLineSpacing.Height ) ); in getMSWordLineSpacing() 423 wdLineSpacing = (float)( CHARACTER_INDENT_FACTOR * rLineSpacing.Height ) / PERCENT100; in getMSWordLineSpacing() [all …]
|
/aoo41x/main/toolkit/source/awt/ |
H A D | vclxscroller.cxx | 106 setPosSize( rArea.X, rArea.Y, rArea.Width, rArea.Height, PosSize::POSSIZE ); in allocateArea() 111 mpVerScrollBar->SetRangeMax( SAL_MAX( maChildRequisition.Height - rArea.Height, 0 ) ); in allocateArea() 118 mpHorScrollBar->SetPosSizePixel( rArea.X, rArea.Y + rArea.Height - thumbHeight - 2, in allocateArea() 121 thumbWidth, rArea.Height - thumbHeight ); in allocateArea() 125 … SAL_MAX( maChildRequisition.Height, rArea.Height ) - thumbHeight - 4 ); in allocateArea() 141 SAL_MIN( MAX_CHILD_REQ, childSize.Height ) + thumbHeight ); in getMinimumSize()
|
/aoo41x/main/framework/source/helper/ |
H A D | dockingareadefaultacceptor.cxx | 127 … aRectangle.Height - aInfo.TopInset - aInfo.BottomInset ); in requestDockingAreaSpace() 135 … (( aSize.Height - RequestedSpace.Y - RequestedSpace.Height ) < aMinSize.Height ) ) in requestDockingAreaSpace() 165 … aRectangle.Height - aInfo.TopInset - aInfo.BottomInset ); in setDockingAreaSpace() 172 sal_Int32 nHeight = aSize.Height - BorderSpace.Y - BorderSpace.Height; in setDockingAreaSpace() 174 if (( nWidth > aMinSize.Width ) && ( nHeight > aMinSize.Height )) in setDockingAreaSpace()
|
/aoo41x/main/sd/source/ui/slidesorter/view/ |
H A D | SlsInsertionIndicatorOverlay.cxx | 145 RoundToInt(aOriginalPreviewSize.Height()*nPreviewScale)); in Create() 147 RoundToInt(Min(aPreviewSize.Width(),aPreviewSize.Height()) * gnPreviewOffsetScale)); in Create() 155 aPreviewSize.Height() + 2 * gnShadowBorder + nCount*nOffset); in Create() 234 aPreviewSize.Height()*gnSuperScaleFactor); in PaintRepresentatives() 246 const sal_Int32 nIconHeight (aExclusionOverlay.GetSizePixel().Height()); in PaintRepresentatives() 250 for (sal_Int32 nY=0; nY<aPreviewSize.Height(); nY+=nIconHeight) in PaintRepresentatives() 261 aPageOffset.Y()+aPreviewSize.Height()-1); in PaintRepresentatives() 312 (aPreviewSize.Height()-aTextBox.GetHeight())/2); in PaintPageCount() 338 maIcon.GetSizePixel().Height()/2)); in SetLocation() 442 maIcon.GetSizePixel().Height() + 10); in GetSize()
|
H A D | SlsFramePainter.cxx | 45 if (rShadowBitmap.GetSizePixel().Width() == rShadowBitmap.GetSizePixel().Height() in FramePainter() 53 OSL_ASSERT(rShadowBitmap.GetSizePixel().Width() == rShadowBitmap.GetSizePixel().Height()); in FramePainter() 161 maBitmap.Scale(Size(nSideBitmapSize,aSize.Height()), BMP_SCALE_FASTESTINTERPOLATE); in OffsetBitmap() 210 … Size(std::min(aBitmapSize.Width(),static_cast<long>(nRight-nX+1)),aBitmapSize.Height()), in PaintSide() 220 + rCornerBitmap1.maBitmap.GetSizePixel().Height() in PaintSide() 226 for (sal_Int32 nY=nTop; nY<=nBottom; nY+=aBitmapSize.Height()) in PaintSide() 230 … Size(aBitmapSize.Width(), std::min(aBitmapSize.Height(), static_cast<long>(nBottom-nY+1))), in PaintSide() 249 for (sal_Int32 nY=rBox.Top(); nY<=rBox.Bottom(); nY+=aBitmapSize.Height()) in PaintCenter() 255 std::min(aBitmapSize.Height(), rBox.Bottom()-nY+1)), in PaintCenter()
|
/aoo41x/main/avmedia/source/gstreamer/ |
H A D | gstwindow.cxx | 161 int nW = aRect.Width, nH = aRect.Height; in implLayoutVideoWindow() 173 aPrefSize.Height >>= 2; in implLayoutVideoWindow() 179 aPrefSize.Height >>= 1; in implLayoutVideoWindow() 185 aPrefSize.Height <<= 1; in implLayoutVideoWindow() 191 aPrefSize.Height <<= 2; in implLayoutVideoWindow() 203 if( ( aPrefSize.Width <= nVideoW ) && ( aPrefSize.Height <= nVideoH ) ) in implLayoutVideoWindow() 206 nY = ( nVideoH - aPrefSize.Height ) >> 1; in implLayoutVideoWindow() 208 nHeight = aPrefSize.Height; in implLayoutVideoWindow() 217 double fPrefWH = (double) aPrefSize.Width / aPrefSize.Height; in implLayoutVideoWindow() 275 Size( maWindowRect.Width, maWindowRect.Height ) ); in create() [all …]
|
/aoo41x/main/oox/source/vml/ |
H A D | vmlshape.cxx | 72 double fHeightRatio = static_cast< double >( rShapeRect.Height ) / rCoordSys.Height; in lclGetAbsPoint() 82 double fHeightRatio = static_cast< double >( rShapeRect.Height ) / rCoordSys.Height; in lclGetAbsRect() 87 aAbsRect.Height = static_cast< sal_Int32 >( fHeightRatio * rRelRect.Height + 0.5 ); in lclGetAbsRect() 268 if( ((aShapeRect.Width > 0) || (aShapeRect.Height > 0)) && rxShapes.is() ) in convertAndInsert() 298 if( (aShapeRect.Width > 0) || (aShapeRect.Height > 0) ) in convertFormatting() 301 rxShape->setSize( Size( aShapeRect.Width, aShapeRect.Height ) ); in convertFormatting() 370 if( !maShapeModel.maPoints.empty() && (aCoordSys.Width > 0) && (aCoordSys.Height > 0) ) in implConvertAndInsert() 431 Size aOleSize( rShapeRect.Width, rShapeRect.Height ); in implConvertAndInsert() 542 …ren->empty() && (aParentAnchor.maCoordSys.Width > 0) && (aParentAnchor.maCoordSys.Height > 0) ) try in implConvertAndInsert()
|
/aoo41x/main/sw/source/core/doc/ |
H A D | notxtfrm.cxx | 383 rPt.Y() += rDim.Height() -1; in lcl_CalcRect() 384 rDim.Height() = -rDim.Height(); in lcl_CalcRect() 454 if( !aOrigSz.Height() ) in GetGrfArea() 456 aOrigSz.Height() = Prt().Height(); in GetGrfArea() 490 aVisSz.Height() -= nTopCrop; in GetGrfArea() 495 aVisSz.Height() -= nBottomCrop; in GetGrfArea() 507 aTmpSz.Height()-= nTopCrop + nBottomCrop; in GetGrfArea() 588 (SwTwips)(aNewSize.Height() - Prt().Height()); in Format() 592 Shrink( Min(Prt().Height(), -nChgHght) ); in Format() 634 pCMS->aRealHeight.Y() = rRect.Height(); in GetCharRect() [all …]
|
/aoo41x/main/sw/source/ui/utlui/ |
H A D | navipi.cxx | 646 aSz.Height() = nZoomOut; in _ZoomOut() 687 if( aSz.Height() > nZoomIn ) in _ZoomIn() 688 nZoomOut = ( short ) aSz.Height(); in _ZoomIn() 690 aSz.Height() = nZoomIn; in _ZoomIn() 729 aMinOutSizePixel.Height() = 0; in Resize() 744 if(aNewSize.Height() < 0) in Resize() 745 aDocLBSz.Height() = 0; in Resize() 747 aDocLBSz.Height() = nDocLBIniHeight; in Resize() 753 aDocLBSz.Width(), aDocLBSz.Height(), in Resize() 848 nZoomIn = (short)rOutSize.Height(); in SwNavigationPI() [all …]
|
/aoo41x/main/sc/source/ui/view/ |
H A D | viewfun7.cxx | 78 long y = aPgSize.Height() - rPos.Y() - rSize.Height(); in lcl_AdjustInsertPos() 85 rPos.Y() += rSize.Height() / 2; in lcl_AdjustInsertPos() 320 if ( pDescSize && pDescSize->Width() && pDescSize->Height() ) in PasteObject() 326 aSz.Height = aSize.Height(); in PasteObject() 340 aSize = Size( aSz.Width, aSz.Height ); in PasteObject() 343 if( aSize.Height() == 0 || aSize.Width() == 0 ) in PasteObject() 347 aSize.Height() = 5000; in PasteObject() 350 aSz.Height = aSize.Height(); in PasteObject()
|
H A D | prevwsh.cxx | 232 aOptSize.Height() = (long) (rPageSize.Height() * pViewData->GetPPTY()); in GetOptimalSizePixel() 250 Size aOutSize( rSize.Width()-nBarW, rSize.Height()-nBarH ); in AdjustPosSizePixel() 255 Size( nBarW, aOutSize.Height() ) ); in AdjustPosSizePixel() 291 aPageSize.Height() = (long) (aPageSize.Height() * HMM_PER_TWIPS ); in UpdateScrollBars() 333 nMaxVertPos = aPageSize.Height() - aWindowSize.Height(); in UpdateScrollBars() 334 pVerScroll->SetLineSize( aWindowSize.Height() / 16 ); in UpdateScrollBars() 335 pVerScroll->SetPageSize( aWindowSize.Height() ); in UpdateScrollBars() 336 pVerScroll->SetVisibleSize( aWindowSize.Height() ); in UpdateScrollBars() 342 pVerScroll->SetThumbPos( nPageNo * aWindowSize.Height() ); in UpdateScrollBars() 348 pVerScroll->SetRange( Range( 0, aPageSize.Height() ) ); in UpdateScrollBars() [all …]
|
/aoo41x/main/svx/source/tbxctrls/ |
H A D | tbxcolorupdate.cxx | 120 else if(76 == maBmpSize.Width() && 12 == maBmpSize.Height()) in Update() 127 else if(30 == maBmpSize.Width() && 16 == maBmpSize.Height()) in Update() 135 … maUpdRect = Rectangle( Point( 1, maBmpSize.Height() - 7 ), Size( maBmpSize.Width() - 2 ,6 ) ); in Update() 142 … maUpdRect = Rectangle( Point( maBmpSize.Width() - 12, maBmpSize.Height() - 12 ), Size( 11, 11 ) ); in Update() 190 aSz.Height() = maBmpSize.Height(); in DrawChar() 210 ( maBmpSize.Height() - aTxtSize.Height() ) / 2 ); in DrawChar()
|
H A D | linectrl.cxx | 63 aSize.Height() -= 4; \ 71 aSize.Height() += 4; \ 588 aSize.Height() -= 4; in Resize() 602 aBitmapSize.Height() += 6; // in Resizing() 617 long nItemH = aItemSize.Height(); in Resizing() 618 long nH = rNewSize.Height(); in Resizing() 641 rNewSize.Height() = nH; in Resizing() 714 aSize.Height() += 6; in SetSize() 717 aSize.Height() += 4; in SetSize() 719 aSize.Height() = aBmpSize.Height(); in SetSize() [all …]
|
/aoo41x/main/sfx2/source/dialog/ |
H A D | basedlgs.cxx | 252 aPos.Y() += ( aParentSize.Height() - aDlgSize.Height() ) / 2; in StateChanged() 257 aPoint.Y() = aRect.Bottom() - aDlgSize.Height(); in StateChanged() 865 aImageSize.Height() += 4; in SetPage() 887 Point aPnt( 0, aOutSz.Height() ); in SetPage() 890 aPnt.Y() += aFLSz.Height() + ( aOffSz.Height() / 2 ); in SetPage() 896 long nDelta = ( pImpl->m_pInfoImage->GetSizePixel().Height() - aBtnSz.Height() ) / 2; in SetPage() 902 … aOutSz.Height() += aFLSz.Height() + ( aOffSz.Height() / 2 ) + aBtnSz.Height() + aOffSz.Height(); in SetPage()
|
/aoo41x/main/svx/source/sidebar/tools/ |
H A D | ValueSetWithTextControl.cxx | 179 aSize.Height() = (nRectHeight*4)/9; in UserDraw() 222 aBLPos.Y() + ( ( nRectHeight - pImage->GetSizePixel().Height() ) / 2 ) ); in UserDraw() 311 aSize.Height() = nRectHeight/5; in UserDraw() 360 aSize.Height() = nRectHeight/4; in UserDraw() 366 while (nTextWidth>nRectWidth && aSize.Height()>4) { in UserDraw() 367 aSize.Height() = aSize.Height()*0.9; in UserDraw() 448 aSize.Height() = nRectHeight*3/6; in UserDraw() 492 aSize.Height() = nRectHeight/4; in UserDraw() 504 while (nTextWidth>nRectWidth && aSize.Height()>4) { in UserDraw() 505 aSize.Height() = aSize.Height()*0.9; in UserDraw()
|
/aoo41x/main/avmedia/source/xine/ |
H A D | window.cxx | 186 int nW = aRect.Width, nH = aRect.Height; in implLayoutVideoWindow() 198 aPrefSize.Height >>= 2; in implLayoutVideoWindow() 204 aPrefSize.Height >>= 1; in implLayoutVideoWindow() 210 aPrefSize.Height <<= 1; in implLayoutVideoWindow() 216 aPrefSize.Height <<= 2; in implLayoutVideoWindow() 228 if( ( aPrefSize.Width <= nVideoW ) && ( aPrefSize.Height <= nVideoH ) ) in implLayoutVideoWindow() 231 nY = ( nVideoH - aPrefSize.Height ) >> 1; in implLayoutVideoWindow() 233 nHeight = aPrefSize.Height; in implLayoutVideoWindow() 240 if( aPrefSize.Width > 0 && aPrefSize.Height > 0 && nVideoW > 0 && nVideoH > 0 ) in implLayoutVideoWindow() 242 double fPrefWH = (double) aPrefSize.Width / aPrefSize.Height; in implLayoutVideoWindow()
|
/aoo41x/main/sfx2/source/view/ |
H A D | printer.cxx | 241 aOutSz.Height() += 6; in SfxPrintOptionsDialog() 245 if ( aOutSz.Height() < 90 ) in SfxPrintOptionsDialog() 247 aOutSz.Height() = 90; in SfxPrintOptionsDialog() 251 Point aBtnPos( aOutSz.Width() - aBtnSz.Width() - a6Sz.Width(), a6Sz.Height() ); in SfxPrintOptionsDialog() 253 aBtnPos.Y() += aBtnSz.Height() + ( a6Sz.Height() / 2 ); in SfxPrintOptionsDialog() 255 aBtnPos.Y() += aBtnSz.Height() + a6Sz.Height(); in SfxPrintOptionsDialog()
|
/aoo41x/main/sd/source/ui/view/ |
H A D | drviewsh.cxx | 108 sal_Int32 nFreeSpaceY(aVisAreaSize.Height() - aLogicSize.Height()); in MakeVisible() 121 aVisArea.Top() + ((aVisAreaSize.Height() * nPercentBorder) / 200), in MakeVisible() 123 aVisArea.Bottom() - ((aVisAreaSize.Height() * nPercentBorder) / 200) in MakeVisible() 158 aNewPos.Y() -= aVisAreaSize.Height() / 2; in MakeVisible() 164 aNewPos.Y() += aVisAreaSize.Height() / 2; in MakeVisible() 172 while(rRect.Bottom() > aNewPos.Y() + aVisAreaSize.Height()) in MakeVisible()
|