/aoo42x/main/cppcanvas/source/mtfrenderer/ |
H A D | mtftools.cxx | 69 const ::FontMetric& aMetric = rVDev.GetFontMetric(); in getBaselineOffset() local 77 aMetric.GetIntLeading() + aMetric.GetAscent() ); in getBaselineOffset() 88 -aMetric.GetDescent() ); in getBaselineOffset() 314 const ::FontMetric aMetric = rVDev.GetFontMetric(); in createTextLineInfo() local 317 (aMetric.GetDescent() + 2) / 4.0, in createTextLineInfo() 318 ((aMetric.GetIntLeading() + 1.5) / 3.0), in createTextLineInfo() 319 (aMetric.GetIntLeading() / 2.0) - aMetric.GetAscent(), in createTextLineInfo() 320 aMetric.GetDescent() / 2.0, in createTextLineInfo() 321 (aMetric.GetIntLeading() - aMetric.GetAscent()) / 3.0, in createTextLineInfo()
|
/aoo42x/main/canvas/source/vcl/ |
H A D | canvasfont.cxx | 131 const ::FontMetric& aMetric( aVDev.GetFontMetric() ); in getFontMetrics() local 134 aMetric.GetAscent(), in getFontMetrics() 135 aMetric.GetDescent(), in getFontMetrics() 136 aMetric.GetIntLeading(), in getFontMetrics() 137 aMetric.GetExtLeading(), in getFontMetrics() 139 aMetric.GetDescent() / 2.0, in getFontMetrics() 140 aMetric.GetAscent() / 2.0); in getFontMetrics()
|
H A D | textlayout.cxx | 253 const ::FontMetric& aMetric( aVDev.GetFontMetric() ); in queryTextBounds() local 257 const sal_Int32 nAboveBaseline( /*-aMetric.GetIntLeading()*/ - aMetric.GetAscent() ); in queryTextBounds() 258 const sal_Int32 nBelowBaseline( aMetric.GetDescent() ); in queryTextBounds()
|
/aoo42x/main/filter/source/flash/ |
H A D | swfwriter1.cxx | 426 const FontMetric aMetric( mpVDev->GetFontMetric() ); in Impl_writeText() local 428 …bool bTextSpecial = aMetric.IsShadow() || aMetric.IsOutline() || (aMetric.GetRelief() != RELIEF_NO… in Impl_writeText() 436 if( aMetric.GetRelief() != RELIEF_NONE ) in Impl_writeText() 451 if ( aMetric.GetRelief() == RELIEF_ENGRAVED ) in Impl_writeText() 465 if( aMetric.IsShadow() ) in Impl_writeText() 467 long nOff = 1 + ((aMetric.GetLineHeight()-24)/24); in Impl_writeText() 468 if ( aMetric.IsOutline() ) in Impl_writeText() 481 if( !aMetric.IsOutline() ) in Impl_writeText() 487 if( aMetric.IsOutline() ) in Impl_writeText() 594 aBaseLinePos.Y() += aMetric.GetAscent(); in Impl_writeText() [all …]
|
/aoo42x/main/sw/source/ui/envelp/ |
H A D | labfmt.cxx | 344 FieldUnit aMetric = ::GetDfltMetric(sal_False); in SwLabFmtPage() local 345 SetMetric(aHDistField , aMetric); in SwLabFmtPage() 346 SetMetric(aVDistField , aMetric); in SwLabFmtPage() 347 SetMetric(aWidthField , aMetric); in SwLabFmtPage() 348 SetMetric(aHeightField, aMetric); in SwLabFmtPage() 349 SetMetric(aLeftField , aMetric); in SwLabFmtPage() 350 SetMetric(aUpperField , aMetric); in SwLabFmtPage() 351 SetMetric(aPaperWidthField, aMetric); in SwLabFmtPage() 352 SetMetric(aPaperHeightField, aMetric); in SwLabFmtPage()
|
H A D | envfmt.cxx | 130 FieldUnit aMetric = ::GetDfltMetric(sal_False); in SwEnvFmtPage() local 131 SetMetric(aAddrLeftField, aMetric); in SwEnvFmtPage() 132 SetMetric(aAddrTopField, aMetric); in SwEnvFmtPage() 133 SetMetric(aSendLeftField, aMetric); in SwEnvFmtPage() 134 SetMetric(aSendTopField, aMetric); in SwEnvFmtPage() 135 SetMetric(aSizeWidthField, aMetric); in SwEnvFmtPage() 136 SetMetric(aSizeHeightField, aMetric); in SwEnvFmtPage()
|
/aoo42x/main/canvas/source/cairo/ |
H A D | cairo_textlayout.cxx | 204 const ::FontMetric& aMetric( aVDev.GetFontMetric() ); in queryTextBounds() local 208 const sal_Int32 nAboveBaseline( -aMetric.GetIntLeading() - aMetric.GetAscent() ); in queryTextBounds() 209 const sal_Int32 nBelowBaseline( aMetric.GetDescent() ); in queryTextBounds() 581 FontMetric aMetric( rOutDev.GetFontMetric(aFont) ); in draw() local 595 nWidth = aFont.GetWidth() * aFont.GetHeight() / aMetric.GetHeight(); in draw() 612 aMetric.GetWidth(), in draw()
|
/aoo42x/main/sw/source/ui/misc/ |
H A D | pgfnote.cxx | 175 FieldUnit aMetric = ::GetDfltMetric(sal_False); in SwFootNotePage() local 176 SetMetric( aMaxHeightEdit, aMetric ); in SwFootNotePage() 177 SetMetric( aDistEdit, aMetric ); in SwFootNotePage() 178 SetMetric( aLineDistEdit, aMetric ); in SwFootNotePage()
|
/aoo42x/main/canvas/source/directx/ |
H A D | dx_textlayout_drawhelper.cxx | 327 const ::FontMetric& aMetric( aVirtualDevice.GetFontMetric() ); in queryTextBounds() local 329 const sal_Int32 nAboveBaseline( -aMetric.GetIntLeading() - aMetric.GetAscent() ); in queryTextBounds() 330 const sal_Int32 nBelowBaseline( aMetric.GetDescent() ); in queryTextBounds()
|
/aoo42x/main/vcl/source/gdi/ |
H A D | outdev3.cxx | 7297 FontMetric aMetric; in GetFontMetric() local 7299 return aMetric; in GetFontMetric() 7305 aMetric.Font::operator=( maFont ); in GetFontMetric() 7308 aMetric.SetName( maFont.GetName() ); in GetFontMetric() 7312 aMetric.SetFamily( pMetric->meFamily ); in GetFontMetric() 7313 aMetric.SetPitch( pMetric->mePitch ); in GetFontMetric() 7314 aMetric.SetWeight( pMetric->meWeight ); in GetFontMetric() 7315 aMetric.SetItalic( pMetric->meItalic ); in GetFontMetric() 7344 return aMetric; in GetFontMetric() 7354 FontMetric aMetric( GetFontMetric() ); in GetFontMetric() local [all …]
|
/aoo42x/main/sw/source/ui/frmdlg/ |
H A D | wrap.cxx | 237 FieldUnit aMetric = ::GetDfltMetric(bHtmlMode); in Reset() local 238 SetMetric( aLeftMarginED , aMetric ); in Reset() 239 SetMetric( aRightMarginED , aMetric ); in Reset() 240 SetMetric( aTopMarginED , aMetric ); in Reset() 241 SetMetric( aBottomMarginED, aMetric ); in Reset()
|
H A D | column.cxx | 630 FieldUnit aMetric = ::GetDfltMetric(bHtmlMode); in Reset() local 631 SetMetric(aEd1, aMetric); in Reset() 632 SetMetric(aEd2, aMetric); in Reset() 633 SetMetric(aEd3, aMetric); in Reset() 634 SetMetric(aDistEd1, aMetric); in Reset() 635 SetMetric(aDistEd2, aMetric); in Reset()
|
/aoo42x/main/sw/source/ui/table/ |
H A D | tabledlg.cxx | 532 FieldUnit aMetric = ::GetDfltMetric(bHtmlMode); in Reset() local 533 SetMetric( aWidthMF, aMetric ); in Reset() 534 SetMetric( aRightMF, aMetric ); in Reset() 535 SetMetric( aLeftMF, aMetric ); in Reset() 536 SetMetric( aTopMF, aMetric ); in Reset() 537 SetMetric( aBottomMF, aMetric ); in Reset() 942 FieldUnit aMetric = ::GetDfltMetric(bWeb); in Init() local 949 SetMetric(*pFieldArr[i], aMetric); in Init() 955 SetMetric(aSpaceED, aMetric); in Init()
|
/aoo42x/main/sc/source/ui/view/ |
H A D | output2.cxx | 96 FontMetric aMetric; member in ScDrawStringsVars 240 aMetric = pFmtDevice->GetFontMetric(); in SetShrinkScale() 241 if ( pFmtDevice->GetOutDevType() == OUTDEV_PRINTER && aMetric.GetIntLeading() == 0 ) in SetShrinkScale() 246 aMetric = pDefaultDev->GetFontMetric( aFont ); in SetShrinkScale() 250 nAscentPixel = aMetric.GetAscent(); in SetShrinkScale() 361 aMetric = pFmtDevice->GetFontMetric(); in SetPattern() 368 if ( pFmtDevice->GetOutDevType() == OUTDEV_PRINTER && aMetric.GetIntLeading() == 0 ) in SetPattern() 373 aMetric = pDefaultDev->GetFontMetric( aFont ); in SetPattern() 377 nAscentPixel = aMetric.GetAscent(); in SetPattern() 625 aTextSize.Height() = aMetric.GetAscent() + aMetric.GetDescent(); in SetAutoText() [all …]
|
/aoo42x/main/vcl/unx/generic/fontmanager/ |
H A D | fontmanager.cxx | 1026 CharacterMetric aMetric; in readAfmMetrics() local 1046 aMetric.width = pChar->wx ? pChar->wx : pChar->charBBox.urx; in readAfmMetrics() 1047 aMetric.height = pChar->wy ? pChar->wy : pChar->charBBox.ury - pChar->charBBox.lly; in readAfmMetrics() 1048 if( aMetric.width == 0 && aMetric.height == 0 ) in readAfmMetrics() 1050 aMetric.width = m_aGlobalMetricX.width/4; in readAfmMetrics() 1057 m_pMetrics->m_aMetrics[ pUnicodes[i] ] = aMetric; in readAfmMetrics() 1067 m_pMetrics->m_aMetrics[ *it ] = aMetric; in readAfmMetrics() 1079 m_pMetrics->m_aMetrics[ *it ] = aMetric; in readAfmMetrics() 1091 m_pMetrics->m_aMetrics[ (*aCodes.first).second ] = aMetric; in readAfmMetrics() 1104 m_pMetrics->m_aMetrics[ code ] = aMetric; in readAfmMetrics() [all …]
|
/aoo42x/main/svx/source/dialog/ |
H A D | fntctrl.cxx | 88 FontMetric aMetric( _pWin->GetFontMetric() ); in calcFontHeightAnyAscent() local 89 _nHeight = aMetric.GetLineHeight(); in calcFontHeightAnyAscent() 90 _nAscent = aMetric.GetAscent(); in calcFontHeightAnyAscent()
|
H A D | swframeexample.cxx | 415 FontMetric aMetric(GetFontMetric()); in CalcBoundRect_Impl() local 417 rRect.Top() = aParaPrtArea.Bottom() - aMetric.GetDescent(); in CalcBoundRect_Impl()
|
/aoo42x/main/sw/source/ui/chrdlg/ |
H A D | drpcps.cxx | 193 FontMetric aMetric( _pWin->GetFontMetric() ); in calcFontHeightAnyAscent() local 194 _nHeight = aMetric.GetLineHeight(); in calcFontHeightAnyAscent() 195 _nAscent = aMetric.GetAscent(); in calcFontHeightAnyAscent()
|
/aoo42x/main/editeng/source/editeng/ |
H A D | impedit3.cxx | 2669 FontMetric aMetric( pDev->GetFontMetric() ); in SeekCursor() local 2672 Size aRealSz( aMetric.GetSize().Width(), rFont.GetSize().Height() ); in SeekCursor() 2787 FontMetric aMetric( pRefDev->GetFontMetric() ); in RecalcFormatterFontMetrics() local 2788 nAscent = (sal_uInt16)aMetric.GetAscent(); in RecalcFormatterFontMetrics() 2791 nAscent + aMetric.GetExtLeading() ); in RecalcFormatterFontMetrics() 2792 nDescent = (sal_uInt16)aMetric.GetDescent(); in RecalcFormatterFontMetrics() 2811 …sal_uInt16 nIntLeading = ( aMetric.GetIntLeading() > 0 ) ? (sal_uInt16)aMetric.GetIntLeading() : 0; in RecalcFormatterFontMetrics() 2819 aMetric = pVDev->GetFontMetric(); in RecalcFormatterFontMetrics() 2828 nAscent = (sal_uInt16)aMetric.GetAscent(); in RecalcFormatterFontMetrics() 2829 nDescent = (sal_uInt16)aMetric.GetDescent(); in RecalcFormatterFontMetrics()
|
/aoo42x/main/vcl/source/window/ |
H A D | window2.cxx | 943 FontMetric aMetric = GetFontMetric(); in SetZoomedPointFont() local 944 long nFontDiff = Abs( GetFont().GetSize().Height()-aMetric.GetSize().Height() ); in SetZoomedPointFont() 945 if ( (aMetric.GetType() == TYPE_RASTER) && (nFontDiff >= 2) ) in SetZoomedPointFont() 948 if ( aMetric.GetPitch() == PITCH_FIXED ) in SetZoomedPointFont()
|
/aoo42x/main/vcl/unx/generic/gdi/ |
H A D | pspgraphics.cxx | 627 psp::CharacterMetric aMetric; in LayoutText() local 628 mrPrinterGfx.GetFontMgr().getMetrics( mnFontID, cChar, cChar, &aMetric, mbVertical ); in LayoutText() 629 if( aMetric.width == -1 && aMetric.height == -1 ) in LayoutText()
|
/aoo42x/main/vcl/unx/headless/ |
H A D | svppspgraphics.cxx | 568 psp::CharacterMetric aMetric; in LayoutText() local 569 mrPrinterGfx.GetFontMgr().getMetrics( mnFontID, cChar, cChar, &aMetric, mbVertical ); in LayoutText() 570 if( aMetric.width == -1 && aMetric.height == -1 ) in LayoutText()
|
/aoo42x/main/svtools/source/filter/wmf/ |
H A D | winmtf.cxx | 293 FontMetric aMetric( aVDev.GetFontMetric() ); in WinMtfFontStyle() local 294 long nHeight = aMetric.GetAscent() + aMetric.GetDescent(); in WinMtfFontStyle() 312 FontMetric aMetric( aVDev.GetFontMetric() ); in WinMtfFontStyle() local 313 aFontSize.Width() = aMetric.GetWidth(); in WinMtfFontStyle()
|
/aoo42x/main/filter/source/svg/ |
H A D | svgwriter.cxx | 799 const FontMetric aMetric( mpVDev->GetFontMetric() ); in ImplWriteText() local 803 aBaseLinePos.Y() += aMetric.GetAscent(); in ImplWriteText() 805 aBaseLinePos.Y() -= aMetric.GetDescent(); in ImplWriteText() 962 … const long nLineHeight = Max( (long) FRound( aMetric.GetLineHeight() * 0.05 ), (long) 1 ); in ImplWriteText() 966 const long nYLinePos = aBaseLinePos.Y() - FRound( aMetric.GetAscent() * 0.26 ); in ImplWriteText()
|
/aoo42x/main/editeng/source/outliner/ |
H A D | outliner.cxx | 1094 FontMetric aMetric(pOutDev->GetFontMetric()); in PaintBullet() local 1095 aTextPos.Y() -= aMetric.GetDescent(); in PaintBullet() 1713 FontMetric aMetric( pRefDev->GetFontMetric() ); in ImpCalcBulletArea() local 1716 aTopLeft.Y() -= aMetric.GetAscent(); in ImpCalcBulletArea()
|