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

#include <impfontmetricdata.hxx>

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

Public Member Functions

 ImplFontMetricData (const FontSelectPattern &)
 
long GetWidth () const
 
short GetOrientation () const
 
void SetWidth (long nWidth)
 
void SetOrientation (short nOrientation)
 
long GetAscent () const
 
long GetDescent () const
 
long GetInternalLeading () const
 
long GetExternalLeading () const
 
int GetSlant () const
 
long GetMinKashida () const
 
void SetSlant (int nSlant)
 
void SetMinKashida (long nMinKashida)
 
bool IsFullstopCentered () const
 
long GetBulletOffset () const
 
void SetFullstopCenteredFlag (bool bFullstopCentered)
 
long GetUnderlineSize () const
 
long GetUnderlineOffset () const
 
long GetBoldUnderlineSize () const
 
long GetBoldUnderlineOffset () const
 
long GetDoubleUnderlineSize () const
 
long GetDoubleUnderlineOffset1 () const
 
long GetDoubleUnderlineOffset2 () const
 
long GetWavelineUnderlineSize () const
 
long GetWavelineUnderlineOffset () const
 
long GetAboveUnderlineSize () const
 
long GetAboveUnderlineOffset () const
 
long GetAboveBoldUnderlineSize () const
 
long GetAboveBoldUnderlineOffset () const
 
long GetAboveDoubleUnderlineSize () const
 
long GetAboveDoubleUnderlineOffset1 () const
 
long GetAboveDoubleUnderlineOffset2 () const
 
long GetAboveWavelineUnderlineSize () const
 
long GetAboveWavelineUnderlineOffset () const
 
long GetStrikeoutSize () const
 
long GetStrikeoutOffset () const
 
long GetBoldStrikeoutSize () const
 
long GetBoldStrikeoutOffset () const
 
long GetDoubleStrikeoutSize () const
 
long GetDoubleStrikeoutOffset1 () const
 
long GetDoubleStrikeoutOffset2 () const
 
void ImplInitTextLineSize (const OutputDevice *pDev)
 
void ImplInitAboveTextLineSize ()
 
void ImplInitFlags (const OutputDevice *pDev)
 
void ImplCalcLineSpacing (const std::vector< uint8_t > &rHhea, const std::vector< uint8_t > &rOS_2, int nUPEM)
 
- 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
 
rtl_TextEncoding GetCharSet () const
 
bool IsSymbolFont () 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 SetSymbolFlag (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 (OUString const &)
 
- 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 ShouldUseWinMetrics (const vcl::TTGlobalFontInfo &rInfo)
 

Private Attributes

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

Additional Inherited Members

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

Detailed Description

Definition at line 36 of file impfontmetricdata.hxx.

Constructor & Destructor Documentation

ImplFontMetricData::ImplFontMetricData ( const FontSelectPattern rFontSelData)
explicit

Member Function Documentation

long ImplFontMetricData::GetAboveBoldUnderlineOffset ( ) const
inline
long ImplFontMetricData::GetAboveBoldUnderlineSize ( ) const
inline
long ImplFontMetricData::GetAboveDoubleUnderlineOffset1 ( ) const
inline
long ImplFontMetricData::GetAboveDoubleUnderlineOffset2 ( ) const
inline
long ImplFontMetricData::GetAboveDoubleUnderlineSize ( ) const
inline
long ImplFontMetricData::GetAboveUnderlineOffset ( ) const
inline
long ImplFontMetricData::GetAboveUnderlineSize ( ) const
inline
long ImplFontMetricData::GetAboveWavelineUnderlineOffset ( ) const
inline
long ImplFontMetricData::GetAboveWavelineUnderlineSize ( ) const
inline
long ImplFontMetricData::GetAscent ( ) const
inline
long ImplFontMetricData::GetBoldStrikeoutOffset ( ) const
inline
long ImplFontMetricData::GetBoldStrikeoutSize ( ) const
inline
long ImplFontMetricData::GetBoldUnderlineOffset ( ) const
inline
long ImplFontMetricData::GetBoldUnderlineSize ( ) const
inline
long ImplFontMetricData::GetBulletOffset ( ) const
inline

Definition at line 61 of file impfontmetricdata.hxx.

Referenced by OutputDevice::GetFontMetric().

long ImplFontMetricData::GetDescent ( ) const
inline
long ImplFontMetricData::GetDoubleStrikeoutOffset1 ( ) const
inline
long ImplFontMetricData::GetDoubleStrikeoutOffset2 ( ) const
inline
long ImplFontMetricData::GetDoubleStrikeoutSize ( ) const
inline
long ImplFontMetricData::GetDoubleUnderlineOffset1 ( ) const
inline
long ImplFontMetricData::GetDoubleUnderlineOffset2 ( ) const
inline
long ImplFontMetricData::GetDoubleUnderlineSize ( ) const
inline
long ImplFontMetricData::GetExternalLeading ( ) const
inline

Definition at line 52 of file impfontmetricdata.hxx.

long ImplFontMetricData::GetInternalLeading ( ) const
inline

Definition at line 51 of file impfontmetricdata.hxx.

Referenced by OutputDevice::GetFontMetric().

long ImplFontMetricData::GetMinKashida ( ) const
inline

Definition at line 54 of file impfontmetricdata.hxx.

short ImplFontMetricData::GetOrientation ( ) const
inline
int ImplFontMetricData::GetSlant ( ) const
inline

Definition at line 53 of file impfontmetricdata.hxx.

Referenced by OutputDevice::GetFontMetric().

long ImplFontMetricData::GetStrikeoutOffset ( ) const
inline
long ImplFontMetricData::GetStrikeoutSize ( ) const
inline
long ImplFontMetricData::GetUnderlineOffset ( ) const
inline
long ImplFontMetricData::GetUnderlineSize ( ) const
inline
long ImplFontMetricData::GetWavelineUnderlineOffset ( ) const
inline
long ImplFontMetricData::GetWavelineUnderlineSize ( ) const
inline
long ImplFontMetricData::GetWidth ( ) const
inline

Definition at line 42 of file impfontmetricdata.hxx.

References mnWidth.

Referenced by OutputDevice::GetFontMetric(), and OutputDevice::ImplNewFont().

void ImplFontMetricData::ImplCalcLineSpacing ( const std::vector< uint8_t > &  rHhea,
const std::vector< uint8_t > &  rOS_2,
int  nUPEM 
)
void ImplFontMetricData::ImplInitAboveTextLineSize ( )
void ImplFontMetricData::ImplInitFlags ( const OutputDevice pDev)
void ImplFontMetricData::ImplInitTextLineSize ( const OutputDevice pDev)
bool ImplFontMetricData::IsFullstopCentered ( ) const
inline

Definition at line 60 of file impfontmetricdata.hxx.

Referenced by OutputDevice::GetFontMetric().

void ImplFontMetricData::SetFullstopCenteredFlag ( bool  bFullstopCentered)
inline

Definition at line 63 of file impfontmetricdata.hxx.

Referenced by ImplInitFlags().

void ImplFontMetricData::SetMinKashida ( long  nMinKashida)
inline

Definition at line 57 of file impfontmetricdata.hxx.

void ImplFontMetricData::SetOrientation ( short  nOrientation)
inline

Definition at line 46 of file impfontmetricdata.hxx.

Referenced by OutputDevice::ImplNewFont().

void ImplFontMetricData::SetSlant ( int  nSlant)
inline

Definition at line 56 of file impfontmetricdata.hxx.

void ImplFontMetricData::SetWidth ( long  nWidth)
inline

Definition at line 45 of file impfontmetricdata.hxx.

References mnWidth.

bool ImplFontMetricData::ShouldUseWinMetrics ( const vcl::TTGlobalFontInfo rInfo)
private

Member Data Documentation

bool ImplFontMetricData::mbFullstopCentered
private

Definition at line 116 of file impfontmetricdata.hxx.

long ImplFontMetricData::mnAboveBUnderlineOffset
private

Definition at line 132 of file impfontmetricdata.hxx.

Referenced by ImplInitAboveTextLineSize().

long ImplFontMetricData::mnAboveBUnderlineSize
private

Definition at line 131 of file impfontmetricdata.hxx.

Referenced by ImplInitAboveTextLineSize().

long ImplFontMetricData::mnAboveDUnderlineOffset1
private

Definition at line 134 of file impfontmetricdata.hxx.

Referenced by ImplInitAboveTextLineSize().

long ImplFontMetricData::mnAboveDUnderlineOffset2
private

Definition at line 135 of file impfontmetricdata.hxx.

Referenced by ImplInitAboveTextLineSize().

long ImplFontMetricData::mnAboveDUnderlineSize
private

Definition at line 133 of file impfontmetricdata.hxx.

Referenced by ImplInitAboveTextLineSize().

long ImplFontMetricData::mnAboveUnderlineOffset
private

Definition at line 130 of file impfontmetricdata.hxx.

Referenced by ImplInitAboveTextLineSize().

long ImplFontMetricData::mnAboveUnderlineSize
private

Definition at line 129 of file impfontmetricdata.hxx.

Referenced by ImplInitAboveTextLineSize().

long ImplFontMetricData::mnAboveWUnderlineOffset
private

Definition at line 137 of file impfontmetricdata.hxx.

Referenced by ImplInitAboveTextLineSize().

long ImplFontMetricData::mnAboveWUnderlineSize
private

Definition at line 136 of file impfontmetricdata.hxx.

Referenced by ImplInitAboveTextLineSize().

long ImplFontMetricData::mnAscent
private
long ImplFontMetricData::mnBStrikeoutOffset
private

Definition at line 141 of file impfontmetricdata.hxx.

Referenced by ImplInitTextLineSize().

long ImplFontMetricData::mnBStrikeoutSize
private

Definition at line 140 of file impfontmetricdata.hxx.

Referenced by ImplInitTextLineSize().

long ImplFontMetricData::mnBulletOffset
private

Definition at line 117 of file impfontmetricdata.hxx.

Referenced by ImplInitTextLineSize().

long ImplFontMetricData::mnBUnderlineOffset
private

Definition at line 123 of file impfontmetricdata.hxx.

Referenced by ImplInitTextLineSize().

long ImplFontMetricData::mnBUnderlineSize
private

Definition at line 122 of file impfontmetricdata.hxx.

Referenced by ImplInitTextLineSize().

long ImplFontMetricData::mnDescent
private

Definition at line 109 of file impfontmetricdata.hxx.

Referenced by ImplCalcLineSpacing(), and ImplInitTextLineSize().

long ImplFontMetricData::mnDStrikeoutOffset1
private

Definition at line 143 of file impfontmetricdata.hxx.

Referenced by ImplInitTextLineSize().

long ImplFontMetricData::mnDStrikeoutOffset2
private

Definition at line 144 of file impfontmetricdata.hxx.

Referenced by ImplInitTextLineSize().

long ImplFontMetricData::mnDStrikeoutSize
private

Definition at line 142 of file impfontmetricdata.hxx.

Referenced by ImplInitTextLineSize().

long ImplFontMetricData::mnDUnderlineOffset1
private

Definition at line 125 of file impfontmetricdata.hxx.

Referenced by ImplInitTextLineSize().

long ImplFontMetricData::mnDUnderlineOffset2
private

Definition at line 126 of file impfontmetricdata.hxx.

Referenced by ImplInitTextLineSize().

long ImplFontMetricData::mnDUnderlineSize
private

Definition at line 124 of file impfontmetricdata.hxx.

Referenced by ImplInitTextLineSize().

long ImplFontMetricData::mnExtLeading
private

Definition at line 111 of file impfontmetricdata.hxx.

Referenced by ImplCalcLineSpacing().

long const ImplFontMetricData::mnHeight
private

Definition at line 103 of file impfontmetricdata.hxx.

Referenced by ImplCalcLineSpacing().

long ImplFontMetricData::mnIntLeading
private
long ImplFontMetricData::mnMinKashida
private

Definition at line 113 of file impfontmetricdata.hxx.

short ImplFontMetricData::mnOrientation
private

Definition at line 105 of file impfontmetricdata.hxx.

int ImplFontMetricData::mnSlant
private

Definition at line 112 of file impfontmetricdata.hxx.

long ImplFontMetricData::mnStrikeoutOffset
private

Definition at line 139 of file impfontmetricdata.hxx.

Referenced by ImplInitTextLineSize().

long ImplFontMetricData::mnStrikeoutSize
private

Definition at line 138 of file impfontmetricdata.hxx.

Referenced by ImplInitTextLineSize().

long ImplFontMetricData::mnUnderlineOffset
private

Definition at line 121 of file impfontmetricdata.hxx.

Referenced by ImplInitTextLineSize().

long ImplFontMetricData::mnUnderlineSize
private

Definition at line 120 of file impfontmetricdata.hxx.

Referenced by ImplInitTextLineSize().

long ImplFontMetricData::mnWidth
private

Definition at line 104 of file impfontmetricdata.hxx.

long ImplFontMetricData::mnWUnderlineOffset
private

Definition at line 128 of file impfontmetricdata.hxx.

Referenced by ImplInitTextLineSize().

long ImplFontMetricData::mnWUnderlineSize
private

Definition at line 127 of file impfontmetricdata.hxx.

Referenced by ImplInitTextLineSize().


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