summaryrefslogtreecommitdiff
path: root/include/i18nlangtag
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-02-06 13:00:50 +0000
committerCaolán McNamara <caolanm@redhat.com>2014-02-06 15:11:59 +0000
commitb37bce11cf59c6c9544e62e81f71a07e4d987a34 (patch)
tree855229c7d6e375846352dad3d06610700c7f337b /include/i18nlangtag
parenteb07ab05c3b8774ab2b2059befef0eadf61c97d6 (diff)
Resolves: rhbz#975421 wrong chart direction in Farsi
Where Farsi (and apparenly Moroccon) are RTL but have LTR math and charts should reportedly follow the math direction Change-Id: Ib60eaaaa90fe46ef240030a91169fdff3f736329
Diffstat (limited to 'include/i18nlangtag')
-rw-r--r--include/i18nlangtag/mslangid.hxx5
1 files changed, 4 insertions, 1 deletions
diff --git a/include/i18nlangtag/mslangid.hxx b/include/i18nlangtag/mslangid.hxx
index a30bb1d20cbc..b12c34c9869d 100644
--- a/include/i18nlangtag/mslangid.hxx
+++ b/include/i18nlangtag/mslangid.hxx
@@ -107,9 +107,12 @@ public:
static LanguageType resolveSystemLanguageByScriptType( LanguageType nLang, sal_Int16 nType );
- /** Whether locale has a Right-To-Left orientation. */
+ /** Whether locale has a Right-To-Left orientation for text. */
static bool isRightToLeft( LanguageType nLang );
+ /** Whether locale has a Right-To-Left orientation for math. */
+ static bool isRightToLeftMath( LanguageType nLang );
+
/** Whether locale is a CJK locale */
static bool isCJK( LanguageType nLang );