diff options
author | Khaled Hosny <khaled@libreoffice.org> | 2023-08-16 15:08:33 +0300 |
---|---|---|
committer | خالد حسني <khaled@libreoffice.org> | 2023-09-04 18:15:50 +0200 |
commit | 5c5c71266ff14493975f20ff5807f31565a3f909 (patch) | |
tree | 2130d058dfa1eb1e48edd11fd6473794779433f9 /starmath/inc/document.hxx | |
parent | e3d13aaf1a22edbbdb988538daa20ff4e140e845 (diff) |
tdf#134193: Add the ability to set RTL math direction
This adds a new IsRightToLeft document property, reads/writes it, and
sets dir="rtl" on the top level MathML <math> element if set to true.
Rendering will be handled in next commits.
Change-Id: Ia3078b8a269fef7c3f037a2f1b7799744df2680b
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/155737
Tested-by: Jenkins
Reviewed-by: خالد حسني <khaled@libreoffice.org>
Diffstat (limited to 'starmath/inc/document.hxx')
-rw-r--r-- | starmath/inc/document.hxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/starmath/inc/document.hxx b/starmath/inc/document.hxx index bf9477b30f11..45321614385a 100644 --- a/starmath/inc/document.hxx +++ b/starmath/inc/document.hxx @@ -222,6 +222,8 @@ public: mathml::SmMlIteratorFree(m_pMlElementTree); m_pMlElementTree = pMlElementTree; } + + void SetRightToLeft(bool bRTL); }; /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |