LibreOffice Module vcl (master)
1
|
#include <impfont.hxx>
Private Member Functions | |
void | AskConfig () |
Private Attributes | |
OUString | maFamilyName |
OUString | maStyleName |
FontWeight | meWeight |
FontFamily | meFamily |
FontPitch | mePitch |
FontWidth | meWidthType |
FontItalic | meItalic |
TextAlign | meAlign |
FontLineStyle | meUnderline |
FontLineStyle | meOverline |
FontStrikeout | meStrikeout |
FontRelief | meRelief |
FontEmphasisMark | meEmphasisMark |
FontKerning | meKerning |
Size | maAverageFontSize |
rtl_TextEncoding | meCharSet |
LanguageTag | maLanguageTag |
LanguageTag | maCJKLanguageTag |
bool | mbSymbolFlag:1 |
bool | mbOutline:1 |
bool | mbConfigLookup:1 |
bool | mbShadow:1 |
bool | mbVertical:1 |
bool | mbTransparent:1 |
Color | maColor |
Color | maFillColor |
bool | mbWordLine:1 |
Degree10 | mnOrientation |
int | mnQuality |
tools::Long | mnCalculatedAverageFontWidth |
Friends | |
class | vcl::Font |
SvStream & | ReadImplFont (SvStream &rIStm, ImplFont &, tools::Long &) |
SvStream & | WriteImplFont (SvStream &rOStm, const ImplFont &, tools::Long) |
Definition at line 33 of file impfont.hxx.
|
explicit |
Definition at line 926 of file font/font.cxx.
References ALIGN_TOP, COL_TRANSPARENT(), false, FAMILY_DONTKNOW, FontSpecific, LANGUAGE_DONTKNOW, LINESTYLE_NONE, maColor, maFillColor, maLanguageTag, NONE, PITCH_DONTKNOW, STRIKEOUT_NONE, WEIGHT_DONTKNOW, and WIDTH_DONTKNOW.
|
explicit |
Definition at line 956 of file font/font.cxx.
References maColor, maFillColor, and maLanguageTag.
|
private |
Definition at line 1083 of file font/font.cxx.
References FAMILY_DECORATIVE, FAMILY_DONTKNOW, FAMILY_MODERN, FAMILY_ROMAN, FAMILY_SCRIPT, FAMILY_SWISS, GetEnglishSearchFontName(), GetWeight(), maFamilyName, mbConfigLookup, meFamily, mePitch, meWidthType, nType, PITCH_DONTKNOW, SetWeight(), utl::FontNameAttr::Type, WEIGHT_DONTKNOW, and WIDTH_DONTKNOW.
Referenced by GetFamilyType(), GetItalic(), GetPitch(), GetWeight(), and GetWidthType().
Definition at line 89 of file impfont.hxx.
References mnQuality.
Referenced by vcl::Font::DecreaseQualityBy().
bool ImplFont::EqualIgnoreColor | ( | const ImplFont & | rOther | ) | const |
Definition at line 1001 of file font/font.cxx.
References maAverageFontSize, maCJKLanguageTag, maFamilyName, maLanguageTag, maStyleName, mbOutline, mbShadow, mbTransparent, mbVertical, mbWordLine, meAlign, meCharSet, meEmphasisMark, meFamily, meItalic, meKerning, meOverline, mePitch, meRelief, meStrikeout, meUnderline, meWeight, and mnOrientation.
Referenced by vcl::Font::EqualIgnoreColor(), and operator==().
|
inline |
Definition at line 48 of file impfont.hxx.
References meAlign.
Referenced by vcl::Font::GetAlignment().
|
inline |
Definition at line 91 of file impfont.hxx.
References mnCalculatedAverageFontWidth.
Referenced by vcl::Font::GetOrCalculateAverageFontWidth().
|
inline |
Definition at line 49 of file impfont.hxx.
References meCharSet.
Referenced by vcl::Font::GetCharSet(), vcl::Font::GetFontAttributes(), and WriteImplFont().
|
inline |
Definition at line 40 of file impfont.hxx.
References maFamilyName.
Referenced by vcl::Font::GetFamilyName(), vcl::Font::GetFontAttributes(), and WriteImplFont().
|
inline |
Definition at line 41 of file impfont.hxx.
References AskConfig(), FAMILY_DONTKNOW, and meFamily.
Referenced by vcl::Font::GetFamilyType().
|
inline |
Definition at line 78 of file impfont.hxx.
References meFamily.
Referenced by vcl::Font::GetFamilyType(), vcl::Font::GetFontAttributes(), vcl::Font::Merge(), and WriteImplFont().
|
inline |
Definition at line 50 of file impfont.hxx.
References maAverageFontSize.
Referenced by vcl::Font::GetAverageFontWidth(), vcl::Font::GetFontHeight(), and vcl::Font::GetFontSize().
size_t ImplFont::GetHashValue | ( | ) | const |
Definition at line 1040 of file font/font.cxx.
References GetHashValueIgnoreColor(), o3tl::hash_combine(), maColor, and maFillColor.
Referenced by vcl::Font::GetHashValue().
size_t ImplFont::GetHashValueIgnoreColor | ( | ) | const |
Definition at line 1048 of file font/font.cxx.
References o3tl::strong_int< UNDERLYING_TYPE, PHANTOM_TYPE >::get(), Pair::GetHashValue(), LanguageTag::getLanguageType(), o3tl::hash_combine(), maAverageFontSize, maCJKLanguageTag, maFamilyName, maLanguageTag, maStyleName, mbOutline, mbShadow, mbTransparent, mbVertical, mbWordLine, meAlign, meCharSet, meEmphasisMark, meFamily, meItalic, meKerning, meOverline, mePitch, meRelief, meStrikeout, meUnderline, meWeight, and mnOrientation.
Referenced by GetHashValue(), and vcl::Font::GetHashValueIgnoreColor().
|
inline |
Definition at line 45 of file impfont.hxx.
References AskConfig(), ITALIC_DONTKNOW, and meItalic.
Referenced by vcl::Font::GetItalic().
|
inline |
Definition at line 80 of file impfont.hxx.
References meItalic.
Referenced by vcl::Font::GetFontAttributes(), vcl::Font::GetItalic(), vcl::Font::Merge(), and WriteImplFont().
|
inline |
Definition at line 46 of file impfont.hxx.
References AskConfig(), mePitch, and PITCH_DONTKNOW.
Referenced by vcl::Font::GetPitch().
|
inline |
Definition at line 81 of file impfont.hxx.
References mePitch.
Referenced by vcl::Font::GetFontAttributes(), vcl::Font::GetPitch(), vcl::Font::Merge(), and WriteImplFont().
|
inline |
Definition at line 85 of file impfont.hxx.
References mnQuality.
Referenced by vcl::Font::GetQuality().
|
inline |
|
inline |
Definition at line 44 of file impfont.hxx.
References AskConfig(), meWeight, and WEIGHT_DONTKNOW.
Referenced by AskConfig(), and vcl::Font::GetWeight().
|
inline |
Definition at line 79 of file impfont.hxx.
References meWeight.
Referenced by vcl::Font::GetFontAttributes(), vcl::Font::GetWeight(), vcl::Font::Merge(), and WriteImplFont().
|
inline |
Definition at line 47 of file impfont.hxx.
References AskConfig(), meWidthType, and WIDTH_DONTKNOW.
Referenced by vcl::Font::GetWidthType().
|
inline |
Definition at line 82 of file impfont.hxx.
References meWidthType.
Referenced by vcl::Font::GetWidthType(), vcl::Font::Merge(), and WriteImplFont().
Definition at line 88 of file impfont.hxx.
References mnQuality.
Referenced by vcl::Font::IncreaseQualityBy().
|
inline |
Definition at line 52 of file impfont.hxx.
References mbSymbolFlag.
Referenced by vcl::Font::IsSymbolFont().
bool ImplFont::operator== | ( | const ImplFont & | rOther | ) | const |
Definition at line 989 of file font/font.cxx.
References EqualIgnoreColor(), maColor, and maFillColor.
Definition at line 62 of file impfont.hxx.
References meAlign.
Referenced by vcl::Font::SetAlignment().
|
inline |
Definition at line 92 of file impfont.hxx.
References mnCalculatedAverageFontWidth.
Referenced by vcl::Font::GetOrCalculateAverageFontWidth().
|
inline |
Definition at line 63 of file impfont.hxx.
References meCharSet.
Referenced by ReadImplFont(), vcl::Font::SetCharSet(), and vcl::Font::SetSymbolFlag().
|
inline |
Definition at line 54 of file impfont.hxx.
References maFamilyName.
Referenced by vcl::Font::Font(), ReadImplFont(), and vcl::Font::SetFamilyName().
|
inline |
Definition at line 56 of file impfont.hxx.
References meFamily.
Referenced by vcl::Font::Font(), ReadImplFont(), and vcl::Font::SetFamily().
Definition at line 64 of file impfont.hxx.
References Size::Height(), maAverageFontSize, and mnCalculatedAverageFontWidth.
Referenced by vcl::Font::Font(), and vcl::Font::SetFontSize().
|
inline |
Definition at line 59 of file impfont.hxx.
References meItalic.
Referenced by ReadImplFont(), and vcl::Font::SetItalic().
Definition at line 58 of file impfont.hxx.
References mePitch.
Referenced by ReadImplFont(), and vcl::Font::SetPitch().
Definition at line 87 of file impfont.hxx.
References mnQuality.
Referenced by vcl::Font::SetQuality().
|
inline |
|
inline |
Definition at line 75 of file impfont.hxx.
References mbSymbolFlag.
Referenced by vcl::Font::SetCharSet(), and vcl::Font::SetSymbolFlag().
|
inline |
Definition at line 60 of file impfont.hxx.
References meWeight.
Referenced by AskConfig(), ReadImplFont(), and vcl::Font::SetWeight().
Definition at line 61 of file impfont.hxx.
References meWidthType.
Referenced by vcl::Font::SetWidthType().
|
friend |
Definition at line 456 of file font/font.cxx.
|
friend |
Definition at line 101 of file impfont.hxx.
|
friend |
Definition at line 523 of file font/font.cxx.
|
private |
Definition at line 122 of file impfont.hxx.
Referenced by EqualIgnoreColor(), GetFontSize(), GetHashValueIgnoreColor(), ReadImplFont(), SetFontSize(), and WriteImplFont().
|
private |
Definition at line 126 of file impfont.hxx.
Referenced by EqualIgnoreColor(), vcl::Font::GetCJKContextLanguage(), vcl::Font::GetCJKContextLanguageTag(), GetHashValueIgnoreColor(), ReadImplFont(), vcl::Font::SetCJKContextLanguage(), vcl::Font::SetCJKContextLanguageTag(), and WriteImplFont().
|
private |
Definition at line 137 of file impfont.hxx.
Referenced by vcl::Font::GetColor(), GetHashValue(), operator==(), and vcl::Font::SetColor().
|
private |
Definition at line 108 of file impfont.hxx.
Referenced by AskConfig(), EqualIgnoreColor(), GetFamilyName(), GetHashValueIgnoreColor(), and SetFamilyName().
|
private |
Definition at line 138 of file impfont.hxx.
Referenced by vcl::Font::GetFillColor(), GetHashValue(), operator==(), and vcl::Font::SetFillColor().
|
private |
Definition at line 125 of file impfont.hxx.
Referenced by EqualIgnoreColor(), GetHashValueIgnoreColor(), vcl::Font::GetLanguage(), vcl::Font::GetLanguageTag(), ReadImplFont(), vcl::Font::SetLanguage(), vcl::Font::SetLanguageTag(), and WriteImplFont().
|
private |
Definition at line 109 of file impfont.hxx.
Referenced by EqualIgnoreColor(), vcl::Font::GetFontAttributes(), GetHashValueIgnoreColor(), GetStyleName(), vcl::Font::GetStyleName(), ReadImplFont(), SetStyleName(), and vcl::Font::SetStyleName().
|
private |
Definition at line 129 of file impfont.hxx.
Referenced by AskConfig().
|
private |
Definition at line 129 of file impfont.hxx.
Referenced by EqualIgnoreColor(), GetHashValueIgnoreColor(), vcl::Font::IsOutline(), ReadImplFont(), vcl::Font::SetOutline(), and WriteImplFont().
|
private |
Definition at line 129 of file impfont.hxx.
Referenced by EqualIgnoreColor(), GetHashValueIgnoreColor(), vcl::Font::IsShadow(), ReadImplFont(), vcl::Font::SetShadow(), and WriteImplFont().
|
private |
Definition at line 129 of file impfont.hxx.
Referenced by IsSymbolFont(), and SetSymbolFlag().
|
private |
Definition at line 129 of file impfont.hxx.
Referenced by EqualIgnoreColor(), GetHashValueIgnoreColor(), vcl::Font::IsTransparent(), vcl::Font::SetFillColor(), and vcl::Font::SetTransparent().
|
private |
Definition at line 129 of file impfont.hxx.
Referenced by EqualIgnoreColor(), GetHashValueIgnoreColor(), vcl::Font::IsVertical(), ReadImplFont(), vcl::Font::SetVertical(), and WriteImplFont().
|
private |
Definition at line 141 of file impfont.hxx.
Referenced by EqualIgnoreColor(), GetHashValueIgnoreColor(), vcl::Font::IsWordLineMode(), ReadImplFont(), vcl::Font::SetWordLineMode(), and WriteImplFont().
|
private |
Definition at line 115 of file impfont.hxx.
Referenced by EqualIgnoreColor(), GetAlignment(), GetHashValueIgnoreColor(), and SetAlignment().
|
private |
Definition at line 123 of file impfont.hxx.
Referenced by EqualIgnoreColor(), GetCharSet(), GetHashValueIgnoreColor(), and SetCharSet().
|
private |
Definition at line 120 of file impfont.hxx.
Referenced by EqualIgnoreColor(), vcl::Font::GetEmphasisMark(), GetHashValueIgnoreColor(), ReadImplFont(), vcl::Font::SetEmphasisMark(), and WriteImplFont().
|
private |
Definition at line 111 of file impfont.hxx.
Referenced by AskConfig(), EqualIgnoreColor(), GetFamilyType(), GetFamilyTypeNoAsk(), GetHashValueIgnoreColor(), and SetFamilyType().
|
private |
Definition at line 114 of file impfont.hxx.
Referenced by EqualIgnoreColor(), GetHashValueIgnoreColor(), GetItalic(), GetItalicNoAsk(), and SetItalic().
|
private |
Definition at line 121 of file impfont.hxx.
Referenced by EqualIgnoreColor(), GetHashValueIgnoreColor(), vcl::Font::GetKerning(), vcl::Font::IsKerning(), ReadImplFont(), vcl::Font::SetKerning(), and WriteImplFont().
|
private |
Definition at line 117 of file impfont.hxx.
Referenced by EqualIgnoreColor(), GetHashValueIgnoreColor(), vcl::Font::GetOverline(), ReadImplFont(), vcl::Font::SetOverline(), and WriteImplFont().
|
private |
Definition at line 112 of file impfont.hxx.
Referenced by AskConfig(), EqualIgnoreColor(), GetHashValueIgnoreColor(), GetPitch(), GetPitchNoAsk(), and SetPitch().
|
private |
Definition at line 119 of file impfont.hxx.
Referenced by EqualIgnoreColor(), GetHashValueIgnoreColor(), vcl::Font::GetRelief(), ReadImplFont(), vcl::Font::SetRelief(), and WriteImplFont().
|
private |
Definition at line 118 of file impfont.hxx.
Referenced by EqualIgnoreColor(), GetHashValueIgnoreColor(), vcl::Font::GetStrikeout(), ReadImplFont(), vcl::Font::SetStrikeout(), and WriteImplFont().
|
private |
Definition at line 116 of file impfont.hxx.
Referenced by EqualIgnoreColor(), GetHashValueIgnoreColor(), vcl::Font::GetUnderline(), ReadImplFont(), vcl::Font::SetUnderline(), and WriteImplFont().
|
private |
Definition at line 110 of file impfont.hxx.
Referenced by EqualIgnoreColor(), GetHashValueIgnoreColor(), GetWeight(), GetWeightNoAsk(), and SetWeight().
|
private |
Definition at line 113 of file impfont.hxx.
Referenced by AskConfig(), GetWidthType(), GetWidthTypeNoAsk(), ReadImplFont(), and SetWidthType().
|
private |
Definition at line 148 of file impfont.hxx.
Referenced by GetCalculatedAverageFontWidth(), SetCalculatedAverageFontWidth(), and SetFontSize().
|
private |
Definition at line 144 of file impfont.hxx.
Referenced by EqualIgnoreColor(), GetHashValueIgnoreColor(), vcl::Font::GetOrientation(), ReadImplFont(), vcl::Font::SetOrientation(), and WriteImplFont().
|
private |
Definition at line 146 of file impfont.hxx.
Referenced by DecreaseQualityBy(), GetQuality(), IncreaseQualityBy(), and SetQuality().