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 /offapi | |
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 'offapi')
-rw-r--r-- | offapi/com/sun/star/formula/FormulaProperties.idl | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/offapi/com/sun/star/formula/FormulaProperties.idl b/offapi/com/sun/star/formula/FormulaProperties.idl index 204e06f50ba0..79ab4e7244bc 100644 --- a/offapi/com/sun/star/formula/FormulaProperties.idl +++ b/offapi/com/sun/star/formula/FormulaProperties.idl @@ -282,6 +282,12 @@ published service FormulaProperties @since OOo 3.4 */ [property, optional] short BaseLine; + + /** switches into right-to-left layout. + + @since LibreOffice 24.2 + */ + [property, optional] boolean IsRightToLeft; }; |