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

#include <Qt5FontFace.hxx>

Inheritance diagram for Qt5FontFace:
[legend]
Collaboration diagram for Qt5FontFace:
[legend]

Public Member Functions

sal_IntPtr GetFontId () const override
 
int GetFontTable (const char pTagName[5], unsigned char *) const
 
const FontCharMapRefGetFontCharMap () const
 
bool GetFontCapabilities (vcl::FontCapabilities &rFontCapabilities) const
 
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 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

 Qt5FontFace (const Qt5FontFace &)
 
 Qt5FontFace (const FontAttributes &rFA, const QString &rFontID)
 
- 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
 

Private Attributes

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

Additional Inherited Members

- Protected Attributes inherited from PhysicalFontFace
long mnWidth
 
long mnHeight
 
- Protected Attributes inherited from salhelper::SimpleReferenceObject
oslInterlockedCount m_nCount
 

Detailed Description

Definition at line 34 of file Qt5FontFace.hxx.

Constructor & Destructor Documentation

Qt5FontFace::Qt5FontFace ( const Qt5FontFace )
protected
Qt5FontFace::Qt5FontFace ( const FontAttributes rFA,
const QString &  rFontID 
)
protected

Member Function Documentation

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

Implements PhysicalFontFace.

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

Implements PhysicalFontFace.

int Qt5FontFace::GetFontTable ( const char  pTagName[5],
unsigned char *   
) const
bool Qt5FontFace::HasChar ( sal_uInt32  cChar) const

Member Data Documentation

vcl::FontCapabilities Qt5FontFace::m_aFontCapabilities
mutableprivate

Definition at line 59 of file Qt5FontFace.hxx.

const QString Qt5FontFace::m_aFontId
private

Definition at line 57 of file Qt5FontFace.hxx.

bool Qt5FontFace::m_bFontCapabilitiesRead
mutableprivate

Definition at line 60 of file Qt5FontFace.hxx.

FontCharMapRef Qt5FontFace::m_xCharMap
mutableprivate

Definition at line 58 of file Qt5FontFace.hxx.


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