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

#include <pdfbuildin_fonts.hxx>

Inheritance diagram for vcl::pdf::BuildinFontFace:
[legend]
Collaboration diagram for vcl::pdf::BuildinFontFace:
[legend]

Public Member Functions

 BuildinFontFace (int nId)
 
const BuildinFontGetBuildinFont () const
 
sal_IntPtr GetFontId () const override
 
FontCharMapRef GetFontCharMap () const override
 
bool GetFontCapabilities (vcl::FontCapabilities &) 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 const BuildinFontGet (int nId)
 
- 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 Member Functions

rtl::Reference< LogicalFontInstanceCreateFontInstance (const vcl::font::FontSelectPattern &rFSD) const override
 

Private Attributes

const BuildinFontmrBuildin
 

Static Private Attributes

static const BuildinFont m_aBuildinFonts [14]
 

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 60 of file pdfbuildin_fonts.hxx.

Constructor & Destructor Documentation

◆ BuildinFontFace()

vcl::pdf::BuildinFontFace::BuildinFontFace ( int  nId)
explicit

Definition at line 750 of file pdfbuildin_fonts.cxx.

References nId.

Member Function Documentation

◆ CreateFontInstance()

rtl::Reference< LogicalFontInstance > vcl::pdf::BuildinFontFace::CreateFontInstance ( const vcl::font::FontSelectPattern rFSD) const
overrideprivatevirtual

Implements vcl::font::PhysicalFontFace.

Definition at line 757 of file pdfbuildin_fonts.cxx.

◆ Get()

static const BuildinFont & vcl::pdf::BuildinFontFace::Get ( int  nId)
inlinestatic

◆ GetBuildinFont()

const BuildinFont & vcl::pdf::BuildinFontFace::GetBuildinFont ( ) const
inline

Definition at line 71 of file pdfbuildin_fonts.hxx.

References mrBuildin.

Referenced by vcl::PDFWriterImpl::emitBuildinFont().

◆ GetFontCapabilities()

bool vcl::pdf::BuildinFontFace::GetFontCapabilities ( vcl::FontCapabilities ) const
inlineoverridevirtual

Implements vcl::font::PhysicalFontFace.

Definition at line 74 of file pdfbuildin_fonts.hxx.

◆ GetFontCharMap()

FontCharMapRef vcl::pdf::BuildinFontFace::GetFontCharMap ( ) const
inlineoverridevirtual

◆ GetFontId()

sal_IntPtr vcl::pdf::BuildinFontFace::GetFontId ( ) const
inlineoverridevirtual

Implements vcl::font::PhysicalFontFace.

Definition at line 72 of file pdfbuildin_fonts.hxx.

References mrBuildin.

Member Data Documentation

◆ m_aBuildinFonts

const BuildinFont vcl::pdf::BuildinFontFace::m_aBuildinFonts
staticprivate

Definition at line 62 of file pdfbuildin_fonts.hxx.

Referenced by Get().

◆ mrBuildin

const BuildinFont& vcl::pdf::BuildinFontFace::mrBuildin
private

Definition at line 63 of file pdfbuildin_fonts.hxx.

Referenced by GetBuildinFont(), GetFontCharMap(), and GetFontId().


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