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

#include <fontattributes.hxx>

Inheritance diagram for FontAttributes:
[legend]

Public Member Functions

 FontAttributes ()
 
const OUString & GetFamilyName () const
 
FontFamily GetFamilyType () const
 
const OUString & GetStyleName () const
 
FontWeight GetWeight () const
 
FontItalic GetItalic () const
 
FontPitch GetPitch () const
 
FontWidth GetWidthType () const
 
bool IsMicrosoftSymbolEncoded () 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 SetMicrosoftSymbolEncoded (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 (std::u16string_view)
 

Private Attributes

OUString maFamilyName
 
OUString maStyleName
 
FontWeight meWeight
 
FontFamily meFamily
 
FontPitch mePitch
 
FontWidth meWidthType
 
FontItalic meItalic
 
bool mbMicrosoftSymbolEncoded
 
OUString maMapNames
 
int mnQuality
 

Detailed Description

Definition at line 31 of file fontattributes.hxx.

Constructor & Destructor Documentation

◆ FontAttributes()

FontAttributes::FontAttributes ( )
explicit

Member Function Documentation

◆ AddMapName()

void FontAttributes::AddMapName ( std::u16string_view  aMapName)
inline

Definition at line 92 of file fontattributes.hxx.

References maMapNames, and SAL_WARN.

◆ CompareDeviceIndependentFontAttributes()

bool FontAttributes::CompareDeviceIndependentFontAttributes ( const FontAttributes rOther) const

◆ GetFamilyName()

const OUString & FontAttributes::GetFamilyName ( ) const
inline

◆ GetFamilyType()

FontFamily FontAttributes::GetFamilyType ( ) const
inline

◆ GetItalic()

FontItalic FontAttributes::GetItalic ( ) const
inline

◆ GetMapNames()

const OUString & FontAttributes::GetMapNames ( ) const
inline

Definition at line 63 of file fontattributes.hxx.

Referenced by vcl::font::PhysicalFontFamily::AddFontFace().

◆ GetPitch()

FontPitch FontAttributes::GetPitch ( ) const
inline

◆ GetQuality()

int FontAttributes::GetQuality ( ) const
inline

◆ GetStyleName()

const OUString & FontAttributes::GetStyleName ( ) const
inline

◆ GetWeight()

FontWeight FontAttributes::GetWeight ( ) const
inline

◆ GetWidthType()

FontWidth FontAttributes::GetWidthType ( ) const
inline

◆ IncreaseQualityBy()

void FontAttributes::IncreaseQualityBy ( int  nQualityAmount)
inline

Definition at line 67 of file fontattributes.hxx.

◆ IsMicrosoftSymbolEncoded()

bool FontAttributes::IsMicrosoftSymbolEncoded ( ) const
inline

◆ SetFamilyName()

void FontAttributes::SetFamilyName ( const OUString &  sFamilyName)
inline

◆ SetFamilyType()

void FontAttributes::SetFamilyType ( const FontFamily  eFontFamily)
inline

◆ SetItalic()

void FontAttributes::SetItalic ( const FontItalic  eItalic)
inline

◆ SetMicrosoftSymbolEncoded()

void FontAttributes::SetMicrosoftSymbolEncoded ( const bool  bMicrosoftSymbolEncoded)
inline

◆ SetPitch()

void FontAttributes::SetPitch ( const FontPitch  ePitch)
inline

◆ SetQuality()

void FontAttributes::SetQuality ( int  nQuality)
inline

Definition at line 66 of file fontattributes.hxx.

Referenced by vcl::pdf::BuildinFont::GetFontAttributes().

◆ SetStyleName()

void FontAttributes::SetStyleName ( const OUString &  sStyleName)
inline

◆ SetWeight()

void FontAttributes::SetWeight ( const FontWeight  eWeight)
inline

◆ SetWidthType()

void FontAttributes::SetWidthType ( const FontWidth  eWidthType)
inline

Member Data Documentation

◆ maFamilyName

OUString FontAttributes::maFamilyName
private

Definition at line 72 of file fontattributes.hxx.

Referenced by CompareDeviceIndependentFontAttributes().

◆ maMapNames

OUString FontAttributes::maMapNames
private

Definition at line 82 of file fontattributes.hxx.

Referenced by AddMapName().

◆ maStyleName

OUString FontAttributes::maStyleName
private

Definition at line 73 of file fontattributes.hxx.

Referenced by CompareDeviceIndependentFontAttributes().

◆ mbMicrosoftSymbolEncoded

bool FontAttributes::mbMicrosoftSymbolEncoded
private

◆ meFamily

FontFamily FontAttributes::meFamily
private

Definition at line 75 of file fontattributes.hxx.

Referenced by CompareDeviceIndependentFontAttributes().

◆ meItalic

FontItalic FontAttributes::meItalic
private

Definition at line 78 of file fontattributes.hxx.

Referenced by CompareDeviceIndependentFontAttributes().

◆ mePitch

FontPitch FontAttributes::mePitch
private

Definition at line 76 of file fontattributes.hxx.

Referenced by CompareDeviceIndependentFontAttributes().

◆ meWeight

FontWeight FontAttributes::meWeight
private

Definition at line 74 of file fontattributes.hxx.

Referenced by CompareDeviceIndependentFontAttributes().

◆ meWidthType

FontWidth FontAttributes::meWidthType
private

Definition at line 77 of file fontattributes.hxx.

Referenced by CompareDeviceIndependentFontAttributes().

◆ mnQuality

int FontAttributes::mnQuality
private

Definition at line 83 of file fontattributes.hxx.


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