diff options
author | dante <dante19031999@gmail.com> | 2021-08-08 23:56:09 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2021-08-13 10:37:03 +0200 |
commit | b8a4eeb24a037d338a61eb4b76acc9fad52fa5c3 (patch) | |
tree | c46ca50e0b11ad3dc2acc2848e10691f7ba270da /xmloff | |
parent | c9bcbebe34c8d0e3edab520ace15c4d367aef62f (diff) |
Export Math ML from new mathml nodes
Review tip: thanks for your help
Code heavily based on: mathmlexport.cxx mathmlexport.hxx
https://opengrok.libreoffice.org/xref/core/starmath/source/mathml/mathmlexport.cxx?r=e271fce8
https://opengrok.libreoffice.org/xref/core/starmath/inc/mathml/mathmlexport.hxx?r=10d29c39
Change-Id: I798d0e207b844240f4b25720ee37c394eb4c2e65
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/120188
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'xmloff')
-rw-r--r-- | xmloff/source/core/xmltoken.cxx | 12 | ||||
-rw-r--r-- | xmloff/source/token/tokens.txt | 10 |
2 files changed, 22 insertions, 0 deletions
diff --git a/xmloff/source/core/xmltoken.cxx b/xmloff/source/core/xmltoken.cxx index e65de4fc61cb..9bc4fca57a80 100644 --- a/xmloff/source/core/xmltoken.cxx +++ b/xmloff/source/core/xmltoken.cxx @@ -3418,6 +3418,18 @@ namespace xmloff::token { TOKEN("local-url", XML_LOCAL_URL), + TOKEN("dir", XML_DIR ), + TOKEN("displaystyle", XML_DISPLAYSTYLE ), + TOKEN("lspace", XML_LSPACE ), + TOKEN("mathbackground", XML_MATHBACKGROUND ), + TOKEN("maxsize", XML_MAXSIZE ), + TOKEN("minsize", XML_MINSIZE ), + TOKEN("movablelimits", XML_MOVABLELIMITS ), + TOKEN("rspace", XML_RSPACE ), + TOKEN("rtl", XML_RTL ), + TOKEN("symmetric", XML_SYMMETRIC ), + + #if OSL_DEBUG_LEVEL > 0 { 0, nullptr, std::nullopt, XML_TOKEN_END } #else diff --git a/xmloff/source/token/tokens.txt b/xmloff/source/token/tokens.txt index 3524d1ce8686..52b457602c27 100644 --- a/xmloff/source/token/tokens.txt +++ b/xmloff/source/token/tokens.txt @@ -3171,4 +3171,14 @@ page-content-top page-content-bottom margin-gutter local-url +dir +displaystyle +lspace +mathbackground +maxsize +minsize +movablelimits +rspace +rtl +symmetric TOKEN_END_DUMMY |