|
LibreOffice Module vcl (master) 1
|
#include <PhysicalFontFamily.hxx>
Public Member Functions | |
| PhysicalFontFamily (OUString aSearchName) | |
| ~PhysicalFontFamily () | |
| PhysicalFontFamily (const PhysicalFontFamily &)=delete | |
| PhysicalFontFamily (PhysicalFontFamily &&)=delete | |
| PhysicalFontFamily & | operator= (const PhysicalFontFamily &)=delete |
| PhysicalFontFamily & | operator= (PhysicalFontFamily &&)=delete |
| const OUString & | GetFamilyName () const |
| const OUString & | GetSearchName () const |
| const OUString & | GetAliasNames () const |
| int | GetMinQuality () const |
| FontTypeFaces | GetTypeFaces () const |
| const OUString & | GetMatchFamilyName () const |
| ImplFontAttrs | GetMatchType () const |
| FontWeight | GetMatchWeight () const |
| FontWidth | GetMatchWidth () const |
| void | InitMatchData (const utl::FontSubstConfiguration &, const OUString &rSearchName) |
| void | AddFontFace (PhysicalFontFace *) |
| PhysicalFontFace * | FindBestFontFace (const vcl::font::FontSelectPattern &rFSD) const |
| void | UpdateDevFontList (PhysicalFontFaceCollection &) const |
| void | UpdateCloneFontList (PhysicalFontCollection &) const |
Static Public Member Functions | |
| static void | CalcType (ImplFontAttrs &rType, FontWeight &rWeight, FontWidth &rWidth, FontFamily eFamily, const utl::FontNameAttr *pFontAttr) |
Private Attributes | |
| std::vector< rtl::Reference< PhysicalFontFace > > | maFontFaces |
| OUString | maFamilyName |
| OUString | maSearchName |
| OUString | maMapNames |
| FontTypeFaces | mnTypeFaces |
| FontFamily | meFamily |
| FontPitch | mePitch |
| int | mnMinQuality |
| ImplFontAttrs | mnMatchType |
| OUString | maMatchFamilyName |
| FontWeight | meMatchWeight |
| FontWidth | meMatchWidth |
Definition at line 62 of file PhysicalFontFamily.hxx.
| vcl::font::PhysicalFontFamily::PhysicalFontFamily | ( | OUString | aSearchName | ) |
Definition at line 96 of file PhysicalFontFamily.cxx.
References FAMILY_DONTKNOW, None, NONE, PITCH_DONTKNOW, WEIGHT_DONTKNOW, and WIDTH_DONTKNOW.
| vcl::font::PhysicalFontFamily::~PhysicalFontFamily | ( | ) |
Definition at line 107 of file PhysicalFontFamily.cxx.
|
delete |
|
delete |
| void vcl::font::PhysicalFontFamily::AddFontFace | ( | PhysicalFontFace * | pNewFontFace | ) |
Definition at line 111 of file PhysicalFontFamily.cxx.
References vcl::font::Bold, vcl::font::PhysicalFontFace::CompareIgnoreSize(), FAMILY_DONTKNOW, GetFamilyName(), FontAttributes::GetFamilyName(), FontAttributes::GetFamilyType(), FontAttributes::GetItalic(), FontAttributes::GetMapNames(), FontAttributes::GetPitch(), FontAttributes::GetQuality(), FontAttributes::GetWeight(), FontAttributes::IsMicrosoftSymbolEncoded(), vcl::font::Italic, ITALIC_NONE, ITALIC_NORMAL, ITALIC_OBLIQUE, vcl::font::Light, maFamilyName, maFontFaces, maMapNames, meFamily, mePitch, mnMinQuality, mnTypeFaces, vcl::font::NoneItalic, vcl::font::NoneSymbol, vcl::font::Normal, PITCH_DONTKNOW, vcl::font::Scalable, FontAttributes::SetFamilyName(), vcl::font::Symbol, WEIGHT_DONTKNOW, WEIGHT_SEMIBOLD, and WEIGHT_SEMILIGHT.
Referenced by vcl::font::PhysicalFontCollection::Add(), and UpdateCloneFontList().
|
static |
Definition at line 32 of file PhysicalFontFamily.cxx.
References FAMILY_DECORATIVE, FAMILY_DONTKNOW, FAMILY_MODERN, FAMILY_ROMAN, FAMILY_SCRIPT, FAMILY_SWISS, utl::FontNameAttr::Type, utl::FontNameAttr::Weight, WEIGHT_DONTKNOW, WEIGHT_NORMAL, utl::FontNameAttr::Width, WIDTH_DONTKNOW, and WIDTH_NORMAL.
Referenced by vcl::font::PhysicalFontCollection::FindFontFamily(), and InitMatchData().
| PhysicalFontFace * vcl::font::PhysicalFontFamily::FindBestFontFace | ( | const vcl::font::FontSelectPattern & | rFSD | ) | const |
Definition at line 206 of file PhysicalFontFamily.cxx.
References vcl::font::PhysicalFontFace::IsBetterMatch(), maFontFaces, maSearchName, and vcl::font::FontSelectPattern::maTargetName.
Referenced by ImplFontCache::GetFontInstance().
|
inline |
Definition at line 77 of file PhysicalFontFamily.hxx.
|
inline |
Definition at line 75 of file PhysicalFontFamily.hxx.
Referenced by AddFontFace(), OutputDevice::GetDefaultFont(), ImplFontCache::GetGlyphFallbackFont(), and UpdateCloneFontList().
|
inline |
Definition at line 81 of file PhysicalFontFamily.hxx.
|
inline |
Definition at line 82 of file PhysicalFontFamily.hxx.
|
inline |
Definition at line 83 of file PhysicalFontFamily.hxx.
|
inline |
Definition at line 84 of file PhysicalFontFamily.hxx.
|
inline |
Definition at line 78 of file PhysicalFontFamily.hxx.
Referenced by vcl::font::PhysicalFontCollection::ImplInitGenericGlyphFallback().
|
inline |
Definition at line 76 of file PhysicalFontFamily.hxx.
Referenced by ImplFontCache::GetFontInstance().
|
inline |
Definition at line 79 of file PhysicalFontFamily.hxx.
Referenced by vcl::font::PhysicalFontCollection::FindFontFamily().
| void vcl::font::PhysicalFontFamily::InitMatchData | ( | const utl::FontSubstConfiguration & | rFontSubst, |
| const OUString & | rSearchName | ||
| ) |
Definition at line 188 of file PhysicalFontFamily.cxx.
References CalcType(), vcl::font::lcl_IsCJKFont(), maFamilyName, maMatchFamilyName, meFamily, meMatchWeight, meMatchWidth, and mnMatchType.
Referenced by vcl::font::PhysicalFontCollection::ImplInitMatchData().
|
delete |
|
delete |
| void vcl::font::PhysicalFontFamily::UpdateCloneFontList | ( | PhysicalFontCollection & | rFontCollection | ) | const |
Definition at line 251 of file PhysicalFontFamily.cxx.
References AddFontFace(), vcl::font::PhysicalFontCollection::FindOrCreateFontFamily(), GetEnglishSearchFontName(), GetFamilyName(), and maFontFaces.
Referenced by vcl::font::PhysicalFontCollection::Clone().
| void vcl::font::PhysicalFontFamily::UpdateDevFontList | ( | PhysicalFontFaceCollection & | rDevFontList | ) | const |
Definition at line 239 of file PhysicalFontFamily.cxx.
References vcl::font::PhysicalFontFaceCollection::Add(), vcl::font::PhysicalFontFace::CompareIgnoreSize(), and maFontFaces.
Referenced by vcl::font::PhysicalFontCollection::GetFontFaceCollection().
|
private |
Definition at line 100 of file PhysicalFontFamily.hxx.
Referenced by AddFontFace(), and InitMatchData().
|
private |
Definition at line 98 of file PhysicalFontFamily.hxx.
Referenced by AddFontFace(), FindBestFontFace(), UpdateCloneFontList(), and UpdateDevFontList().
|
private |
Definition at line 102 of file PhysicalFontFamily.hxx.
Referenced by AddFontFace().
|
private |
Definition at line 109 of file PhysicalFontFamily.hxx.
Referenced by InitMatchData().
|
private |
Definition at line 101 of file PhysicalFontFamily.hxx.
Referenced by FindBestFontFace().
|
private |
Definition at line 104 of file PhysicalFontFamily.hxx.
Referenced by AddFontFace(), and InitMatchData().
|
private |
Definition at line 110 of file PhysicalFontFamily.hxx.
Referenced by InitMatchData().
|
private |
Definition at line 111 of file PhysicalFontFamily.hxx.
Referenced by InitMatchData().
|
private |
Definition at line 105 of file PhysicalFontFamily.hxx.
Referenced by AddFontFace().
|
private |
Definition at line 108 of file PhysicalFontFamily.hxx.
Referenced by InitMatchData().
|
private |
Definition at line 106 of file PhysicalFontFamily.hxx.
Referenced by AddFontFace().
|
private |
Definition at line 103 of file PhysicalFontFamily.hxx.
Referenced by AddFontFace().