LibreOffice Module vcl (master)  1
Public Member Functions | Private Member Functions | Private Attributes | Friends | List of all members
ImplFont Class Reference

#include <impfont.hxx>

Collaboration diagram for ImplFont:
[legend]

Public Member Functions

 ImplFont ()
 
 ImplFont (const ImplFont &)
 
const OUString & GetFamilyName () const
 
FontFamily GetFamilyType ()
 
const OUString & GetStyleName () const
 
FontWeight GetWeight ()
 
FontItalic GetItalic ()
 
FontPitch GetPitch ()
 
FontWidth GetWidthType ()
 
TextAlign GetAlignment () const
 
rtl_TextEncoding GetCharSet () const
 
const SizeGetFontSize () 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 SetAlignment (const TextAlign eAlignment)
 
void SetCharSet (const rtl_TextEncoding eCharSet)
 
void SetFontSize (const Size &rSize)
 
void SetSymbolFlag (const bool bSymbolFlag)
 
FontFamily GetFamilyTypeNoAsk () const
 
FontWeight GetWeightNoAsk () const
 
FontItalic GetItalicNoAsk () const
 
FontPitch GetPitchNoAsk () const
 
FontWidth GetWidthTypeNoAsk () const
 
int GetQuality () const
 
void SetQuality (int nQuality)
 
void IncreaseQualityBy (int nQualityAmount)
 
void DecreaseQualityBy (int nQualityAmount)
 
bool operator== (const ImplFont &) const
 

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
 
short mnOrientation
 
int mnQuality
 

Friends

class vcl::Font
 
SvStreamReadImplFont (SvStream &rIStm, ImplFont &)
 
SvStreamWriteImplFont (SvStream &rOStm, const ImplFont &)
 

Detailed Description

Definition at line 34 of file impfont.hxx.

Constructor & Destructor Documentation

ImplFont::ImplFont ( )
explicit
ImplFont::ImplFont ( const ImplFont rImplFont)
explicit

Definition at line 743 of file font/font.cxx.

References maFillColor.

Member Function Documentation

void ImplFont::AskConfig ( )
private
void ImplFont::DecreaseQualityBy ( int  nQualityAmount)
inline

Definition at line 81 of file impfont.hxx.

References mnQuality.

Referenced by vcl::Font::DecreaseQualityBy().

TextAlign ImplFont::GetAlignment ( ) const
inline

Definition at line 49 of file impfont.hxx.

References meAlign.

Referenced by vcl::Font::GetAlignment().

rtl_TextEncoding ImplFont::GetCharSet ( ) const
inline
const OUString& ImplFont::GetFamilyName ( ) const
inline

Definition at line 41 of file impfont.hxx.

References maFamilyName.

Referenced by vcl::Font::GetFamilyName(), vcl::Font::GetFontAttributes(), and WriteImplFont().

FontFamily ImplFont::GetFamilyType ( )
inline

Definition at line 42 of file impfont.hxx.

References AskConfig(), FAMILY_DONTKNOW, and meFamily.

Referenced by vcl::Font::GetFamilyType().

FontFamily ImplFont::GetFamilyTypeNoAsk ( ) const
inline
const Size& ImplFont::GetFontSize ( ) const
inline
FontItalic ImplFont::GetItalic ( )
inline

Definition at line 46 of file impfont.hxx.

References AskConfig(), ITALIC_DONTKNOW, and meItalic.

Referenced by vcl::Font::GetItalic().

FontItalic ImplFont::GetItalicNoAsk ( ) const
inline
FontPitch ImplFont::GetPitch ( )
inline

Definition at line 47 of file impfont.hxx.

References AskConfig(), mePitch, and PITCH_DONTKNOW.

Referenced by vcl::Font::GetPitch().

FontPitch ImplFont::GetPitchNoAsk ( ) const
inline

Definition at line 73 of file impfont.hxx.

References mePitch.

Referenced by vcl::Font::GetFontAttributes(), vcl::Font::GetPitch(), vcl::Font::Merge(), and WriteImplFont().

int ImplFont::GetQuality ( ) const
inline

Definition at line 77 of file impfont.hxx.

References mnQuality.

Referenced by vcl::Font::GetQuality().

const OUString& ImplFont::GetStyleName ( ) const
inline

Definition at line 43 of file impfont.hxx.

References maStyleName.

Referenced by WriteImplFont().

FontWeight ImplFont::GetWeight ( )
inline

Definition at line 45 of file impfont.hxx.

References AskConfig(), meWeight, and WEIGHT_DONTKNOW.

Referenced by AskConfig(), and vcl::Font::GetWeight().

FontWeight ImplFont::GetWeightNoAsk ( ) const
inline
FontWidth ImplFont::GetWidthType ( )
inline

Definition at line 48 of file impfont.hxx.

References AskConfig(), meWidthType, and WIDTH_DONTKNOW.

Referenced by vcl::Font::GetWidthType().

FontWidth ImplFont::GetWidthTypeNoAsk ( ) const
inline

Definition at line 74 of file impfont.hxx.

References meWidthType.

Referenced by vcl::Font::GetWidthType(), vcl::Font::Merge(), and WriteImplFont().

void ImplFont::IncreaseQualityBy ( int  nQualityAmount)
inline

Definition at line 80 of file impfont.hxx.

References mnQuality.

Referenced by vcl::Font::IncreaseQualityBy().

bool ImplFont::IsSymbolFont ( ) const
inline

Definition at line 53 of file impfont.hxx.

References mbSymbolFlag.

Referenced by vcl::Font::IsSymbolFont().

bool ImplFont::operator== ( const ImplFont rOther) const
void ImplFont::SetAlignment ( const TextAlign  eAlignment)
inline

Definition at line 63 of file impfont.hxx.

References meAlign.

Referenced by vcl::Font::SetAlignment().

void ImplFont::SetCharSet ( const rtl_TextEncoding  eCharSet)
inline

Definition at line 64 of file impfont.hxx.

References meCharSet.

Referenced by ReadImplFont(), vcl::Font::SetCharSet(), and vcl::Font::SetSymbolFlag().

void ImplFont::SetFamilyName ( const OUString &  sFamilyName)
inline

Definition at line 55 of file impfont.hxx.

References maFamilyName.

Referenced by vcl::Font::Font(), ReadImplFont(), and vcl::Font::SetFamilyName().

void ImplFont::SetFamilyType ( const FontFamily  eFontFamily)
inline

Definition at line 57 of file impfont.hxx.

References meFamily.

Referenced by vcl::Font::Font(), ReadImplFont(), and vcl::Font::SetFamily().

void ImplFont::SetFontSize ( const Size rSize)
inline

Definition at line 65 of file impfont.hxx.

References maAverageFontSize.

Referenced by vcl::Font::Font(), and vcl::Font::SetFontSize().

void ImplFont::SetItalic ( const FontItalic  eItalic)
inline

Definition at line 60 of file impfont.hxx.

References meItalic.

Referenced by ReadImplFont(), and vcl::Font::SetItalic().

void ImplFont::SetPitch ( const FontPitch  ePitch)
inline

Definition at line 59 of file impfont.hxx.

References mePitch.

Referenced by ReadImplFont(), and vcl::Font::SetPitch().

void ImplFont::SetQuality ( int  nQuality)
inline

Definition at line 79 of file impfont.hxx.

References mnQuality.

Referenced by vcl::Font::SetQuality().

void ImplFont::SetStyleName ( const OUString &  sStyleName)
inline

Definition at line 56 of file impfont.hxx.

References maStyleName.

Referenced by vcl::Font::Font().

void ImplFont::SetSymbolFlag ( const bool  bSymbolFlag)
inline

Definition at line 67 of file impfont.hxx.

References mbSymbolFlag.

Referenced by vcl::Font::SetCharSet(), and vcl::Font::SetSymbolFlag().

void ImplFont::SetWeight ( const FontWeight  eWeight)
inline

Definition at line 61 of file impfont.hxx.

References meWeight.

Referenced by AskConfig(), ReadImplFont(), and vcl::Font::SetWeight().

void ImplFont::SetWidthType ( const FontWidth  eWidthType)
inline

Definition at line 62 of file impfont.hxx.

References meWidthType.

Referenced by vcl::Font::SetWidthType().

Friends And Related Function Documentation

SvStream& ReadImplFont ( SvStream rIStm,
ImplFont rImplFont 
)
friend

Definition at line 359 of file font/font.cxx.

friend class vcl::Font
friend

Definition at line 86 of file impfont.hxx.

SvStream& WriteImplFont ( SvStream rOStm,
const ImplFont rImplFont 
)
friend

Definition at line 406 of file font/font.cxx.

Member Data Documentation

Size ImplFont::maAverageFontSize
private

Definition at line 107 of file impfont.hxx.

Referenced by GetFontSize(), operator==(), ReadImplFont(), SetFontSize(), and WriteImplFont().

LanguageTag ImplFont::maCJKLanguageTag
private
Color ImplFont::maColor
private

Definition at line 122 of file impfont.hxx.

Referenced by vcl::Font::GetColor(), operator==(), and vcl::Font::SetColor().

OUString ImplFont::maFamilyName
private

Definition at line 93 of file impfont.hxx.

Referenced by AskConfig(), GetFamilyName(), operator==(), and SetFamilyName().

Color ImplFont::maFillColor
private

Definition at line 123 of file impfont.hxx.

Referenced by vcl::Font::GetFillColor(), operator==(), and vcl::Font::SetFillColor().

LanguageTag ImplFont::maLanguageTag
private
OUString ImplFont::maStyleName
private
bool ImplFont::mbConfigLookup
private

Definition at line 114 of file impfont.hxx.

Referenced by AskConfig().

bool ImplFont::mbOutline
private
bool ImplFont::mbShadow
private
bool ImplFont::mbSymbolFlag
private

Definition at line 114 of file impfont.hxx.

Referenced by IsSymbolFont(), and SetSymbolFlag().

bool ImplFont::mbTransparent
private
bool ImplFont::mbVertical
private
bool ImplFont::mbWordLine
private
TextAlign ImplFont::meAlign
private

Definition at line 100 of file impfont.hxx.

Referenced by GetAlignment(), operator==(), and SetAlignment().

rtl_TextEncoding ImplFont::meCharSet
private

Definition at line 108 of file impfont.hxx.

Referenced by GetCharSet(), operator==(), and SetCharSet().

FontEmphasisMark ImplFont::meEmphasisMark
private
FontFamily ImplFont::meFamily
private

Definition at line 96 of file impfont.hxx.

Referenced by AskConfig(), GetFamilyType(), GetFamilyTypeNoAsk(), operator==(), and SetFamilyType().

FontItalic ImplFont::meItalic
private

Definition at line 99 of file impfont.hxx.

Referenced by GetItalic(), GetItalicNoAsk(), operator==(), and SetItalic().

FontKerning ImplFont::meKerning
private
FontLineStyle ImplFont::meOverline
private
FontPitch ImplFont::mePitch
private

Definition at line 97 of file impfont.hxx.

Referenced by AskConfig(), GetPitch(), GetPitchNoAsk(), operator==(), and SetPitch().

FontRelief ImplFont::meRelief
private
FontStrikeout ImplFont::meStrikeout
private
FontLineStyle ImplFont::meUnderline
private
FontWeight ImplFont::meWeight
private

Definition at line 95 of file impfont.hxx.

Referenced by GetWeight(), GetWeightNoAsk(), operator==(), and SetWeight().

FontWidth ImplFont::meWidthType
private

Definition at line 98 of file impfont.hxx.

Referenced by AskConfig(), GetWidthType(), GetWidthTypeNoAsk(), ReadImplFont(), and SetWidthType().

short ImplFont::mnOrientation
private
int ImplFont::mnQuality
private

Definition at line 131 of file impfont.hxx.

Referenced by DecreaseQualityBy(), GetQuality(), IncreaseQualityBy(), and SetQuality().


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