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 |
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 |
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 92 of file fontattributes.hxx.
References maMapNames, and SAL_WARN.
bool FontAttributes::CompareDeviceIndependentFontAttributes | ( | const FontAttributes & | rOther | ) | const |
Definition at line 32 of file fontattributes.cxx.
References maFamilyName, maStyleName, mbMicrosoftSymbolEncoded, meFamily, meItalic, mePitch, meWeight, and meWidthType.
Referenced by vcl::font::FontSelectPattern::operator==().
|
inline |
Definition at line 37 of file fontattributes.hxx.
Referenced by vcl::font::PhysicalFontCollection::Add(), vcl::font::PhysicalFontFamily::AddFontFace(), vcl::font::PhysicalFontFace::CompareIgnoreSize(), vcl::PDFWriterImpl::emitSystemFont(), vcl::font::PhysicalFontCollection::FindFontFamily(), EmbeddedFontsHelper::fontFileUrl(), FontMetric::FontMetric(), FontMetricData::FontMetricData(), vcl::font::FontSelectPattern::FontSelectPattern(), vcl::font::PhysicalFontFace::IsBetterMatch(), FontMetricData::ShouldNotUseUnderlineMetrics(), FontMetricData::ShouldUseWinMetrics(), and TrackFontMappingUse().
|
inline |
Definition at line 38 of file fontattributes.hxx.
Referenced by vcl::font::PhysicalFontFamily::AddFontFace(), vcl::PDFWriterImpl::emitFontDescriptor(), vcl::font::PhysicalFontCollection::FindFontFamily(), EmbeddedFontsHelper::fontFileUrl(), and FontMetric::FontMetric().
|
inline |
Definition at line 42 of file fontattributes.hxx.
Referenced by vcl::font::PhysicalFontFamily::AddFontFace(), vcl::font::PhysicalFontFace::CompareIgnoreSize(), vcl::PDFWriterImpl::emitFontDescriptor(), vcl::font::PhysicalFontCollection::FindFontFamily(), EmbeddedFontsHelper::fontFileUrl(), FontMetric::FontMetric(), vcl::font::FontSelectPattern::hashCode(), vcl::font::PhysicalFontFace::IsBetterMatch(), vcl::font::ItalicMatchValue(), LogicalFontInstance::NeedsArtificialItalic(), and ImplFontCache::IFSD_Equal::operator()().
|
inline |
Definition at line 63 of file fontattributes.hxx.
Referenced by vcl::font::PhysicalFontFamily::AddFontFace().
|
inline |
Definition at line 43 of file fontattributes.hxx.
Referenced by vcl::font::PhysicalFontFamily::AddFontFace(), SalLayoutGlyphsCache::CachedGlyphsKey::CachedGlyphsKey(), vcl::PDFWriterImpl::emitFontDescriptor(), EmbeddedFontsHelper::fontFileUrl(), FontMetric::FontMetric(), vcl::font::PhysicalFontFace::IsBetterMatch(), ImplFontCache::IFSD_Equal::operator()(), and vcl::font::PitchMatchValue().
|
inline |
Definition at line 62 of file fontattributes.hxx.
Referenced by vcl::font::PhysicalFontFamily::AddFontFace(), and FontMetric::FontMetric().
|
inline |
Definition at line 39 of file fontattributes.hxx.
Referenced by vcl::font::PhysicalFontFace::CompareIgnoreSize(), FontMetric::FontMetric(), FontMetricData::FontMetricData(), vcl::font::PhysicalFontFace::IsBetterMatch(), ImplFontCache::IFSD_Equal::operator()(), and TrackFontMappingUse().
|
inline |
Definition at line 41 of file fontattributes.hxx.
Referenced by vcl::font::PhysicalFontFamily::AddFontFace(), vcl::font::PhysicalFontFace::CompareIgnoreSize(), vcl::font::PhysicalFontCollection::FindFontFamily(), EmbeddedFontsHelper::fontFileUrl(), FontMetric::FontMetric(), vcl::font::PhysicalFontCollection::GetGlyphFallbackFont(), vcl::font::FontSelectPattern::hashCode(), vcl::font::PhysicalFontFace::IsBetterMatch(), LogicalFontInstance::NeedsArtificialBold(), ImplFontCache::IFSD_Equal::operator()(), and vcl::font::WeightMatchValue().
|
inline |
Definition at line 44 of file fontattributes.hxx.
Referenced by vcl::font::PhysicalFontFace::CompareIgnoreSize(), vcl::font::PhysicalFontCollection::FindFontFamily(), FontMetric::FontMetric(), and vcl::font::PhysicalFontFace::IsBetterMatch().
|
inline |
Definition at line 67 of file fontattributes.hxx.
|
inline |
Definition at line 46 of file fontattributes.hxx.
Referenced by vcl::font::PhysicalFontFamily::AddFontFace(), vcl::PDFWriterImpl::emitSystemFont(), vcl::font::PhysicalFontCollection::FindFontFamily(), FontMetric::FontMetric(), vcl::font::PhysicalFontFace::GetFontCharMap(), ImplFontCache::GetFontInstance(), and ImplFontCache::IFSD_Equal::operator()().
|
inline |
Definition at line 48 of file fontattributes.hxx.
Referenced by vcl::font::PhysicalFontFamily::AddFontFace(), FontMetricData::FontMetricData(), vcl::pdf::BuildinFont::GetFontAttributes(), vcl::Font::GetFontAttributes(), and ImplFontCache::GetGlyphFallbackFont().
|
inline |
Definition at line 50 of file fontattributes.hxx.
Referenced by vcl::pdf::BuildinFont::GetFontAttributes(), and vcl::Font::GetFontAttributes().
|
inline |
Definition at line 53 of file fontattributes.hxx.
Referenced by vcl::font::PhysicalFontCollection::FindFontFamily(), vcl::pdf::BuildinFont::GetFontAttributes(), and vcl::Font::GetFontAttributes().
|
inline |
Definition at line 87 of file fontattributes.hxx.
References mbMicrosoftSymbolEncoded.
Referenced by vcl::pdf::BuildinFont::GetFontAttributes(), and vcl::Font::GetFontAttributes().
|
inline |
Definition at line 52 of file fontattributes.hxx.
Referenced by vcl::pdf::BuildinFont::GetFontAttributes(), and vcl::Font::GetFontAttributes().
|
inline |
Definition at line 66 of file fontattributes.hxx.
Referenced by vcl::pdf::BuildinFont::GetFontAttributes().
|
inline |
Definition at line 49 of file fontattributes.hxx.
Referenced by FontMetricData::FontMetricData(), vcl::pdf::BuildinFont::GetFontAttributes(), and vcl::Font::GetFontAttributes().
|
inline |
Definition at line 54 of file fontattributes.hxx.
Referenced by vcl::font::PhysicalFontCollection::FindFontFamily(), vcl::pdf::BuildinFont::GetFontAttributes(), and vcl::Font::GetFontAttributes().
|
inline |
Definition at line 55 of file fontattributes.hxx.
Referenced by vcl::pdf::BuildinFont::GetFontAttributes(), and vcl::Font::GetFontAttributes().
|
private |
Definition at line 72 of file fontattributes.hxx.
Referenced by CompareDeviceIndependentFontAttributes().
|
private |
Definition at line 82 of file fontattributes.hxx.
Referenced by AddMapName().
|
private |
Definition at line 73 of file fontattributes.hxx.
Referenced by CompareDeviceIndependentFontAttributes().
|
private |
Definition at line 79 of file fontattributes.hxx.
Referenced by CompareDeviceIndependentFontAttributes(), and SetMicrosoftSymbolEncoded().
|
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 76 of file fontattributes.hxx.
Referenced by CompareDeviceIndependentFontAttributes().
|
private |
Definition at line 74 of file fontattributes.hxx.
Referenced by CompareDeviceIndependentFontAttributes().
|
private |
Definition at line 77 of file fontattributes.hxx.
Referenced by CompareDeviceIndependentFontAttributes().
|
private |
Definition at line 83 of file fontattributes.hxx.