diff options
author | Eike Rathke <erack@redhat.com> | 2013-09-20 20:15:05 +0200 |
---|---|---|
committer | Eike Rathke <erack@redhat.com> | 2013-09-20 20:17:25 +0200 |
commit | f51e79aaa8cef49421c875c2a876d8570e8b064f (patch) | |
tree | a86907a607371104600ec2771b635e43df4931da /include/vcl | |
parent | 3d246af83bacacedb7c6a15e082210a67cd5566d (diff) |
Font and ImplLayoutArgs with LanguageTag
Avoid the gazillion temporary conversions / Impl searches.
Change-Id: I5232589f1e31d1cbb6becc198b12daabf1038f31
Diffstat (limited to 'include/vcl')
-rw-r--r-- | include/vcl/font.hxx | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/include/vcl/font.hxx b/include/vcl/font.hxx index 5fea235c65f9..cae3c1b839ed 100644 --- a/include/vcl/font.hxx +++ b/include/vcl/font.hxx @@ -23,7 +23,7 @@ #include <sal/types.h> #include <vcl/dllapi.h> #include <tools/string.hxx> -#include <i18nlangtag/lang.h> +#include <i18nlangtag/languagetag.hxx> #include <tools/color.hxx> #include <vcl/vclenum.hxx> #include <vcl/fntstyle.hxx> @@ -79,6 +79,11 @@ public: FontFamily GetFamily() const; void SetCharSet( rtl_TextEncoding ); rtl_TextEncoding GetCharSet() const; + // Prefer LanguageTag over LanguageType + void SetLanguageTag( const LanguageTag & ); + const LanguageTag& GetLanguageTag() const; + void SetCJKContextLanguageTag( const LanguageTag& ); + const LanguageTag& GetCJKContextLanguageTag() const; void SetLanguage( LanguageType ); LanguageType GetLanguage() const; void SetCJKContextLanguage( LanguageType ); |