diff options
Diffstat (limited to 'vcl/inc/fontattributes.hxx')
-rw-r--r-- | vcl/inc/fontattributes.hxx | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/vcl/inc/fontattributes.hxx b/vcl/inc/fontattributes.hxx index 870afd34343e..5b8135f33db7 100644 --- a/vcl/inc/fontattributes.hxx +++ b/vcl/inc/fontattributes.hxx @@ -39,7 +39,8 @@ public: FontItalic GetItalic() const { return meItalic; } FontPitch GetPitch() const { return mePitch; } FontWidth GetWidthType() const { return meWidthType; } - rtl_TextEncoding GetCharSet() const { return meCharSet; } + TextAlign GetAlignment() const { return meAlign; } + rtl_TextEncoding GetCharSet() const { return meCharSet; } bool IsSymbolFont() const { return mbSymbolFlag; } @@ -51,6 +52,7 @@ public: void SetItalic(const FontItalic eItalic ) { meItalic = eItalic; } void SetWeight(const FontWeight eWeight ) { meWeight = eWeight; } void SetWidthType(const FontWidth eWidthType) { meWidthType = eWidthType; } + void SetAlignment(const TextAlign eAlignment) { meAlign = eAlignment; } void SetCharSet( const rtl_TextEncoding ); void SetSymbolFlag(const bool ); @@ -101,6 +103,7 @@ private: FontPitch mePitch; // Pitch Type FontWidth meWidthType; // Width Type FontItalic meItalic; // Slant Type + TextAlign meAlign; // Text alignment rtl_TextEncoding meCharSet; // RTL_TEXTENCODING_SYMBOL or RTL_TEXTENCODING_UNICODE bool mbSymbolFlag; // Is font a symbol? |