/trunk/main/cui/source/dialogs/ |
H A D | dlgname.cxx | 66 long nHeight = aSize.Height(); in SvxNameDialog() local 67 aSize.Height() = nHeight * nLines; in SvxNameDialog() 70 aPnt.Y() += ( aSize.Height() - nHeight ); in SvxNameDialog()
|
/trunk/main/vcl/source/window/ |
H A D | dockmgr.cxx | 86 long nWidth, long nHeight, 289 long nWidth, long nHeight, in SetPosSizePixel() argument 292 FloatingWindow::SetPosSizePixel( nX, nY, nWidth, nHeight, nFlags ); in SetPosSizePixel() 488 long nWidth, long nHeight, in SetPosSizePixel() argument 493 pWrapper->SetPosSizePixel( nX, nY, nWidth, nHeight, nFlags ); in SetPosSizePixel() 1493 long nWidth, long nHeight, in SetPosSizePixel() argument 1497 mpFloatWin->SetPosSizePixel( nX, nY, nWidth, nHeight, nFlags ); in SetPosSizePixel() 1499 GetWindow()->SetPosSizePixel( nX, nY, nWidth, nHeight, nFlags ); in SetPosSizePixel()
|
H A D | toolbox.cxx | 910 long nHeight; in ImplCalcFloatSizes() local 923 nHeight = ImplCalcSize( pThis, nTempLines, TB_CALCMODE_FLOAT ).Height(); in ImplCalcFloatSizes() 925 pThis->mpFloatSizeAry->mpSize[i].mnHeight = nHeight; in ImplCalcFloatSizes() 1894 long nHeight; in ImplCalcItem() local 2055 nHeight = it->mpWindow->GetSizePixel().Height(); in ImplCalcItem() 2056 if ( nHeight > mnWinHeight ) in ImplCalcItem() 2057 mnWinHeight = nHeight; in ImplCalcItem()
|
/trunk/main/vcl/source/control/ |
H A D | tabctrl.cxx | 350 Rectangle TabControl::ImplGetTabRect( sal_uInt16 nItemPos, long nWidth, long nHeight ) in ImplGetTabRect() argument 355 if ( nHeight < 0 ) in ImplGetTabRect() 356 nHeight = aWinSize.Height(); in ImplGetTabRect() 361 long nH = nHeight-TAB_OFFSET*2; in ImplGetTabRect() 375 Rectangle aRect = ImplGetTabRect( nLastPos, nWidth, nHeight ); in ImplGetTabRect() 377 long nH = nHeight-aRect.Bottom()-TAB_OFFSET*2; in ImplGetTabRect() 386 if ( (nWidth <= 0) || (nHeight <= 0) ) in ImplGetTabRect() 389 if ( mbFormat || (mnLastWidth != nWidth) || (mnLastHeight != nHeight) ) in ImplGetTabRect() 543 mnLastHeight = nHeight; in ImplGetTabRect()
|
/trunk/main/editeng/source/editeng/ |
H A D | editdoc2.cxx | 195 nHeight = 0; in ParaPortion() 389 long nHeight = 0; in GetYOffset() local 394 return nHeight; in GetYOffset() 395 nHeight += pTmpPortion->GetHeight(); in GetYOffset() 398 return nHeight; in GetYOffset()
|
H A D | impedit2.cxx | 1522 long nHeight = GetTextHeight(); in PageDown() local 1523 if ( aBottomRight.Y() > nHeight ) in PageDown() 1525 aBottomRight.Y() = nHeight-2; in PageDown() 3414 sal_uInt32 nHeight = 0; in GetParaHeight() local 3420 nHeight = pPPortion->GetHeight(); in GetParaHeight() 3422 return nHeight; in GetParaHeight() 4311 pPortion->nHeight = 0; in CalcHeight() 4331 pPortion->nHeight += nSBL; in CalcHeight() 4338 pPortion->nHeight += nUpper; in CalcHeight() 4375 pPortion->nHeight -= pPortion->nFirstLineOffset; in CalcHeight() [all …]
|
/trunk/main/sw/source/ui/frmdlg/ |
H A D | colex.cxx | 350 long nHeight = m_aFrmSize.Height(); in SwColumnOnlyExample() local 351 Fraction aScale( m_aWinSize.Height(), nHeight ); in SwColumnOnlyExample()
|
/trunk/main/vcl/source/gdi/ |
H A D | outdev3.cxx | 3179 nWidth = nHeight; in ImplDrawTextRect() 3180 nHeight = nTemp; in ImplDrawTextRect() 3181 nY -= nHeight; in ImplDrawTextRect() 3188 nY -= nHeight; in ImplDrawTextRect() 3197 nHeight = nTemp; in ImplDrawTextRect() 3264 nHeight = nY2-nY; in ImplGetTextBoundRect() 3526 if ( !nHeight ) in ImplDrawWaveLine() 4277 if ( !nHeight ) in ImplGetEmphasisMark() 5674 nHeight = ImplDevicePixelToLogicHeight( nHeight ); in GetTextHeight() 5676 return nHeight; in GetTextHeight() [all …]
|
/trunk/main/vcl/aqua/source/gdi/ |
H A D | salgdi.cxx | 717 CGRect aRect( CGRectMake(nX, nY, nWidth, nHeight) ); in drawRect() 732 RefreshRect( nX, nY, nWidth, nHeight ); in drawRect() 774 long nX = 0, nY = 0, nWidth = 0, nHeight = 0; in drawPolyLine() local 775 getBoundRect( nPoints, pPtAry, nX, nY, nWidth, nHeight ); in drawPolyLine() 790 RefreshRect( nX, nY, nWidth, nHeight ); in drawPolyLine() 802 long nX = 0, nY = 0, nWidth = 0, nHeight = 0; in drawPolygon() local 803 getBoundRect( nPoints, pPtAry, nX, nY, nWidth, nHeight ); in drawPolygon() 838 RefreshRect( nX, nY, nWidth, nHeight ); in drawPolygon() 1466 nY = /*mnHeight*/ - (nY + nHeight); in drawEPS() 2474 nWidth, nHeight, nBitsPerComponent, nBytesPerRow, in SetTarget() [all …]
|
/trunk/main/sw/source/filter/ww8/ |
H A D | ww8par.cxx | 4747 int nHeight = aFont.GetHeight() * 12; in CoreLoad() local 4751 int nWidth = (nHeight * aPrefSize.Width()) / aPrefSize.Height(); in CoreLoad() 4752 Size aSize(nWidth, nHeight); in CoreLoad()
|
H A D | ww8atr.cxx | 1419 long nHeight = ((SvxFontHeightItem&)m_rWW8Export.GetItem( in CharEscapement() local 1426 m_rWW8Export.InsUInt16( (short)(( nHeight * nEsc + 500 ) / 1000 )); in CharEscapement() 1436 msword_cast<sal_uInt16>((nHeight * nProp + 500 ) / 1000)); in CharEscapement() 2955 long nHeight = ((SvxFontHeightItem&)(GetExport().GetItem( in TextField() local 2958 nHeight = (nHeight + 10) / 20; //Font Size in points; in TextField() 2968 sStr += String::CreateFromInt32(nHeight/2); in TextField() 2973 sStr += String::CreateFromInt32(nHeight/5); in TextField() 3748 sal_uInt16 nHeight = rGrid.GetBaseHeight() + rGrid.GetRubyHeight(); in FormatTextGrid() local 3750 m_rWW8Export.InsUInt16( nHeight ); in FormatTextGrid()
|
/trunk/main/sw/source/core/layout/ |
H A D | paintfrm.cxx | 1157 if ( nHeight ) in lcl_AlignHeight() 1159 const long nH = nHeight % nPixelSzH; in lcl_AlignHeight() 1162 return Max(1L, nHeight - nHalfPixelSzH); in lcl_AlignHeight() 1164 return nHeight; in lcl_AlignHeight() 4005 rOutRect.Bottom( rOutRect.Bottom()- nHeight ); in PaintShadow() 4033 rOutRect.Top( rOutRect.Top() + nHeight ); in PaintShadow() 4061 rOutRect.Top( rOutRect.Top() + nHeight ); in PaintShadow() 5148 if( nHeight > 0 ) in PaintGrid() 5206 if( nHeight > 0 ) in PaintGrid() 5279 if( nHeight ) in PaintGrid() [all …]
|
/trunk/main/sw/source/core/text/ |
H A D | itrcrsr.cxx | 1493 KSHORT nHeight = pPor->Height(); in GetCrsrOfst() local 1494 if ( !nHeight || nHeight > nWidth ) in GetCrsrOfst() 1495 nHeight = nWidth; in GetCrsrOfst() 1496 if( nChgNode && nWidth - nHeight/2 > nX ) in GetCrsrOfst() 1513 KSHORT nHeight = 0; in GetCrsrOfst() local 1516 nHeight = pPor->Height(); in GetCrsrOfst() 1517 if ( !nHeight || nHeight > nWidth ) in GetCrsrOfst() 1518 nHeight = nWidth; in GetCrsrOfst() 1521 if( nWidth - nHeight/2 <= nX && in GetCrsrOfst()
|
H A D | txtfly.cxx | 344 const long nHeight = GetCurr()->GetRealHeight(); in ChkFlyUnderflow() local 384 rInf.SetLineHeight( KSHORT(nHeight) ); in ChkFlyUnderflow() 411 rInf.SetLineHeight( KSHORT(nHeight) ); in ChkFlyUnderflow() 447 long nHeight; in CalcFlyWidth() local 454 nHeight = rInf.GetLineNettoHeight(); in CalcFlyWidth() 455 nTop += rInf.GetLineHeight() - nHeight; in CalcFlyWidth() 460 nHeight = pLast->Height(); in CalcFlyWidth() 466 if ( pCurr->GetRealHeight() > nHeight ) in CalcFlyWidth() 467 nTop += pCurr->GetRealHeight() - nHeight; in CalcFlyWidth() 470 nHeight = pCurr->GetRealHeight(); in CalcFlyWidth() [all …]
|
H A D | pormulti.cxx | 119 KSHORT nTmp = ((SwDoubleLinePortion*)this)->GetBrackets()->nHeight; in CalcSize() 382 aBlank.Height( pBracket->nHeight ); in PaintBracket() 428 pBracket->nHeight = 0; in FormatBrackets() 438 pBracket->nHeight = aSize.Height(); in FormatBrackets() 464 pBracket->nHeight += nTmpAsc - pBracket->nAscent; in FormatBrackets() 467 if( aSize.Height() > pBracket->nHeight ) in FormatBrackets() 468 pBracket->nHeight = aSize.Height(); in FormatBrackets()
|
/trunk/main/svx/source/svdraw/ |
H A D | svdomeas.cxx | 360 long nHeight(basegfx::fround(aPolygonRange.getHeight() * fScale)); in impGetLineStartEndDistance() local 364 nHeight /= 2L; in impGetLineStartEndDistance() 367 return nHeight; in impGetLineStartEndDistance()
|
/trunk/main/svtools/source/edit/ |
H A D | texteng.cxx | 1372 sal_uLong nHeight = 0; in CalcParaHeight() local 1377 nHeight = pPPortion->GetLines().Count() * mnCharHeight; in CalcParaHeight() 1379 return nHeight; in CalcParaHeight()
|
/trunk/main/vbahelper/source/msforms/ |
H A D | vbacontrol.cxx | 257 double nHeight = 0.0; in Move() local 265 if ( Height >>= nHeight ) in Move() 266 setHeight( nHeight ); in Move()
|
/trunk/main/sd/source/core/ |
H A D | sdpage.cxx | 2014 sal_uLong nHeight = pObj->GetLogicRect().GetSize().Height(); in ScaleObjects() local 2015 sal_uLong nFontHeight = (sal_uLong) (nHeight * 0.0741); in ScaleObjects()
|
/trunk/main/filter/source/graphicfilter/eps/ |
H A D | eps.cxx | 1475 ImplWriteDouble( nHeight ); in ImplRect() 1496 ImplWriteDouble( nHeight ); in ImplRectFill() 1720 long nHeight = nHeightLeft; in ImplBmp() local 1735 if ( nHeight > 10 ) in ImplBmp() 1736 nHeight = 8; in ImplBmp() 1748 nHeight >>= 1; in ImplBmp() 1749 if ( nHeight < 2 ) in ImplBmp() 1824 ImplWriteLong( nHeight ); in ImplBmp() 1828 ImplWriteLong( -nHeight ); in ImplBmp() 1830 ImplWriteLong( nHeight ); in ImplBmp() [all …]
|
/trunk/main/filter/source/flash/ |
H A D | swfwriter1.cxx | 658 sal_Int16 nHeight = _Int16( map( Size( 0, aFont.GetHeight() ) ).Height() ); in Impl_writeText() local 678 mpTag->addUI16( _uInt16( nHeight ) ); in Impl_writeText() 763 …x& aBmpEx, sal_uInt8*& tgadata, sal_uInt8*& tgaAlphadata, sal_uInt32& nWidth, sal_uInt32& nHeight ) in getBitmapData() argument 774 nHeight = pRAcc->Height(); in getBitmapData() 775 tgadata = new sal_uInt8[nWidth*nHeight*4]; in getBitmapData() 776 tgaAlphadata = new sal_uInt8[nWidth*nHeight]; in getBitmapData() 794 for( sal_uInt32 nY = 0; nY < nHeight; nY++ ) in getBitmapData()
|
/trunk/main/svtools/source/misc/ |
H A D | embedhlp.cxx | 778 long nHeight = rRect.GetHeight() - pOut->GetTextHeight(); in DrawPaintReplacement() local 780 if( nHeight > 0 ) in DrawPaintReplacement() 782 aPt.Y() = nHeight; in DrawPaintReplacement() 786 if( nHeight * 10 / nWidth in DrawPaintReplacement() 793 aP.Y() += (nHeight - nH) / 2; in DrawPaintReplacement() 794 nHeight = nH; in DrawPaintReplacement() 800 long nW = nHeight * aBmpSize.Width() / aBmpSize.Height(); in DrawPaintReplacement() 806 pOut->DrawBitmap( aP, Size( nWidth, nHeight ), aBmp ); in DrawPaintReplacement()
|
/trunk/main/filter/source/msfilter/ |
H A D | svdfppt.cxx | 3746 rNumberFormat.SetGraphicSize( Size( nWidth, nHeight ) ); in ImplGetExtNumberFormat() 5874 sal_uInt32 nHeight = rManager.ScalePoint( nVal ); in ApplyTo() local 5875 rSet.Put( SvxFontHeightItem( nHeight, 100, EE_CHAR_FONTHEIGHT ) ); in ApplyTo() 5876 rSet.Put( SvxFontHeightItem( nHeight, 100, EE_CHAR_FONTHEIGHT_CJK ) ); in ApplyTo() 5923 const long nHeight = aSize.Height(); in ApplyTo() local 5927 for( long nY = 0L; nY < nHeight; nY++ ) in ApplyTo() 5938 for( long nY = 0L; nY < nHeight; nY++ ) in ApplyTo() 7584 sal_Int32 nHeight; in CreateTableRows() local 7587 nHeight = *aIter - nLastPosition; in CreateTableRows() 7591 nHeight = nTableBottom - nLastPosition; in CreateTableRows() [all …]
|
/trunk/main/sw/source/filter/html/ |
H A D | htmlplug.cxx | 177 nPrcHeight = (sal_uInt8)rCSS1PropInfo.nHeight; in SetFixSize() 182 aTwipSz.Height() = rCSS1PropInfo.nHeight; in SetFixSize()
|
/trunk/main/sc/source/ui/vba/ |
H A D | vbarange.cxx | 3952 double nHeight = lcl_Round2DecPlaces( lcl_TwipsToPoints( nRowTwips ) ); in getRowHeight() local 3953 return uno::makeAny( nHeight ); in getRowHeight() 3969 double nHeight = 0; // Incoming height is in points in setRowHeight() local 3970 _rowheight >>= nHeight; in setRowHeight() 3971 nHeight = lcl_Round2DecPlaces( nHeight ); in setRowHeight() 3974 sal_uInt16 nTwips = lcl_pointsToTwips( nHeight ); in setRowHeight() 4065 double nHeight = 0; in getHeight() local 4069 nHeight += getCalcRowHeight(xAddressable->getRangeAddress() ); in getHeight() 4071 return uno::makeAny( nHeight ); in getHeight()
|