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

#include <Qt5FontFace.hxx>

Inheritance diagram for Qt5FontFace:
Collaboration diagram for Qt5FontFace:

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 FontSelectPattern &rFSD) const override
- Public Member Functions inherited from PhysicalFontFace
int GetHeight () const
int GetWidth () const
bool IsBetterMatch (const FontSelectPattern &, FontMatchStatus &) const
sal_Int32 CompareWithSize (const PhysicalFontFace &) 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 Qt5FontFacefromQFont (const QFont &rFont)
static Qt5FontFacefromQFontDatabase (const QString &aFamily, const QString &aStyle)
static void fillAttributesFromQFont (const QFont &rFont, FontAttributes &rFA)
static VCLPLUG_QT5_PUBLIC FontWeight toFontWeight (const int nWeight)
static VCLPLUG_QT5_PUBLIC FontWidth toFontWidth (const int nStretch)
static VCLPLUG_QT5_PUBLIC FontItalic toFontItalic (const QFont::Style eStyle)
- 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)

Private Types

enum  FontIdType {

Private Member Functions

 Qt5FontFace (const Qt5FontFace &)
 Qt5FontFace (const FontAttributes &, const 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 PhysicalFontFace
 PhysicalFontFace (const FontAttributes &)
void SetBitmapSize (int nW, int nH)
- Protected Member Functions inherited from salhelper::SimpleReferenceObject
virtual ~SimpleReferenceObject () COVERITY_NOEXCEPT_FALSE
- Protected Attributes inherited from PhysicalFontFace
tools::Long mnWidth
tools::Long mnHeight
- Protected Attributes inherited from salhelper::SimpleReferenceObject
oslInterlockedCount m_nCount

Detailed Description

Definition at line 35 of file Qt5FontFace.hxx.

Member Enumeration Documentation


Definition at line 59 of file Qt5FontFace.hxx.

Constructor & Destructor Documentation

Qt5FontFace::Qt5FontFace ( const Qt5FontFace )
Qt5FontFace::Qt5FontFace ( const FontAttributes ,
const QString &  rFontID,
const FontIdType   

Member Function Documentation

QFont Qt5FontFace::CreateFont ( ) const
rtl::Reference<LogicalFontInstance> Qt5FontFace::CreateFontInstance ( const FontSelectPattern rFSD) const

Implements PhysicalFontFace.

static void Qt5FontFace::fillAttributesFromQFont ( const QFont &  rFont,
FontAttributes rFA 
static Qt5FontFace* Qt5FontFace::fromQFont ( const QFont &  rFont)
static Qt5FontFace* Qt5FontFace::fromQFontDatabase ( const QString &  aFamily,
const QString &  aStyle 
bool Qt5FontFace::GetFontCapabilities ( vcl::FontCapabilities ) const

Implements PhysicalFontFace.

FontCharMapRef Qt5FontFace::GetFontCharMap ( ) const

Implements PhysicalFontFace.

sal_IntPtr Qt5FontFace::GetFontId ( ) const

Implements PhysicalFontFace.

int Qt5FontFace::GetFontTable ( const char  pTagName[5],
unsigned char *   
) const
bool Qt5FontFace::HasChar ( sal_uInt32  cChar) const
static VCLPLUG_QT5_PUBLIC FontItalic Qt5FontFace::toFontItalic ( const QFont::Style  eStyle)
static VCLPLUG_QT5_PUBLIC FontWeight Qt5FontFace::toFontWeight ( const int  nWeight)
static VCLPLUG_QT5_PUBLIC FontWidth Qt5FontFace::toFontWidth ( const int  nStretch)

Member Data Documentation

vcl::FontCapabilities Qt5FontFace::m_aFontCapabilities

Definition at line 67 of file Qt5FontFace.hxx.

const QString Qt5FontFace::m_aFontId

Definition at line 64 of file Qt5FontFace.hxx.

bool Qt5FontFace::m_bFontCapabilitiesRead

Definition at line 68 of file Qt5FontFace.hxx.

const FontIdType Qt5FontFace::m_eFontIdType

Definition at line 65 of file Qt5FontFace.hxx.

FontCharMapRef Qt5FontFace::m_xCharMap

Definition at line 66 of file Qt5FontFace.hxx.

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