From bee7a4c8d268aa832df1f89109374d639b426b42 Mon Sep 17 00:00:00 2001 From: Richard Heck Date: Thu, 31 Dec 2009 21:44:12 +0000 Subject: [PATCH] MathML for Overset. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32718 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/mathed/InsetMathOverset.cpp | 6 ++++++ src/mathed/InsetMathOverset.h | 2 ++ 2 files changed, 8 insertions(+) diff --git a/src/mathed/InsetMathOverset.cpp b/src/mathed/InsetMathOverset.cpp index 6b4ed6789d..abd6890788 100644 --- a/src/mathed/InsetMathOverset.cpp +++ b/src/mathed/InsetMathOverset.cpp @@ -84,6 +84,12 @@ void InsetMathOverset::normalize(NormalStream & os) const } +void InsetMathOverset::mathmlize(MathStream & ms) const +{ + ms << "" << cell(0) << cell(1) << ""; +} + + void InsetMathOverset::validate(LaTeXFeatures & features) const { features.require("amsmath"); diff --git a/src/mathed/InsetMathOverset.h b/src/mathed/InsetMathOverset.h index edcdd020e2..5fdeb32e04 100644 --- a/src/mathed/InsetMathOverset.h +++ b/src/mathed/InsetMathOverset.h @@ -36,6 +36,8 @@ public: /// void normalize(NormalStream &) const; /// + void mathmlize(MathStream &) const; + /// void validate(LaTeXFeatures & features) const; /// InsetCode lyxCode() const { return MATH_OVERSET_CODE; } -- 2.39.2