LibreOffice Module vcl (master) 1
Public Member Functions | Private Member Functions | Private Attributes | List of all members
ImplFontMetricData Class Referencefinal

#include <impfontmetricdata.hxx>

Inheritance diagram for ImplFontMetricData:
[legend]
Collaboration diagram for ImplFontMetricData:
[legend]

Public Member Functions

 ImplFontMetricData (const vcl::font::FontSelectPattern &)
 
tools::Long GetWidth () const
 
Degree10 GetOrientation () const
 
void SetWidth (tools::Long nWidth)
 
void SetOrientation (Degree10 nOrientation)
 
tools::Long GetAscent () const
 
tools::Long GetDescent () const
 
tools::Long GetInternalLeading () const
 
tools::Long GetExternalLeading () const
 
int GetSlant () const
 
tools::Long GetMinKashida () const
 
tools::Long GetHangingBaseline () const
 
void SetSlant (int nSlant)
 
void SetMinKashida (tools::Long nMinKashida)
 
bool IsFullstopCentered () const
 
tools::Long GetBulletOffset () const
 
void SetFullstopCenteredFlag (bool bFullstopCentered)
 
tools::Long GetUnderlineSize () const
 
tools::Long GetUnderlineOffset () const
 
tools::Long GetBoldUnderlineSize () const
 
tools::Long GetBoldUnderlineOffset () const
 
tools::Long GetDoubleUnderlineSize () const
 
tools::Long GetDoubleUnderlineOffset1 () const
 
tools::Long GetDoubleUnderlineOffset2 () const
 
tools::Long GetWavelineUnderlineSize () const
 
tools::Long GetWavelineUnderlineOffset () const
 
tools::Long GetAboveUnderlineSize () const
 
tools::Long GetAboveUnderlineOffset () const
 
tools::Long GetAboveBoldUnderlineSize () const
 
tools::Long GetAboveBoldUnderlineOffset () const
 
tools::Long GetAboveDoubleUnderlineSize () const
 
tools::Long GetAboveDoubleUnderlineOffset1 () const
 
tools::Long GetAboveDoubleUnderlineOffset2 () const
 
tools::Long GetAboveWavelineUnderlineSize () const
 
tools::Long GetAboveWavelineUnderlineOffset () const
 
tools::Long GetStrikeoutSize () const
 
tools::Long GetStrikeoutOffset () const
 
tools::Long GetBoldStrikeoutSize () const
 
tools::Long GetBoldStrikeoutOffset () const
 
tools::Long GetDoubleStrikeoutSize () const
 
tools::Long GetDoubleStrikeoutOffset1 () const
 
tools::Long GetDoubleStrikeoutOffset2 () const
 
void ImplInitTextLineSize (const OutputDevice *pDev)
 
void ImplInitAboveTextLineSize (const OutputDevice *pDev)
 
void ImplInitFlags (const OutputDevice *pDev)
 
void ImplCalcLineSpacing (LogicalFontInstance *pFontInstance)
 
void ImplInitBaselines (LogicalFontInstance *pFontInstance)
 
- Public Member Functions inherited from FontAttributes
 FontAttributes ()
 
const OUString & GetFamilyName () const
 
FontFamily GetFamilyType () const
 
const OUString & GetStyleName () const
 
FontWeight GetWeight () const
 
FontItalic GetItalic () const
 
FontPitch GetPitch () const
 
FontWidth GetWidthType () const
 
bool IsMicrosoftSymbolEncoded () const
 
void SetFamilyName (const OUString &sFamilyName)
 
void SetStyleName (const OUString &sStyleName)
 
void SetFamilyType (const FontFamily eFontFamily)
 
void SetPitch (const FontPitch ePitch)
 
void SetItalic (const FontItalic eItalic)
 
void SetWeight (const FontWeight eWeight)
 
void SetWidthType (const FontWidth eWidthType)
 
void SetMicrosoftSymbolEncoded (const bool)
 
bool CompareDeviceIndependentFontAttributes (const FontAttributes &rOther) const
 
int GetQuality () const
 
const OUString & GetMapNames () const
 
void SetQuality (int nQuality)
 
void IncreaseQualityBy (int nQualityAmount)
 
void AddMapName (std::u16string_view)
 
- Public Member Functions inherited from SvRefBase
 SvRefBase ()
 
 SvRefBase (const SvRefBase &)
 
SvRefBaseoperator= (const SvRefBase &)
 
void RestoreNoDelete ()
 
void AddNextRef ()
 
void AddFirstRef ()
 
void ReleaseRef ()
 
unsigned int GetRefCount () const
 

Private Member Functions

bool ShouldNotUseUnderlineMetrics () const
 
bool ImplInitTextLineSizeHarfBuzz (LogicalFontInstance *pFontInstance)
 
bool ShouldUseWinMetrics (int, int, int, int, int, int) const
 

Private Attributes

tools::Long mnHeight
 
tools::Long mnWidth
 
Degree10 mnOrientation
 
tools::Long mnAscent
 
tools::Long mnDescent
 
tools::Long mnIntLeading
 
tools::Long mnExtLeading
 
int mnSlant
 
tools::Long mnMinKashida
 
tools::Long mnHangingBaseline
 
bool mbFullstopCentered
 
tools::Long mnBulletOffset
 
tools::Long mnUnderlineSize
 
tools::Long mnUnderlineOffset
 
tools::Long mnBUnderlineSize
 
tools::Long mnBUnderlineOffset
 
tools::Long mnDUnderlineSize
 
tools::Long mnDUnderlineOffset1
 
tools::Long mnDUnderlineOffset2
 
tools::Long mnWUnderlineSize
 
tools::Long mnWUnderlineOffset
 
tools::Long mnAboveUnderlineSize
 
tools::Long mnAboveUnderlineOffset
 
tools::Long mnAboveBUnderlineSize
 
tools::Long mnAboveBUnderlineOffset
 
tools::Long mnAboveDUnderlineSize
 
tools::Long mnAboveDUnderlineOffset1
 
tools::Long mnAboveDUnderlineOffset2
 
tools::Long mnAboveWUnderlineSize
 
tools::Long mnAboveWUnderlineOffset
 
tools::Long mnStrikeoutSize
 
tools::Long mnStrikeoutOffset
 
tools::Long mnBStrikeoutSize
 
tools::Long mnBStrikeoutOffset
 
tools::Long mnDStrikeoutSize
 
tools::Long mnDStrikeoutOffset1
 
tools::Long mnDStrikeoutOffset2
 

Additional Inherited Members

- Protected Member Functions inherited from SvRefBase
virtual ~SvRefBase () COVERITY_NOEXCEPT_FALSE
 

Detailed Description

Definition at line 41 of file impfontmetricdata.hxx.

Constructor & Destructor Documentation

◆ ImplFontMetricData()

ImplFontMetricData::ImplFontMetricData ( const vcl::font::FontSelectPattern rFontSelData)
explicit

Member Function Documentation

◆ GetAboveBoldUnderlineOffset()

tools::Long ImplFontMetricData::GetAboveBoldUnderlineOffset ( ) const
inline

Definition at line 84 of file impfontmetricdata.hxx.

◆ GetAboveBoldUnderlineSize()

tools::Long ImplFontMetricData::GetAboveBoldUnderlineSize ( ) const
inline

Definition at line 83 of file impfontmetricdata.hxx.

◆ GetAboveDoubleUnderlineOffset1()

tools::Long ImplFontMetricData::GetAboveDoubleUnderlineOffset1 ( ) const
inline

Definition at line 86 of file impfontmetricdata.hxx.

◆ GetAboveDoubleUnderlineOffset2()

tools::Long ImplFontMetricData::GetAboveDoubleUnderlineOffset2 ( ) const
inline

Definition at line 87 of file impfontmetricdata.hxx.

◆ GetAboveDoubleUnderlineSize()

tools::Long ImplFontMetricData::GetAboveDoubleUnderlineSize ( ) const
inline

Definition at line 85 of file impfontmetricdata.hxx.

◆ GetAboveUnderlineOffset()

tools::Long ImplFontMetricData::GetAboveUnderlineOffset ( ) const
inline

Definition at line 82 of file impfontmetricdata.hxx.

◆ GetAboveUnderlineSize()

tools::Long ImplFontMetricData::GetAboveUnderlineSize ( ) const
inline

Definition at line 81 of file impfontmetricdata.hxx.

◆ GetAboveWavelineUnderlineOffset()

tools::Long ImplFontMetricData::GetAboveWavelineUnderlineOffset ( ) const
inline

Definition at line 89 of file impfontmetricdata.hxx.

◆ GetAboveWavelineUnderlineSize()

tools::Long ImplFontMetricData::GetAboveWavelineUnderlineSize ( ) const
inline

Definition at line 88 of file impfontmetricdata.hxx.

◆ GetAscent()

tools::Long ImplFontMetricData::GetAscent ( ) const
inline

Definition at line 54 of file impfontmetricdata.hxx.

◆ GetBoldStrikeoutOffset()

tools::Long ImplFontMetricData::GetBoldStrikeoutOffset ( ) const
inline

Definition at line 93 of file impfontmetricdata.hxx.

◆ GetBoldStrikeoutSize()

tools::Long ImplFontMetricData::GetBoldStrikeoutSize ( ) const
inline

Definition at line 92 of file impfontmetricdata.hxx.

◆ GetBoldUnderlineOffset()

tools::Long ImplFontMetricData::GetBoldUnderlineOffset ( ) const
inline

Definition at line 75 of file impfontmetricdata.hxx.

◆ GetBoldUnderlineSize()

tools::Long ImplFontMetricData::GetBoldUnderlineSize ( ) const
inline

Definition at line 74 of file impfontmetricdata.hxx.

◆ GetBulletOffset()

tools::Long ImplFontMetricData::GetBulletOffset ( ) const
inline

Definition at line 67 of file impfontmetricdata.hxx.

◆ GetDescent()

tools::Long ImplFontMetricData::GetDescent ( ) const
inline

Definition at line 55 of file impfontmetricdata.hxx.

◆ GetDoubleStrikeoutOffset1()

tools::Long ImplFontMetricData::GetDoubleStrikeoutOffset1 ( ) const
inline

Definition at line 95 of file impfontmetricdata.hxx.

◆ GetDoubleStrikeoutOffset2()

tools::Long ImplFontMetricData::GetDoubleStrikeoutOffset2 ( ) const
inline

Definition at line 96 of file impfontmetricdata.hxx.

◆ GetDoubleStrikeoutSize()

tools::Long ImplFontMetricData::GetDoubleStrikeoutSize ( ) const
inline

Definition at line 94 of file impfontmetricdata.hxx.

◆ GetDoubleUnderlineOffset1()

tools::Long ImplFontMetricData::GetDoubleUnderlineOffset1 ( ) const
inline

Definition at line 77 of file impfontmetricdata.hxx.

◆ GetDoubleUnderlineOffset2()

tools::Long ImplFontMetricData::GetDoubleUnderlineOffset2 ( ) const
inline

Definition at line 78 of file impfontmetricdata.hxx.

◆ GetDoubleUnderlineSize()

tools::Long ImplFontMetricData::GetDoubleUnderlineSize ( ) const
inline

Definition at line 76 of file impfontmetricdata.hxx.

◆ GetExternalLeading()

tools::Long ImplFontMetricData::GetExternalLeading ( ) const
inline

Definition at line 57 of file impfontmetricdata.hxx.

◆ GetHangingBaseline()

tools::Long ImplFontMetricData::GetHangingBaseline ( ) const
inline

Definition at line 60 of file impfontmetricdata.hxx.

◆ GetInternalLeading()

tools::Long ImplFontMetricData::GetInternalLeading ( ) const
inline

Definition at line 56 of file impfontmetricdata.hxx.

◆ GetMinKashida()

tools::Long ImplFontMetricData::GetMinKashida ( ) const
inline

Definition at line 59 of file impfontmetricdata.hxx.

◆ GetOrientation()

Degree10 ImplFontMetricData::GetOrientation ( ) const
inline

Definition at line 48 of file impfontmetricdata.hxx.

◆ GetSlant()

int ImplFontMetricData::GetSlant ( ) const
inline

Definition at line 58 of file impfontmetricdata.hxx.

◆ GetStrikeoutOffset()

tools::Long ImplFontMetricData::GetStrikeoutOffset ( ) const
inline

Definition at line 91 of file impfontmetricdata.hxx.

◆ GetStrikeoutSize()

tools::Long ImplFontMetricData::GetStrikeoutSize ( ) const
inline

Definition at line 90 of file impfontmetricdata.hxx.

◆ GetUnderlineOffset()

tools::Long ImplFontMetricData::GetUnderlineOffset ( ) const
inline

Definition at line 73 of file impfontmetricdata.hxx.

◆ GetUnderlineSize()

tools::Long ImplFontMetricData::GetUnderlineSize ( ) const
inline

Definition at line 72 of file impfontmetricdata.hxx.

◆ GetWavelineUnderlineOffset()

tools::Long ImplFontMetricData::GetWavelineUnderlineOffset ( ) const
inline

Definition at line 80 of file impfontmetricdata.hxx.

◆ GetWavelineUnderlineSize()

tools::Long ImplFontMetricData::GetWavelineUnderlineSize ( ) const
inline

Definition at line 79 of file impfontmetricdata.hxx.

◆ GetWidth()

tools::Long ImplFontMetricData::GetWidth ( ) const
inline

Definition at line 47 of file impfontmetricdata.hxx.

References mnWidth.

◆ ImplCalcLineSpacing()

void ImplFontMetricData::ImplCalcLineSpacing ( LogicalFontInstance pFontInstance)

◆ ImplInitAboveTextLineSize()

void ImplFontMetricData::ImplInitAboveTextLineSize ( const OutputDevice pDev)

◆ ImplInitBaselines()

void ImplFontMetricData::ImplInitBaselines ( LogicalFontInstance pFontInstance)

◆ ImplInitFlags()

void ImplFontMetricData::ImplInitFlags ( const OutputDevice pDev)

◆ ImplInitTextLineSize()

void ImplFontMetricData::ImplInitTextLineSize ( const OutputDevice pDev)

◆ ImplInitTextLineSizeHarfBuzz()

bool ImplFontMetricData::ImplInitTextLineSizeHarfBuzz ( LogicalFontInstance pFontInstance)
private

◆ IsFullstopCentered()

bool ImplFontMetricData::IsFullstopCentered ( ) const
inline

Definition at line 66 of file impfontmetricdata.hxx.

◆ SetFullstopCenteredFlag()

void ImplFontMetricData::SetFullstopCenteredFlag ( bool  bFullstopCentered)
inline

Definition at line 69 of file impfontmetricdata.hxx.

Referenced by ImplInitFlags().

◆ SetMinKashida()

void ImplFontMetricData::SetMinKashida ( tools::Long  nMinKashida)
inline

Definition at line 63 of file impfontmetricdata.hxx.

◆ SetOrientation()

void ImplFontMetricData::SetOrientation ( Degree10  nOrientation)
inline

Definition at line 51 of file impfontmetricdata.hxx.

◆ SetSlant()

void ImplFontMetricData::SetSlant ( int  nSlant)
inline

Definition at line 62 of file impfontmetricdata.hxx.

◆ SetWidth()

void ImplFontMetricData::SetWidth ( tools::Long  nWidth)
inline

Definition at line 50 of file impfontmetricdata.hxx.

References mnWidth.

◆ ShouldNotUseUnderlineMetrics()

bool ImplFontMetricData::ShouldNotUseUnderlineMetrics ( ) const
private

◆ ShouldUseWinMetrics()

bool ImplFontMetricData::ShouldUseWinMetrics ( int  nAscent,
int  nDescent,
int  nTypoAscent,
int  nTypoDescent,
int  nWinAscent,
int  nWinDescent 
) const
private

Member Data Documentation

◆ mbFullstopCentered

bool ImplFontMetricData::mbFullstopCentered
private

Definition at line 124 of file impfontmetricdata.hxx.

◆ mnAboveBUnderlineOffset

tools::Long ImplFontMetricData::mnAboveBUnderlineOffset
private

Definition at line 140 of file impfontmetricdata.hxx.

Referenced by ImplInitAboveTextLineSize().

◆ mnAboveBUnderlineSize

tools::Long ImplFontMetricData::mnAboveBUnderlineSize
private

Definition at line 139 of file impfontmetricdata.hxx.

Referenced by ImplInitAboveTextLineSize().

◆ mnAboveDUnderlineOffset1

tools::Long ImplFontMetricData::mnAboveDUnderlineOffset1
private

Definition at line 142 of file impfontmetricdata.hxx.

Referenced by ImplInitAboveTextLineSize().

◆ mnAboveDUnderlineOffset2

tools::Long ImplFontMetricData::mnAboveDUnderlineOffset2
private

Definition at line 143 of file impfontmetricdata.hxx.

Referenced by ImplInitAboveTextLineSize().

◆ mnAboveDUnderlineSize

tools::Long ImplFontMetricData::mnAboveDUnderlineSize
private

Definition at line 141 of file impfontmetricdata.hxx.

Referenced by ImplInitAboveTextLineSize().

◆ mnAboveUnderlineOffset

tools::Long ImplFontMetricData::mnAboveUnderlineOffset
private

Definition at line 138 of file impfontmetricdata.hxx.

Referenced by ImplInitAboveTextLineSize().

◆ mnAboveUnderlineSize

tools::Long ImplFontMetricData::mnAboveUnderlineSize
private

Definition at line 137 of file impfontmetricdata.hxx.

Referenced by ImplInitAboveTextLineSize().

◆ mnAboveWUnderlineOffset

tools::Long ImplFontMetricData::mnAboveWUnderlineOffset
private

Definition at line 145 of file impfontmetricdata.hxx.

Referenced by ImplInitAboveTextLineSize().

◆ mnAboveWUnderlineSize

tools::Long ImplFontMetricData::mnAboveWUnderlineSize
private

Definition at line 144 of file impfontmetricdata.hxx.

Referenced by ImplInitAboveTextLineSize().

◆ mnAscent

tools::Long ImplFontMetricData::mnAscent
private

◆ mnBStrikeoutOffset

tools::Long ImplFontMetricData::mnBStrikeoutOffset
private

Definition at line 149 of file impfontmetricdata.hxx.

Referenced by ImplInitTextLineSize(), and ImplInitTextLineSizeHarfBuzz().

◆ mnBStrikeoutSize

tools::Long ImplFontMetricData::mnBStrikeoutSize
private

Definition at line 148 of file impfontmetricdata.hxx.

Referenced by ImplInitTextLineSize(), and ImplInitTextLineSizeHarfBuzz().

◆ mnBulletOffset

tools::Long ImplFontMetricData::mnBulletOffset
private

Definition at line 125 of file impfontmetricdata.hxx.

Referenced by ImplInitTextLineSize().

◆ mnBUnderlineOffset

tools::Long ImplFontMetricData::mnBUnderlineOffset
private

Definition at line 131 of file impfontmetricdata.hxx.

Referenced by ImplInitTextLineSize(), and ImplInitTextLineSizeHarfBuzz().

◆ mnBUnderlineSize

tools::Long ImplFontMetricData::mnBUnderlineSize
private

◆ mnDescent

tools::Long ImplFontMetricData::mnDescent
private

Definition at line 116 of file impfontmetricdata.hxx.

Referenced by ImplCalcLineSpacing(), and ImplInitTextLineSize().

◆ mnDStrikeoutOffset1

tools::Long ImplFontMetricData::mnDStrikeoutOffset1
private

Definition at line 151 of file impfontmetricdata.hxx.

Referenced by ImplInitTextLineSize(), and ImplInitTextLineSizeHarfBuzz().

◆ mnDStrikeoutOffset2

tools::Long ImplFontMetricData::mnDStrikeoutOffset2
private

Definition at line 152 of file impfontmetricdata.hxx.

Referenced by ImplInitTextLineSize(), and ImplInitTextLineSizeHarfBuzz().

◆ mnDStrikeoutSize

tools::Long ImplFontMetricData::mnDStrikeoutSize
private

Definition at line 150 of file impfontmetricdata.hxx.

Referenced by ImplInitTextLineSize(), and ImplInitTextLineSizeHarfBuzz().

◆ mnDUnderlineOffset1

tools::Long ImplFontMetricData::mnDUnderlineOffset1
private

Definition at line 133 of file impfontmetricdata.hxx.

Referenced by ImplInitTextLineSize(), and ImplInitTextLineSizeHarfBuzz().

◆ mnDUnderlineOffset2

tools::Long ImplFontMetricData::mnDUnderlineOffset2
private

Definition at line 134 of file impfontmetricdata.hxx.

Referenced by ImplInitTextLineSize(), and ImplInitTextLineSizeHarfBuzz().

◆ mnDUnderlineSize

tools::Long ImplFontMetricData::mnDUnderlineSize
private

◆ mnExtLeading

tools::Long ImplFontMetricData::mnExtLeading
private

Definition at line 118 of file impfontmetricdata.hxx.

Referenced by ImplCalcLineSpacing().

◆ mnHangingBaseline

tools::Long ImplFontMetricData::mnHangingBaseline
private

Definition at line 121 of file impfontmetricdata.hxx.

Referenced by ImplInitBaselines().

◆ mnHeight

tools::Long ImplFontMetricData::mnHeight
private

Definition at line 110 of file impfontmetricdata.hxx.

Referenced by ImplCalcLineSpacing().

◆ mnIntLeading

tools::Long ImplFontMetricData::mnIntLeading
private

◆ mnMinKashida

tools::Long ImplFontMetricData::mnMinKashida
private

Definition at line 120 of file impfontmetricdata.hxx.

◆ mnOrientation

Degree10 ImplFontMetricData::mnOrientation
private

Definition at line 112 of file impfontmetricdata.hxx.

◆ mnSlant

int ImplFontMetricData::mnSlant
private

Definition at line 119 of file impfontmetricdata.hxx.

◆ mnStrikeoutOffset

tools::Long ImplFontMetricData::mnStrikeoutOffset
private

Definition at line 147 of file impfontmetricdata.hxx.

Referenced by ImplInitTextLineSize(), and ImplInitTextLineSizeHarfBuzz().

◆ mnStrikeoutSize

tools::Long ImplFontMetricData::mnStrikeoutSize
private

Definition at line 146 of file impfontmetricdata.hxx.

Referenced by ImplInitTextLineSize(), and ImplInitTextLineSizeHarfBuzz().

◆ mnUnderlineOffset

tools::Long ImplFontMetricData::mnUnderlineOffset
private

Definition at line 129 of file impfontmetricdata.hxx.

Referenced by ImplInitTextLineSize(), and ImplInitTextLineSizeHarfBuzz().

◆ mnUnderlineSize

tools::Long ImplFontMetricData::mnUnderlineSize
private

◆ mnWidth

tools::Long ImplFontMetricData::mnWidth
private

Definition at line 111 of file impfontmetricdata.hxx.

◆ mnWUnderlineOffset

tools::Long ImplFontMetricData::mnWUnderlineOffset
private

Definition at line 136 of file impfontmetricdata.hxx.

Referenced by ImplInitTextLineSize(), and ImplInitTextLineSizeHarfBuzz().

◆ mnWUnderlineSize

tools::Long ImplFontMetricData::mnWUnderlineSize
private

The documentation for this class was generated from the following files: