From f621c9741182f1735cdb2b0b1cb58c221bd888f3 Mon Sep 17 00:00:00 2001 From: Richard Heck Date: Thu, 31 Dec 2009 21:01:00 +0000 Subject: [PATCH] MathML for MathCases. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32715 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/mathed/InsetMathCases.cpp | 7 +++++++ src/mathed/InsetMathCases.h | 2 ++ 2 files changed, 9 insertions(+) diff --git a/src/mathed/InsetMathCases.cpp b/src/mathed/InsetMathCases.cpp index 5e1ee21fdb..9b55c51ea9 100644 --- a/src/mathed/InsetMathCases.cpp +++ b/src/mathed/InsetMathCases.cpp @@ -143,6 +143,13 @@ void InsetMathCases::maple(MapleStream & os) const } +void InsetMathCases::mathmlize(MathStream & ms) const +{ + ms << "{"; + InsetMathGrid::mathmlize(ms); +} + + void InsetMathCases::infoize(odocstream & os) const { os << "Cases "; diff --git a/src/mathed/InsetMathCases.h b/src/mathed/InsetMathCases.h index d5abb1eea6..5839cef277 100644 --- a/src/mathed/InsetMathCases.h +++ b/src/mathed/InsetMathCases.h @@ -43,6 +43,8 @@ public: /// void maple(MapleStream &) const; /// + void mathmlize(MathStream &) const; + /// void write(WriteStream & os) const; /// void validate(LaTeXFeatures & features) const;