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

#include <QtFontFace.hxx>

Inheritance diagram for QtFontFace:
Collaboration diagram for QtFontFace:

Public Member Functions

sal_IntPtr GetFontId () const override
QFont CreateFont () const
int GetFontTable (const char pTagName[5], unsigned char *) const
FontCharMapRef GetFontCharMap () const override
bool GetFontCapabilities (vcl::FontCapabilities &) const override
bool HasChar (sal_uInt32 cChar) const
rtl::Reference< LogicalFontInstanceCreateFontInstance (const vcl::font::FontSelectPattern &rFSD) const override
- Public Member Functions inherited from vcl::font::PhysicalFontFace
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 ()

Static Public Member Functions

static QtFontFacefromQFont (const QFont &rFont)
static QtFontFacefromQFontDatabase (const QString &aFamily, const QString &aStyle)
static void fillAttributesFromQFont (const QFont &rFont, FontAttributes &rFA)
static VCLPLUG_QT_PUBLIC FontWeight toFontWeight (const int nWeight)
static VCLPLUG_QT_PUBLIC FontWidth toFontWidth (const int nStretch)
static VCLPLUG_QT_PUBLIC FontItalic toFontItalic (const QFont::Style eStyle)
- Static Public Member Functions inherited from salhelper::SimpleReferenceObject
static void * operator new (std::size_t nSize)
static void * operator 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)

Private Types

enum  FontIdType {
  Font ,

Private Member Functions

 QtFontFace (const QtFontFace &)
 QtFontFace (const FontAttributes &, QString rFontID, const FontIdType)

Private Attributes

const QString m_aFontId
const FontIdType m_eFontIdType
FontCharMapRef m_xCharMap
vcl::FontCapabilities m_aFontCapabilities
bool m_bFontCapabilitiesRead

Additional Inherited Members

- 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 40 of file qt5/QtFontFace.hxx.

Member Enumeration Documentation

◆ FontIdType

enum QtFontFace::FontIdType

Definition at line 64 of file qt5/QtFontFace.hxx.

Constructor & Destructor Documentation

◆ QtFontFace() [1/2]

QtFontFace::QtFontFace ( const QtFontFace )

◆ QtFontFace() [2/2]

QtFontFace::QtFontFace ( const FontAttributes ,
QString  rFontID,
const  FontIdType 

Member Function Documentation

◆ CreateFont()

QFont QtFontFace::CreateFont ( ) const

◆ CreateFontInstance()

rtl::Reference< LogicalFontInstance > QtFontFace::CreateFontInstance ( const vcl::font::FontSelectPattern rFSD) const

◆ fillAttributesFromQFont()

static void QtFontFace::fillAttributesFromQFont ( const QFont &  rFont,
FontAttributes rFA 

◆ fromQFont()

static QtFontFace * QtFontFace::fromQFont ( const QFont &  rFont)

◆ fromQFontDatabase()

static QtFontFace * QtFontFace::fromQFontDatabase ( const QString &  aFamily,
const QString &  aStyle 

◆ GetFontCapabilities()

bool QtFontFace::GetFontCapabilities ( vcl::FontCapabilities ) const

◆ GetFontCharMap()

FontCharMapRef QtFontFace::GetFontCharMap ( ) const

◆ GetFontId()

sal_IntPtr QtFontFace::GetFontId ( ) const

◆ GetFontTable()

int QtFontFace::GetFontTable ( const char  pTagName[5],
unsigned char *   
) const

◆ HasChar()

bool QtFontFace::HasChar ( sal_uInt32  cChar) const

◆ toFontItalic()

static VCLPLUG_QT_PUBLIC FontItalic QtFontFace::toFontItalic ( const QFont::Style  eStyle)

◆ toFontWeight()

static VCLPLUG_QT_PUBLIC FontWeight QtFontFace::toFontWeight ( const int  nWeight)

◆ toFontWidth()

static VCLPLUG_QT_PUBLIC FontWidth QtFontFace::toFontWidth ( const int  nStretch)

Member Data Documentation

◆ m_aFontCapabilities

vcl::FontCapabilities QtFontFace::m_aFontCapabilities

Definition at line 72 of file qt5/QtFontFace.hxx.

◆ m_aFontId

const QString QtFontFace::m_aFontId

Definition at line 69 of file qt5/QtFontFace.hxx.

◆ m_bFontCapabilitiesRead

bool QtFontFace::m_bFontCapabilitiesRead

Definition at line 73 of file qt5/QtFontFace.hxx.

◆ m_eFontIdType

const FontIdType QtFontFace::m_eFontIdType

Definition at line 70 of file qt5/QtFontFace.hxx.

◆ m_xCharMap

FontCharMapRef QtFontFace::m_xCharMap

Definition at line 71 of file qt5/QtFontFace.hxx.

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