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
 
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 (std::u16string_view)
 

Private Attributes

OUString maFamilyName
 
OUString maStyleName
 
FontWeight meWeight
 
FontFamily meFamily
 
FontPitch mePitch
 
FontWidth meWidthType
 
FontItalic meItalic
 
rtl_TextEncoding meCharSet
 
bool mbSymbolFlag
 
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 108 of file fontattributes.hxx.

References maMapNames, and SAL_WARN.

◆ CompareDeviceIndependentFontAttributes()

bool FontAttributes::CompareDeviceIndependentFontAttributes ( const FontAttributes rOther) const

◆ GetCharSet()

rtl_TextEncoding FontAttributes::GetCharSet ( ) const
inline

Definition at line 45 of file fontattributes.hxx.

Referenced by FontMetric::FontMetric().

◆ 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 64 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 68 of file fontattributes.hxx.

◆ IsSymbolFont()

bool FontAttributes::IsSymbolFont ( ) 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

◆ SetPitch()

void FontAttributes::SetPitch ( const FontPitch  ePitch)
inline

◆ SetQuality()

void FontAttributes::SetQuality ( int  nQuality)
inline

Definition at line 67 of file fontattributes.hxx.

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

◆ SetStyleName()

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

◆ SetSymbolFlag()

void FontAttributes::SetSymbolFlag ( const bool  bSymbolFlag)
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 73 of file fontattributes.hxx.

Referenced by CompareDeviceIndependentFontAttributes().

◆ maMapNames

OUString FontAttributes::maMapNames
private

Definition at line 84 of file fontattributes.hxx.

Referenced by AddMapName().

◆ maStyleName

OUString FontAttributes::maStyleName
private

Definition at line 74 of file fontattributes.hxx.

Referenced by CompareDeviceIndependentFontAttributes().

◆ mbSymbolFlag

bool FontAttributes::mbSymbolFlag
private

Definition at line 81 of file fontattributes.hxx.

Referenced by CompareDeviceIndependentFontAttributes(), and SetSymbolFlag().

◆ meCharSet

rtl_TextEncoding FontAttributes::meCharSet
private

Definition at line 80 of file fontattributes.hxx.

Referenced by SetSymbolFlag().

◆ meFamily

FontFamily FontAttributes::meFamily
private

Definition at line 76 of file fontattributes.hxx.

Referenced by CompareDeviceIndependentFontAttributes().

◆ meItalic

FontItalic FontAttributes::meItalic
private

Definition at line 79 of file fontattributes.hxx.

Referenced by CompareDeviceIndependentFontAttributes().

◆ mePitch

FontPitch FontAttributes::mePitch
private

Definition at line 77 of file fontattributes.hxx.

Referenced by CompareDeviceIndependentFontAttributes().

◆ meWeight

FontWeight FontAttributes::meWeight
private

Definition at line 75 of file fontattributes.hxx.

Referenced by CompareDeviceIndependentFontAttributes().

◆ meWidthType

FontWidth FontAttributes::meWidthType
private

Definition at line 78 of file fontattributes.hxx.

Referenced by CompareDeviceIndependentFontAttributes().

◆ mnQuality

int FontAttributes::mnQuality
private

Definition at line 85 of file fontattributes.hxx.


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