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 &)
 
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
 
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 ()
 
void ImplInitFlags (const OutputDevice *pDev)
 
void ImplCalcLineSpacing (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
 
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

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
 
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 38 of file impfontmetricdata.hxx.

Constructor & Destructor Documentation

ImplFontMetricData::ImplFontMetricData ( const FontSelectPattern rFontSelData)
explicit

Member Function Documentation

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

Definition at line 63 of file impfontmetricdata.hxx.

Referenced by OutputDevice::GetFontMetric().

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

Definition at line 54 of file impfontmetricdata.hxx.

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

Definition at line 53 of file impfontmetricdata.hxx.

Referenced by OutputDevice::GetFontMetric().

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

Definition at line 56 of file impfontmetricdata.hxx.

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

Definition at line 55 of file impfontmetricdata.hxx.

Referenced by OutputDevice::GetFontMetric().

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

Definition at line 44 of file impfontmetricdata.hxx.

References mnWidth.

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

void ImplFontMetricData::ImplCalcLineSpacing ( LogicalFontInstance pFontInstance)
void ImplFontMetricData::ImplInitAboveTextLineSize ( )
void ImplFontMetricData::ImplInitFlags ( const OutputDevice pDev)
void ImplFontMetricData::ImplInitTextLineSize ( const OutputDevice pDev)
bool ImplFontMetricData::IsFullstopCentered ( ) const
inline

Definition at line 62 of file impfontmetricdata.hxx.

Referenced by OutputDevice::GetFontMetric().

void ImplFontMetricData::SetFullstopCenteredFlag ( bool  bFullstopCentered)
inline

Definition at line 65 of file impfontmetricdata.hxx.

Referenced by ImplInitFlags().

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

Definition at line 59 of file impfontmetricdata.hxx.

void ImplFontMetricData::SetOrientation ( Degree10  nOrientation)
inline

Definition at line 48 of file impfontmetricdata.hxx.

Referenced by OutputDevice::ImplNewFont().

void ImplFontMetricData::SetSlant ( int  nSlant)
inline

Definition at line 58 of file impfontmetricdata.hxx.

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

Definition at line 47 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.

tools::Long ImplFontMetricData::mnAboveBUnderlineOffset
private

Definition at line 132 of file impfontmetricdata.hxx.

Referenced by ImplInitAboveTextLineSize().

tools::Long ImplFontMetricData::mnAboveBUnderlineSize
private

Definition at line 131 of file impfontmetricdata.hxx.

Referenced by ImplInitAboveTextLineSize().

tools::Long ImplFontMetricData::mnAboveDUnderlineOffset1
private

Definition at line 134 of file impfontmetricdata.hxx.

Referenced by ImplInitAboveTextLineSize().

tools::Long ImplFontMetricData::mnAboveDUnderlineOffset2
private

Definition at line 135 of file impfontmetricdata.hxx.

Referenced by ImplInitAboveTextLineSize().

tools::Long ImplFontMetricData::mnAboveDUnderlineSize
private

Definition at line 133 of file impfontmetricdata.hxx.

Referenced by ImplInitAboveTextLineSize().

tools::Long ImplFontMetricData::mnAboveUnderlineOffset
private

Definition at line 130 of file impfontmetricdata.hxx.

Referenced by ImplInitAboveTextLineSize().

tools::Long ImplFontMetricData::mnAboveUnderlineSize
private

Definition at line 129 of file impfontmetricdata.hxx.

Referenced by ImplInitAboveTextLineSize().

tools::Long ImplFontMetricData::mnAboveWUnderlineOffset
private

Definition at line 137 of file impfontmetricdata.hxx.

Referenced by ImplInitAboveTextLineSize().

tools::Long ImplFontMetricData::mnAboveWUnderlineSize
private

Definition at line 136 of file impfontmetricdata.hxx.

Referenced by ImplInitAboveTextLineSize().

tools::Long ImplFontMetricData::mnAscent
private
tools::Long ImplFontMetricData::mnBStrikeoutOffset
private

Definition at line 141 of file impfontmetricdata.hxx.

Referenced by ImplInitTextLineSize().

tools::Long ImplFontMetricData::mnBStrikeoutSize
private

Definition at line 140 of file impfontmetricdata.hxx.

Referenced by ImplInitTextLineSize().

tools::Long ImplFontMetricData::mnBulletOffset
private

Definition at line 117 of file impfontmetricdata.hxx.

Referenced by ImplInitTextLineSize().

tools::Long ImplFontMetricData::mnBUnderlineOffset
private

Definition at line 123 of file impfontmetricdata.hxx.

Referenced by ImplInitTextLineSize().

tools::Long ImplFontMetricData::mnBUnderlineSize
private

Definition at line 122 of file impfontmetricdata.hxx.

Referenced by ImplInitTextLineSize().

tools::Long ImplFontMetricData::mnDescent
private

Definition at line 109 of file impfontmetricdata.hxx.

Referenced by ImplCalcLineSpacing(), and ImplInitTextLineSize().

tools::Long ImplFontMetricData::mnDStrikeoutOffset1
private

Definition at line 143 of file impfontmetricdata.hxx.

Referenced by ImplInitTextLineSize().

tools::Long ImplFontMetricData::mnDStrikeoutOffset2
private

Definition at line 144 of file impfontmetricdata.hxx.

Referenced by ImplInitTextLineSize().

tools::Long ImplFontMetricData::mnDStrikeoutSize
private

Definition at line 142 of file impfontmetricdata.hxx.

Referenced by ImplInitTextLineSize().

tools::Long ImplFontMetricData::mnDUnderlineOffset1
private

Definition at line 125 of file impfontmetricdata.hxx.

Referenced by ImplInitTextLineSize().

tools::Long ImplFontMetricData::mnDUnderlineOffset2
private

Definition at line 126 of file impfontmetricdata.hxx.

Referenced by ImplInitTextLineSize().

tools::Long ImplFontMetricData::mnDUnderlineSize
private

Definition at line 124 of file impfontmetricdata.hxx.

Referenced by ImplInitTextLineSize().

tools::Long ImplFontMetricData::mnExtLeading
private

Definition at line 111 of file impfontmetricdata.hxx.

Referenced by ImplCalcLineSpacing().

tools::Long ImplFontMetricData::mnHeight
private

Definition at line 103 of file impfontmetricdata.hxx.

Referenced by ImplCalcLineSpacing().

tools::Long ImplFontMetricData::mnIntLeading
private
tools::Long ImplFontMetricData::mnMinKashida
private

Definition at line 113 of file impfontmetricdata.hxx.

Degree10 ImplFontMetricData::mnOrientation
private

Definition at line 105 of file impfontmetricdata.hxx.

int ImplFontMetricData::mnSlant
private

Definition at line 112 of file impfontmetricdata.hxx.

tools::Long ImplFontMetricData::mnStrikeoutOffset
private

Definition at line 139 of file impfontmetricdata.hxx.

Referenced by ImplInitTextLineSize().

tools::Long ImplFontMetricData::mnStrikeoutSize
private

Definition at line 138 of file impfontmetricdata.hxx.

Referenced by ImplInitTextLineSize().

tools::Long ImplFontMetricData::mnUnderlineOffset
private

Definition at line 121 of file impfontmetricdata.hxx.

Referenced by ImplInitTextLineSize().

tools::Long ImplFontMetricData::mnUnderlineSize
private

Definition at line 120 of file impfontmetricdata.hxx.

Referenced by ImplInitTextLineSize().

tools::Long ImplFontMetricData::mnWidth
private

Definition at line 104 of file impfontmetricdata.hxx.

tools::Long ImplFontMetricData::mnWUnderlineOffset
private

Definition at line 128 of file impfontmetricdata.hxx.

Referenced by ImplInitTextLineSize().

tools::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: