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

#include <salgdi.h>

Inheritance diagram for WinFontFace:
Collaboration diagram for WinFontFace:

Public Member Functions

 WinFontFace (const FontAttributes &, BYTE eWinCharSet, BYTE nPitchAndFamily)
virtual ~WinFontFace () override
virtual rtl::Reference< LogicalFontInstanceCreateFontInstance (const vcl::font::FontSelectPattern &) const override
virtual sal_IntPtr GetFontId () const override
void SetFontId (sal_IntPtr nId)
void UpdateFromHDC (HDC) const
bool HasChar (sal_uInt32 cChar) const
BYTE GetCharSet () const
BYTE GetPitchAndFamily () const
FontCharMapRef GetFontCharMap () const override
bool GetFontCapabilities (vcl::FontCapabilities &) const override
- Public Member Functions inherited from vcl::font::PhysicalFontFace
bool IsBetterMatch (const vcl::font::FontSelectPattern &, FontMatchStatus &) const
sal_Int32 CompareIgnoreSize (const PhysicalFontFace &) const
- 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 salhelper::SimpleReferenceObject
 SimpleReferenceObject ()
void acquire ()
void release ()

Private Member Functions

void ReadCmapTable (HDC) const
void GetFontCapabilities (HDC hDC) const

Private Attributes

sal_IntPtr mnId
bool mbFontCapabilitiesRead
FontCharMapRef mxUnicodeMap
vcl::FontCapabilities maFontCapabilities
BYTE meWinCharSet
BYTE mnPitchAndFamily
bool mbAliasSymbolsHigh
bool mbAliasSymbolsLow

Additional Inherited Members

- Static Public Member Functions inherited from salhelper::SimpleReferenceObject
static voidoperator new (std::size_t nSize)
static voidoperator new (std::size_t nSize, std::nothrow_t const &rNothrow)
static void operator delete (void *pPtr)
static void operator delete (void *pPtr, std::nothrow_t const &rNothrow)
- Protected Member Functions inherited from vcl::font::PhysicalFontFace
 PhysicalFontFace (const FontAttributes &)
- Protected Member Functions inherited from salhelper::SimpleReferenceObject
virtual ~SimpleReferenceObject () COVERITY_NOEXCEPT_FALSE
- Protected Attributes inherited from salhelper::SimpleReferenceObject
oslInterlockedCount m_nCount

Detailed Description

Definition at line 61 of file win/salgdi.h.

Constructor & Destructor Documentation

WinFontFace::WinFontFace ( const FontAttributes ,
BYTE  eWinCharSet,
BYTE  nPitchAndFamily 
virtual WinFontFace::~WinFontFace ( )

Member Function Documentation

virtual rtl::Reference<LogicalFontInstance> WinFontFace::CreateFontInstance ( const vcl::font::FontSelectPattern ) const
BYTE WinFontFace::GetCharSet ( ) const

Definition at line 76 of file win/salgdi.h.

References meWinCharSet.

bool WinFontFace::GetFontCapabilities ( vcl::FontCapabilities ) const
void WinFontFace::GetFontCapabilities ( HDC  hDC) const
FontCharMapRef WinFontFace::GetFontCharMap ( ) const
virtual sal_IntPtr WinFontFace::GetFontId ( ) const
BYTE WinFontFace::GetPitchAndFamily ( ) const

Definition at line 77 of file win/salgdi.h.

References mnPitchAndFamily.

bool WinFontFace::HasChar ( sal_uInt32  cChar) const
void WinFontFace::ReadCmapTable ( HDC  ) const
void WinFontFace::SetFontId ( sal_IntPtr  nId)

Definition at line 71 of file win/salgdi.h.

References mnId.

void WinFontFace::UpdateFromHDC ( HDC  ) const

Member Data Documentation

vcl::FontCapabilities WinFontFace::maFontCapabilities

Definition at line 88 of file win/salgdi.h.

bool WinFontFace::mbAliasSymbolsHigh

Definition at line 92 of file win/salgdi.h.

Referenced by HasChar().

bool WinFontFace::mbAliasSymbolsLow

Definition at line 93 of file win/salgdi.h.

Referenced by HasChar().

bool WinFontFace::mbFontCapabilitiesRead

Definition at line 86 of file win/salgdi.h.

BYTE WinFontFace::meWinCharSet

Definition at line 90 of file win/salgdi.h.

Referenced by GetCharSet().

sal_IntPtr WinFontFace::mnId

Definition at line 83 of file win/salgdi.h.

Referenced by SetFontId().

BYTE WinFontFace::mnPitchAndFamily

Definition at line 91 of file win/salgdi.h.

Referenced by GetPitchAndFamily().

FontCharMapRef WinFontFace::mxUnicodeMap

Definition at line 87 of file win/salgdi.h.

Referenced by HasChar().

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