LibreOffice Module vcl (master)  1
Public Member Functions | Protected Member Functions | List of all members
vcl::font::PhysicalFontFace Class Referenceabstract

abstract base class for physical font faces More...

#include <PhysicalFontFace.hxx>

Inheritance diagram for vcl::font::PhysicalFontFace:
[legend]
Collaboration diagram for vcl::font::PhysicalFontFace:
[legend]

Public Member Functions

virtual rtl::Reference< LogicalFontInstanceCreateFontInstance (const vcl::font::FontSelectPattern &) const =0
 
virtual sal_IntPtr GetFontId () const =0
 
virtual FontCharMapRef GetFontCharMap () const =0
 
virtual bool GetFontCapabilities (vcl::FontCapabilities &) const =0
 
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 ()
 

Protected Member Functions

 PhysicalFontFace (const FontAttributes &)
 
- Protected Member Functions inherited from salhelper::SimpleReferenceObject
virtual ~SimpleReferenceObject () COVERITY_NOEXCEPT_FALSE
 

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 Attributes inherited from salhelper::SimpleReferenceObject
oslInterlockedCount m_nCount
 

Detailed Description

abstract base class for physical font faces

It acts as a factory for its corresponding LogicalFontInstances and can be extended to cache device and font instance specific data.

Definition at line 66 of file PhysicalFontFace.hxx.

Constructor & Destructor Documentation

vcl::font::PhysicalFontFace::PhysicalFontFace ( const FontAttributes rDFA)
explicitprotected

Member Function Documentation

sal_Int32 vcl::font::PhysicalFontFace::CompareIgnoreSize ( const PhysicalFontFace rOther) const
virtual rtl::Reference<LogicalFontInstance> vcl::font::PhysicalFontFace::CreateFontInstance ( const vcl::font::FontSelectPattern ) const
pure virtual
virtual bool vcl::font::PhysicalFontFace::GetFontCapabilities ( vcl::FontCapabilities ) const
pure virtual
virtual FontCharMapRef vcl::font::PhysicalFontFace::GetFontCharMap ( ) const
pure virtual
virtual sal_IntPtr vcl::font::PhysicalFontFace::GetFontId ( ) const
pure virtual
bool vcl::font::PhysicalFontFace::IsBetterMatch ( const vcl::font::FontSelectPattern rFSP,
FontMatchStatus rStatus 
) const

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