summaryrefslogtreecommitdiff
path: root/starmath/source/mathmlimport.hxx
diff options
context:
space:
mode:
authorTakeshi Abe <tabe@fixedpoint.jp>2016-11-27 02:55:15 +0900
committerTakeshi Abe <tabe@fixedpoint.jp>2016-11-29 01:04:08 +0000
commit2bad9f1cd8da0cd3d8ff33e875eaf10c1fd9d0bf (patch)
tree2183236d12fdf71d43cc98dfee404450c06289c9 /starmath/source/mathmlimport.hxx
parent9abc547ef28f3f6891030597fd304ca757b102da (diff)
tdf#103430 Apply mathvariant attribute to <mi> and <mo>
by emulating it with SmFontNode. In case of <mo>, current implementation supports only the one named with an alphabet. Change-Id: I827a7e80f5aa94e243098a6e50eb758cf915c282 Reviewed-on: https://gerrit.libreoffice.org/31240 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Takeshi Abe <tabe@fixedpoint.jp>
Diffstat (limited to 'starmath/source/mathmlimport.hxx')
-rw-r--r--starmath/source/mathmlimport.hxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/starmath/source/mathmlimport.hxx b/starmath/source/mathmlimport.hxx
index 626ee0bb0fb8..3f8f376f3190 100644
--- a/starmath/source/mathmlimport.hxx
+++ b/starmath/source/mathmlimport.hxx
@@ -286,7 +286,8 @@ enum SmXMLPresLayoutAttrTokenMap
XML_TOK_FONTSIZE,
XML_TOK_FONTFAMILY,
XML_TOK_COLOR,
- XML_TOK_MATHCOLOR
+ XML_TOK_MATHCOLOR,
+ XML_TOK_MATHVARIANT
};