Starmath now allows multiple parsers

Desktop / LibreOffice - dante [gmail.com] - 19 February 2021 14:01 UTC

This is an intermediate step towards making a parser wich supports mathml standards. The parser now is a "mask" wich calls the correct parser behind the scenes. Parser 6 is the same as parser 5, but will be implemented soon. Parser 5 does what the old parser did. Using as defualt smsyntax5 in order to be able to code parser6 without provoking any backguards compatibility problem.

Change-Id: Iccf73e5ba96870450b98907f78a2a0c28abf6093 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/111066

a260aac0a26d Starmath now allows multiple parsers
.../registry/schema/org/openoffice/Office/Math.xcs | 18 ++++++++++++++
starmath/inc/cfgitem.hxx | 3 +++
starmath/inc/document.hxx | 4 +++
starmath/inc/mathml/mathmlimport.hxx | 3 +++
starmath/inc/starmath.hrc | 1 +
starmath/source/cfgitem.cxx | 29 ++++++++++++++++++++++
starmath/source/document.cxx | 1 +
starmath/source/mathml/mathmlexport.cxx | 13 +++++++++-
starmath/source/mathml/mathmlimport.cxx | 16 +++++++++---
9 files changed, 83 insertions(+), 5 deletions(-)

Upstream: cgit.freedesktop.org


  • Share