LibreOffice Module vcl (master)
1
|
#include <fontattributes.hxx>
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 |
Definition at line 31 of file fontattributes.hxx.
|
explicit |
Definition at line 22 of file fontattributes.cxx.
References FAMILY_DONTKNOW, ITALIC_NONE, PITCH_DONTKNOW, WEIGHT_DONTKNOW, and WIDTH_DONTKNOW.
|
inline |
Definition at line 108 of file fontattributes.hxx.
References maMapNames, and SAL_WARN.
bool FontAttributes::CompareDeviceIndependentFontAttributes | ( | const FontAttributes & | rOther | ) | const |
Definition at line 33 of file fontattributes.cxx.
References maFamilyName, maStyleName, mbSymbolFlag, meFamily, meItalic, mePitch, meWeight, and meWidthType.
Referenced by FontSelectPattern::operator==().
|
inline |
Definition at line 45 of file fontattributes.hxx.
Referenced by OutputDevice::GetDevFont().
|
inline |
Definition at line 37 of file fontattributes.hxx.
Referenced by PhysicalFontCollection::Add(), PhysicalFontFamily::AddFontFace(), PhysicalFontFace::CompareIgnoreSize(), vcl::PDFWriterImpl::emitFonts(), vcl::PDFWriterImpl::emitSystemFont(), PhysicalFontCollection::FindFontFamily(), EmbeddedFontsHelper::fontFileUrl(), FontSelectPattern::FontSelectPattern(), OutputDevice::GetDevFont(), ImplFontMetricData::ImplCalcLineSpacing(), ImplFontMetricData::ImplFontMetricData(), PhysicalFontFace::IsBetterMatch(), PhysicalFontFace::PhysicalFontFace(), and ImplFontMetricData::ShouldUseWinMetrics().
|
inline |
Definition at line 38 of file fontattributes.hxx.
Referenced by PhysicalFontFamily::AddFontFace(), vcl::PDFWriterImpl::emitFontDescriptor(), PhysicalFontCollection::FindFontFamily(), EmbeddedFontsHelper::fontFileUrl(), OutputDevice::GetDevFont(), and OutputDevice::GetFontMetric().
|
inline |
Definition at line 42 of file fontattributes.hxx.
Referenced by PhysicalFontFamily::AddFontFace(), PhysicalFontFace::CompareIgnoreSize(), vcl::PDFWriterImpl::drawLayout(), vcl::PDFWriterImpl::emitFontDescriptor(), vcl::PDFWriterImpl::emitFonts(), PhysicalFontCollection::FindFontFamily(), EmbeddedFontsHelper::fontFileUrl(), OutputDevice::GetDevFont(), OutputDevice::GetFontMetric(), FontSelectPattern::hashCode(), PhysicalFontFace::IsBetterMatch(), and ImplFontCache::IFSD_Equal::operator()().
|
inline |
Definition at line 64 of file fontattributes.hxx.
Referenced by PhysicalFontFamily::AddFontFace().
|
inline |
Definition at line 43 of file fontattributes.hxx.
Referenced by PhysicalFontFamily::AddFontFace(), vcl::PDFWriterImpl::emitFontDescriptor(), EmbeddedFontsHelper::fontFileUrl(), OutputDevice::GetDevFont(), OutputDevice::GetFontMetric(), PhysicalFontFace::IsBetterMatch(), and ImplFontCache::IFSD_Equal::operator()().
|
inline |
Definition at line 63 of file fontattributes.hxx.
Referenced by PhysicalFontFamily::AddFontFace(), OutputDevice::GetDevFont(), and OutputDevice::GetFontMetric().
|
inline |
Definition at line 39 of file fontattributes.hxx.
Referenced by PhysicalFontFace::CompareIgnoreSize(), OutputDevice::GetDevFont(), OutputDevice::GetFontMetric(), ImplFontMetricData::ImplFontMetricData(), PhysicalFontFace::IsBetterMatch(), and ImplFontCache::IFSD_Equal::operator()().
|
inline |
Definition at line 41 of file fontattributes.hxx.
Referenced by PhysicalFontFamily::AddFontFace(), PhysicalFontFace::CompareIgnoreSize(), vcl::PDFWriterImpl::emitFonts(), PhysicalFontCollection::FindFontFamily(), EmbeddedFontsHelper::fontFileUrl(), OutputDevice::GetDevFont(), OutputDevice::GetFontMetric(), PhysicalFontCollection::GetGlyphFallbackFont(), FontSelectPattern::hashCode(), PhysicalFontFace::IsBetterMatch(), and ImplFontCache::IFSD_Equal::operator()().
|
inline |
Definition at line 44 of file fontattributes.hxx.
Referenced by PhysicalFontFace::CompareIgnoreSize(), PhysicalFontCollection::FindFontFamily(), OutputDevice::GetDevFont(), OutputDevice::GetFontMetric(), and PhysicalFontFace::IsBetterMatch().
Definition at line 68 of file fontattributes.hxx.
|
inline |
Definition at line 47 of file fontattributes.hxx.
Referenced by PhysicalFontFamily::AddFontFace(), vcl::PDFWriterImpl::emitSystemFont(), PhysicalFontCollection::FindFontFamily(), ImplFontCache::GetFontInstance(), OutputDevice::GetFontMetric(), FreetypeFontInfo::IsSymbolFont(), ImplFontCache::IFSD_Equal::operator()(), and PhysicalFontFace::PhysicalFontFace().
|
inline |
Definition at line 49 of file fontattributes.hxx.
Referenced by PhysicalFontFamily::AddFontFace(), vcl::pdf::BuildinFont::GetFontAttributes(), vcl::Font::GetFontAttributes(), ImplFontCache::GetGlyphFallbackFont(), and ImplFontMetricData::ImplFontMetricData().
|
inline |
Definition at line 51 of file fontattributes.hxx.
Referenced by vcl::pdf::BuildinFont::GetFontAttributes(), and vcl::Font::GetFontAttributes().
|
inline |
Definition at line 54 of file fontattributes.hxx.
Referenced by PhysicalFontCollection::FindFontFamily(), vcl::pdf::BuildinFont::GetFontAttributes(), and vcl::Font::GetFontAttributes().
Definition at line 53 of file fontattributes.hxx.
Referenced by vcl::pdf::BuildinFont::GetFontAttributes(), and vcl::Font::GetFontAttributes().
Definition at line 67 of file fontattributes.hxx.
Referenced by vcl::pdf::BuildinFont::GetFontAttributes().
|
inline |
Definition at line 50 of file fontattributes.hxx.
Referenced by vcl::pdf::BuildinFont::GetFontAttributes(), vcl::Font::GetFontAttributes(), and ImplFontMetricData::ImplFontMetricData().
|
inline |
Definition at line 89 of file fontattributes.hxx.
References mbSymbolFlag, and meCharSet.
Referenced by vcl::pdf::BuildinFont::GetFontAttributes(), vcl::Font::GetFontAttributes(), and PhysicalFontFace::PhysicalFontFace().
|
inline |
Definition at line 55 of file fontattributes.hxx.
Referenced by PhysicalFontCollection::FindFontFamily(), vcl::pdf::BuildinFont::GetFontAttributes(), and vcl::Font::GetFontAttributes().
Definition at line 56 of file fontattributes.hxx.
Referenced by vcl::pdf::BuildinFont::GetFontAttributes(), and vcl::Font::GetFontAttributes().
|
private |
Definition at line 73 of file fontattributes.hxx.
Referenced by CompareDeviceIndependentFontAttributes().
|
private |
Definition at line 84 of file fontattributes.hxx.
Referenced by AddMapName().
|
private |
Definition at line 74 of file fontattributes.hxx.
Referenced by CompareDeviceIndependentFontAttributes().
|
private |
Definition at line 81 of file fontattributes.hxx.
Referenced by CompareDeviceIndependentFontAttributes(), and SetSymbolFlag().
|
private |
Definition at line 80 of file fontattributes.hxx.
Referenced by SetSymbolFlag().
|
private |
Definition at line 76 of file fontattributes.hxx.
Referenced by CompareDeviceIndependentFontAttributes().
|
private |
Definition at line 79 of file fontattributes.hxx.
Referenced by CompareDeviceIndependentFontAttributes().
|
private |
Definition at line 77 of file fontattributes.hxx.
Referenced by CompareDeviceIndependentFontAttributes().
|
private |
Definition at line 75 of file fontattributes.hxx.
Referenced by CompareDeviceIndependentFontAttributes().
|
private |
Definition at line 78 of file fontattributes.hxx.
Referenced by CompareDeviceIndependentFontAttributes().
|
private |
Definition at line 85 of file fontattributes.hxx.