/trunk/main/sc/source/core/data/ |
H A D | column2.cxx | 349 aSize.Width() = aSize.Height(); in GetNeededSize() 350 aSize.Height() = nTemp; in GetNeededSize() 362 nWidth = (long)( aSize.Width() * nCosAbs + aSize.Height() * nSinAbs ); in GetNeededSize() 374 nWidth = (long)( aSize.Height() / nSinAbs ); //! begrenzen? in GetNeededSize() 379 long nCmp = pDev->GetFont().GetSize().Height() * SC_ROT_BREAK_FACTOR; in GetNeededSize() 386 nValue = bWidth ? aSize.Width() : aSize.Height(); in GetNeededSize() 529 nWidth = (long)( aSize.Width() * nCosAbs + aSize.Height() * nSinAbs ); in GetNeededSize() 539 nWidth = (long)( aSize.Height() / nSinAbs ); //! begrenzen? in GetNeededSize() 547 nValue = aPixSize.Height(); in GetNeededSize() 552 long nCmp = aOldFont.GetSize().Height() * SC_ROT_BREAK_FACTOR; in GetNeededSize() [all …]
|
/trunk/main/sc/source/ui/view/ |
H A D | notemark.cxx | 66 aSizePixel.Height() += pBottomWin->GetOutputSizePixel().Height(); in ScNoteMarker() 143 aOrigin.Y() -= rMove.Height(); in lcl_MoveMapMode() 162 lcl_MoveMapMode( aMapMode, Size( 0, aWinSize.Height() ) ) ); in Draw() 184 lcl_MoveMapMode( aMapMode, Size( 0, aWinSize.Height() ) ), in InvalidateWin()
|
H A D | gridwin4.cxx | 134 aOuter.Bottom() += aTextSize.Height(); in lcl_DrawOneFrame() 136 aOuter.Top() -= aTextSize.Height(); in lcl_DrawOneFrame() 152 long nBHeight = nVer + aTextSize.Height() + 1; in lcl_DrawOneFrame() 1072 if ( aEnd.Y() > aWinSize.Height() + 10 ) in DrawPagePreview() 1073 aEnd.Y() = aWinSize.Height() + 10; in DrawPagePreview() 1393 if ( nCellSizeY < aBtnSize.Height() ) in GetListValButtonRect() 1394 aBtnSize.Height() = nCellSizeY; in GetListValButtonRect() 1400 aPos.Y() += nCellSizeY - aBtnSize.Height(); in GetListValButtonRect() 1459 if ( nCellSizeY < aBtnSize.Height() ) in DrawComboButton() 1460 aBtnSize.Height() = nCellSizeY; in DrawComboButton() [all …]
|
H A D | tabview2.cxx | 736 aWinSize.Height() += GetGridHeight( SC_SPLIT_TOP ); in CalcZoom() 748 nPPTX, nPPTY, nTest, aWinSize.Width(), aWinSize.Height(), in CalcZoom() 820 GetOutputSizePixel().Height(); in CalcZoom() 823 aWinSize.Height() += nOtherHeight; in CalcZoom() 824 aPageSize.Height() += pDoc->GetRowHeight( in CalcZoom() 828 else if ( nOtherHeight > aWinSize.Height() ) in CalcZoom() 829 aWinSize.Height() = nOtherHeight; in CalcZoom() 837 long nZoomY = (long) ( aWinSize.Height() * 100 / in CalcZoom() 838 ( aPageSize.Height() * nPPTY ) ); in CalcZoom()
|
/trunk/main/svx/source/dialog/ |
H A D | swframeexample.cxx | 220 aFrmSize.Height() = Max(5L, aFrmSize.Height()); in InitAllRects_Impl() 227 aDrawObj.SetSize(Size(Max(5L, (long)nFreeWidth / 3L), Max(5L, aFrmSize.Height() * 3L))); in InitAllRects_Impl() 535 lYPos = aRect.Bottom() - aFrmSize.Height() + 1; in Paint() 546 lYPos = aRect.Top() + (aRect.GetHeight() - aFrmSize.Height()) / 2; in Paint() 566 lYPos = aRect.Bottom() - aFrmSize.Height() + 1; in Paint() 578 lYPos = aRect.Top() + (aRect.GetHeight() - aFrmSize.Height()) / 2; in Paint() 584 lYPos = aRect.Bottom() - aFrmSize.Height() + 1; in Paint()
|
/trunk/main/svtools/source/filter/jpeg/ |
H A D | jpeg.cxx | 357 || aSize.Height()<=0 in CreateBitmap() 358 || sal_uInt64(aSize.Width())*sal_uInt64(aSize.Height())*(bGray?1:3) > MAX_BITMAP_BYTE_SIZE) in CreateBitmap() 420 pBmpBuf = pBuffer = rtl_allocateMemory( nAlignedWidth * aSize.Height() ); in CreateBitmap() 447 long nHeight = pAcc->Height(); in FillBitmap() 532 if( nLines && ( nLines < aSizePix.Height() ) ) in CreateIntermediateGraphic() 592 SetJpegPreviewSizeHint( aPreviewSize.Width(), aPreviewSize.Height() ); in Read() 743 for ( long nY = 0; bIsGrey && ( nY < pAcc->Height() ); nY++ ) in Write() 769 …bRet = (sal_Bool) WriteJPEG( this, &rOStm, pAcc->Width(), pAcc->Height(), bGreys, nQuality, &aCall… in Write()
|
/trunk/main/svx/source/svdraw/ |
H A D | svdograf.cxx | 1442 if( aSize.Height() != 0 && aSize.Width() != 0 ) in AdjustToMaxRect() 1449 ( aSize.Height() > aMaxSize.Height() ) || in AdjustToMaxRect() 1451 aSize.Height() && aMaxSize.Height() ) in AdjustToMaxRect() 1454 (float)aSize.Height(); in AdjustToMaxRect() 1456 (float)aMaxSize.Height(); in AdjustToMaxRect() 1461 aSize.Width() = (long)(aMaxSize.Height() * fGrfWH); in AdjustToMaxRect() 1462 aSize.Height()= aMaxSize.Height(); in AdjustToMaxRect() 1467 aSize.Height()= (long)(aMaxSize.Width() / fGrfWH); in AdjustToMaxRect() 1477 aPos.Y() -= aSize.Height() / 2; in AdjustToMaxRect()
|
H A D | svdomeas.cxx | 430 long nNeedSiz=!rRec.bTextRota90 ? rPol.aTextSize.Width() : rPol.aTextSize.Height(); in ImpCalcGeometrics() 514 long nNeedSiz=!rRec.bTextRota90 ? rPol.aTextSize.Width() : rPol.aTextSize.Height(); in ImpCalcGeometrics() 527 long nTextWdt=rRec.bTextRota90 ? rPol.aTextSize.Height() : rPol.aTextSize.Width(); in ImpCalcGeometrics() 650 if (aTextSize2.Height()<1) aTextSize2.Height()=1; in TakeUnrotatedSnapRect() 652 aTextSize2.Height()+=GetTextUpperDistance()+GetTextLowerDistance(); in TakeUnrotatedSnapRect() 680 case SDRMEASURETEXT_BREAKEDLINE: aTextPos.Y()=aPt1b.Y()-aTextSize2.Height()/2; break; in TakeUnrotatedSnapRect() 683 else aTextPos.Y()=aPt1b.Y()-aTextSize2.Height()-nLWdt; in TakeUnrotatedSnapRect() 686 if (!bUpsideDown) aTextPos.Y()=aPt1b.Y()-aTextSize2.Height()-nLWdt; in TakeUnrotatedSnapRect() 692 aTextPos.Y()+=aTextSize2.Height(); in TakeUnrotatedSnapRect() 698 default: aTextPos.X()=aPt1b.X(); aTextSize2.Height()=nLen; in TakeUnrotatedSnapRect() [all …]
|
/trunk/main/svx/source/xoutdev/ |
H A D | xtablend.cxx | 157 const Size aSize(rSize.Width() * 2, rSize.Height()); in CreateBitmapForUI() 161 const double fBorderDistance(aSize.Height() * 0.1); in CreateBitmapForUI() 163 aLine.append(basegfx::B2DPoint(fBorderDistance, aSize.Height() / 2)); in CreateBitmapForUI() 164 aLine.append(basegfx::B2DPoint(aSize.Width() - fBorderDistance, aSize.Height() / 2)); in CreateBitmapForUI() 174 const double fArrowHeight(aSize.Height() - (2.0 * fBorderDistance)); in CreateBitmapForUI()
|
/trunk/main/svtools/source/filter/ |
H A D | FilterConfigItem.cxx | 348 pPropHeight->Value >>= aRetValue.Height; in ReadSize() 357 aAny >>= aRetValue.Height; in ReadSize() 371 aHeight.Value <<= aRetValue.Height; in ReadSize() 494 aHeight.Value <<= rNewValue.Height; in WriteSize() 501 sal_Int32 nOldHeight = rNewValue.Height; in WriteSize() 515 if ( ( nOldWidth != rNewValue.Width ) || ( nOldHeight != rNewValue.Height ) ) in WriteSize() 519 aAny <<= rNewValue.Height; in WriteSize()
|
/trunk/main/starmath/source/ |
H A D | unomodel.cxx | 575 aSize.Height() = nVal; in _setPropertyValues() 825 sal_Int16 nVal = static_cast < sal_Int16 > (aFormat.GetBaseSize().Height()); in _getPropertyValues() 1012 aRes.Height() = aInfo.getHeight(); in lcl_GuessPaperSize() 1019 aRes.Height() = aInfo.getHeight(); in lcl_GuessPaperSize() 1046 if (aPrtPaperSize.Height() == 0 || aPrtPaperSize.Width() == 0) in getRenderer() 1048 awt::Size aPageSize( aPrtPaperSize.Width(), aPrtPaperSize.Height() ); in getRenderer() 1118 if (aPrtPaperSize.Height() == 0 || aPrtPaperSize.Width() == 0) in render() 1123 (long)(aPrtPaperSize.Height() * 0.961)); in render() 1125 (long)(aPrtPaperSize.Height() * 0.0214)); in render() 1134 if ((aPrtPaperSize.Height() - (aPrtPageOffset.Y() + OutputRect.Bottom())) < 2000) in render() [all …]
|
/trunk/main/svtools/source/dialogs/ |
H A D | property.cxx | 507 nXButtonWidth=(sal_uInt16)aSize.Height(); in Resize() 686 nRowHeight=(sal_uInt16)aListBox.GetSizePixel().Height(); in SvListBoxForProperties() 708 nRowHeight=(sal_uInt16)aListBox.GetSizePixel().Height(); in SvListBoxForProperties() 755 aVScrollSize.Height()=aSize.Height(); in Resize() 777 nResult=(sal_uInt16) aSize.Height()/nRowHeight; in CalcVisibleLines() 812 aSize.Height()=nRowHeight; in UpdatePosNSize() 825 aSize.Height()=nRowHeight; in UpdatePosNSize() 863 aSize.Height()=nRowHeight; in UpdatePlayGround() 1151 aSize.Height()-=6; in Resize() 1202 aSize.Height()-=6; in Resize()
|
/trunk/main/filter/source/pdf/ |
H A D | pdfexport.cxx | 219 const Size aMtfSize( aPageSize.Width, aPageSize.Height ); in ExportSelection() 243 ( !mbSkipEmptyPages || aPageSize.Width || aPageSize.Height ) ) in ExportSelection() 1022 rWriter.NewPage( aSizePDF.Width(), aSizePDF.Height() ); in ImplExportPage() 1060 …Font aFont( OUString( RTL_CONSTASCII_USTRINGPARAM( "Helvetica" ) ), Size( 0, 3*rPageSize.Height()/… in ImplWriteWatermark() 1066 if( rPageSize.Width() < rPageSize.Height() ) in ImplWriteWatermark() 1068 nTextWidth = rPageSize.Height(); in ImplWriteWatermark() 1107 if( rPageSize.Width() > rPageSize.Height() ) in ImplWriteWatermark() 1110 rPageSize.Height()-(rPageSize.Height()-nTextHeight)/2 ); in ImplWriteWatermark() 1112 (rPageSize.Height()-nTextHeight)/2 ), in ImplWriteWatermark() 1118 (rPageSize.Height()-w)/2 ); in ImplWriteWatermark()
|
/trunk/main/svtools/source/filter/wmf/ |
H A D | winwmf.cxx | 273 pOut->DrawRoundRect( ReadRectangle(), Size( aSize.Width() / 2, aSize.Height() / 2 ) ); in ReadRecordParams() 573 ( ( nSy + nSye <= aBmp.GetSizePixel().Height() ) ) ) in ReadRecordParams() 615 … if ( aDestSize.Width() && aDestSize.Height() ) // #92623# do not try to read buggy bitmaps in ReadRecordParams() 624 ( ( nSy + nSye <= aBmp.GetSizePixel().Height() ) ) ) in ReadRecordParams() 648 for ( sal_Int32 y = 0; y < pBmp->Height(); y++ ) in ReadRecordParams() 659 nCount = pBmp->Height() * pBmp->Width(); in ReadRecordParams() 760 aLogFont.lfHeight = aFontSize.Height(); in ReadRecordParams() 1051 if( ( labs( aWMFSize.Width() ) > 1 ) && ( labs( aWMFSize.Height() ) > 1 ) ) in ReadHeader() 1056 aDevExt = Size( labs( aSize100.Width() ), labs( aSize100.Height() ) ); in ReadHeader() 1155 … pOut->SetrclFrame( Rectangle(0, 0, aMeta.GetPrefSize().Width(), aMeta.GetPrefSize().Height() )); in ReadWMF() [all …]
|
/trunk/main/oox/source/drawingml/chart/ |
H A D | converterbase.cxx | 368 orRect.Y = lclCalcPosition( rChartSize.Height, mrModel.mfY, mrModel.mnYMode ); in calcAbsRectangle() 372 … orRect.Height = lclCalcSize( orRect.Y, rChartSize.Height, mrModel.mfH, mrModel.mnHMode ); in calcAbsRectangle() 373 return (orRect.Width > 0) && (orRect.Height > 0); in calcAbsRectangle() 410 lclCalcPosition( rChartSize.Height, mrModel.mfY, mrModel.mnYMode ) ); in convertFromModel() 419 aShapePos.X += static_cast< sal_Int32 >( fSin * aShapeSize.Height + 0.5 ); in convertFromModel()
|
/trunk/main/chart2/source/view/main/ |
H A D | VLegendSymbolFactory.cxx | 135 xLine->setPosition( awt::Point( 0, rEntryKeyAspectRatio.Height/2 )); in createSymbol() 141 … const sal_Int32 nSize = std::min(rEntryKeyAspectRatio.Width,rEntryKeyAspectRatio.Height); in createSymbol() 146 … drawing::Position3D aPos( rEntryKeyAspectRatio.Width/2, rEntryKeyAspectRatio.Height/2, 0 ); in createSymbol() 184 … sal_Int32 nSize = std::min( rEntryKeyAspectRatio.Width, rEntryKeyAspectRatio.Height ); in createSymbol() 186 …ition( awt::Point( rEntryKeyAspectRatio.Width/2-nSize/2, rEntryKeyAspectRatio.Height/2-nSize/2 ) ); in createSymbol()
|
/trunk/main/sw/source/core/view/ |
H A D | vdraw.cxx | 338 aSz.Height() = (aRect.Bottom() - aBound.Top()) - MINFLY; in NotifySizeChg() 339 if ( aSz.Width() || aSz.Height() ) in NotifySizeChg() 343 aSz.Width() = aSz.Height() = 0; in NotifySizeChg() 347 aSz.Height() = (aBound.Right() - aRect.Left()) - MINFLY; in NotifySizeChg() 348 if ( aSz.Width() || aSz.Height() ) in NotifySizeChg()
|
/trunk/main/sw/source/ui/shells/ |
H A D | drwbassh.cxx | 856 aSize.Width() = aSize.Height(); in IMPL_LINK() 857 aSize.Height() = nTmp; in IMPL_LINK() 932 : aBoundRect.Height() ) - in IMPL_LINK() 944 : aBoundRect.Height() ) - pValidation->nVPos; in IMPL_LINK() 960 pValidation->nMaxVPos = aBoundRect.Height() - pValidation->nHeight; in IMPL_LINK() 978 pValidation->nMaxHeight = aBoundRect.Height(); in IMPL_LINK() 981 pValidation->nMaxVPos = aBoundRect.Height(); in IMPL_LINK() 982 pValidation->nMinVPos = -aBoundRect.Height() + pValidation->nHeight; in IMPL_LINK() 986 pValidation->nMaxVPos = -aBoundRect.Height(); in IMPL_LINK()
|
/trunk/main/vcl/win/source/gdi/ |
H A D | salbmp.cxx | 240 if(maSize.Width() > 0 && maSize.Height() > 0) in ImplGetGdiPlusBitmap() 687 const int nLines = (int) rSalBmp.maSize.Height(); in Create() 762 if( rSize.Width() <= 0 || rSize.Height() <= 0 ) in ImplCreateDIB() 767 const sal_uLong nImageSize = nAlignedWidth4Bytes * rSize.Height(); in ImplCreateDIB() 768 bool bOverflow = (nImageSize / nAlignedWidth4Bytes) != rSize.Height(); in ImplCreateDIB() 788 pBIH->biHeight = rSize.Height(); in ImplCreateDIB() 909 pBuffer->mnHeight = maSize.Height(); in AcquireBuffer() 989 HPBYTE pLast = pDIB + rSizePixel.Height() * nWidthAl - 1; in ImplDecodeRLEBuffer() 1085 rData.mnHeight = rSize.Height(); in GetSystemData()
|
/trunk/main/svtools/source/contnr/ |
H A D | svlbitm.cxx | 132 nHeight = aSize.Height(); in SetWidthAndHeight() 420 Size aSize(pData->Width(), pData->Height()); in Paint() 480 if( aContentSize.Height() + 2 > io_rSize.Height() ) in ImplAdjustBoxSize() 481 io_rSize.Height() = aContentSize.Height() + 2; in ImplAdjustBoxSize() 492 Size aSize( pData->Width(), pData->Height() ); in InitViewData()
|
/trunk/main/reportdesign/source/ui/report/ |
H A D | propbrw.cxx | 208 m_xBrowserComponentWindow->setPosSize(0, 0, aPropWinSize.Width(), aPropWinSize.Height(), in DBG_NAME() 465 aMinSize.Height += 4; in getMinimumSize() 467 aSize.setHeight( aMinSize.Height ); in getMinimumSize() 489 if( aSize.Height() < aMinSize.Height() ) in Resize() 491 aSize.setHeight( aMinSize.Height() ); in Resize() 501 m_xBrowserComponentWindow->setPosSize(0, 0, aSize.Width(), aSize.Height(), in Resize()
|
/trunk/main/canvas/source/vcl/ |
H A D | spritecanvashelper.cxx | 404 rTargetSizePixel.Height() ); in scrollUpdate() 552 … ::std::min( static_cast< sal_Int32 >(rTargetSizePixel.Height() - aOutputPosition.Y()), in genericUpdate() 557 aOutputSize.Height() == 0 ) in genericUpdate() 568 aCurrOutputSize.Height() < aOutputSize.Height() ) in genericUpdate() 699 rVDevSize.Width()*rVDevSize.Height() * BYTES_PER_PIXEL + in renderMemUsage() 700 … rBackBufferSize.Width()*rBackBufferSize.Height() * BYTES_PER_PIXEL ); in renderMemUsage()
|
/trunk/main/sw/source/core/layout/ |
H A D | pagechg.cxx | 114 SwTwips nHeight = GetUpper()->Prt().Height(); in Format() 124 nHeight -= pFrm->Frm().Height(); in Format() 130 Frm().Height( nHeight ); in Format() 183 Prt().Height( Frm().Height() ); in Format() 226 Frm().Height( 0 ); in SwPageFrm() 658 Frm().Height( Max( rSz.GetHeight(), long(MINLAY) ) ); in _UpdateAttr() 676 if ( aOldPageFrmRect.Height() != Frm().Height() ) in _UpdateAttr() 1437 Frm().SSize().Height() += nDist; in GrowFrm() 1451 ASSERT( nDist <= Frm().Height(), "nDist > als aktuelle Groesse." ); in ShrinkFrm() 1454 Frm().SSize().Height() -= nDist; in ShrinkFrm() [all …]
|
/trunk/main/svtools/source/control/ |
H A D | toolbarmenuacc.cxx | 364 const Point aSize( aRect.Width, aRect.Height ); in containsPoint() 415 aRet.Height = aOutSize.Height(); in getBounds() 447 return awt::Size( aOutSize.Width(), aOutSize.Height() ); in getSize() 894 const Point aSize( aRect.Width, aRect.Height ); in containsPoint() 926 aRet.Height = aRect.GetHeight(); in getBounds() 966 aRet.Height = aRect.Height; in getSize()
|
/trunk/main/toolkit/inc/toolkit/awt/ |
H A D | vclxgraphics.hxx | 130 …L drawRect( ::sal_Int32 X, ::sal_Int32 Y, ::sal_Int32 Width, ::sal_Int32 Height ) throw (::com::su… 131 …oundedRect( ::sal_Int32 X, ::sal_Int32 Y, ::sal_Int32 Width, ::sal_Int32 Height, ::sal_Int32 nHorz… 135 …rawEllipse( ::sal_Int32 X, ::sal_Int32 Y, ::sal_Int32 Width, ::sal_Int32 Height ) throw (::com::su… 136 …LL drawArc( ::sal_Int32 X, ::sal_Int32 Y, ::sal_Int32 Width, ::sal_Int32 Height, ::sal_Int32 X1, :… 137 …LL drawPie( ::sal_Int32 X, ::sal_Int32 Y, ::sal_Int32 Width, ::sal_Int32 Height, ::sal_Int32 X1, :… 139 …radient( ::sal_Int32 nX, ::sal_Int32 nY, ::sal_Int32 nWidth, ::sal_Int32 Height, const ::com::sun:…
|