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 (OUString const &)
 

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 ( )
explicit

Member Function Documentation

void FontAttributes::AddMapName ( OUString const &  aMapName)
inline

Definition at line 108 of file fontattributes.hxx.

References maMapNames, and SAL_WARN.

bool FontAttributes::CompareDeviceIndependentFontAttributes ( const FontAttributes rOther) const
rtl_TextEncoding FontAttributes::GetCharSet ( ) const
inline

Definition at line 45 of file fontattributes.hxx.

Referenced by OutputDevice::GetDevFont().

const OUString& FontAttributes::GetFamilyName ( ) const
inline
FontFamily FontAttributes::GetFamilyType ( ) const
inline
FontItalic FontAttributes::GetItalic ( ) const
inline
const OUString& FontAttributes::GetMapNames ( ) const
inline

Definition at line 64 of file fontattributes.hxx.

Referenced by PhysicalFontFamily::AddFontFace().

FontPitch FontAttributes::GetPitch ( ) const
inline
int FontAttributes::GetQuality ( ) const
inline
const OUString& FontAttributes::GetStyleName ( ) const
inline
FontWeight FontAttributes::GetWeight ( ) const
inline
FontWidth FontAttributes::GetWidthType ( ) const
inline
void FontAttributes::IncreaseQualityBy ( int  nQualityAmount)
inline

Definition at line 68 of file fontattributes.hxx.

bool FontAttributes::IsSymbolFont ( ) const
inline
void FontAttributes::SetFamilyName ( const OUString &  sFamilyName)
inline
void FontAttributes::SetFamilyType ( const FontFamily  eFontFamily)
inline
void FontAttributes::SetItalic ( const FontItalic  eItalic)
inline
void FontAttributes::SetPitch ( const FontPitch  ePitch)
inline
void FontAttributes::SetQuality ( int  nQuality)
inline

Definition at line 67 of file fontattributes.hxx.

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

void FontAttributes::SetStyleName ( const OUString &  sStyleName)
inline
void FontAttributes::SetSymbolFlag ( const bool  bSymbolFlag)
inline
void FontAttributes::SetWeight ( const FontWeight  eWeight)
inline
void FontAttributes::SetWidthType ( const FontWidth  eWidthType)
inline

Member Data Documentation

OUString FontAttributes::maFamilyName
private

Definition at line 73 of file fontattributes.hxx.

Referenced by CompareDeviceIndependentFontAttributes().

OUString FontAttributes::maMapNames
private

Definition at line 84 of file fontattributes.hxx.

Referenced by AddMapName().

OUString FontAttributes::maStyleName
private

Definition at line 74 of file fontattributes.hxx.

Referenced by CompareDeviceIndependentFontAttributes().

bool FontAttributes::mbSymbolFlag
private

Definition at line 81 of file fontattributes.hxx.

Referenced by CompareDeviceIndependentFontAttributes(), and SetSymbolFlag().

rtl_TextEncoding FontAttributes::meCharSet
private

Definition at line 80 of file fontattributes.hxx.

Referenced by SetSymbolFlag().

FontFamily FontAttributes::meFamily
private

Definition at line 76 of file fontattributes.hxx.

Referenced by CompareDeviceIndependentFontAttributes().

FontItalic FontAttributes::meItalic
private

Definition at line 79 of file fontattributes.hxx.

Referenced by CompareDeviceIndependentFontAttributes().

FontPitch FontAttributes::mePitch
private

Definition at line 77 of file fontattributes.hxx.

Referenced by CompareDeviceIndependentFontAttributes().

FontWeight FontAttributes::meWeight
private

Definition at line 75 of file fontattributes.hxx.

Referenced by CompareDeviceIndependentFontAttributes().

FontWidth FontAttributes::meWidthType
private

Definition at line 78 of file fontattributes.hxx.

Referenced by CompareDeviceIndependentFontAttributes().

int FontAttributes::mnQuality
private

Definition at line 85 of file fontattributes.hxx.


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