]> git.lyx.org Git - features.git/commitdiff
MathML for Overset.
authorRichard Heck <rgheck@comcast.net>
Thu, 31 Dec 2009 21:44:12 +0000 (21:44 +0000)
committerRichard Heck <rgheck@comcast.net>
Thu, 31 Dec 2009 21:44:12 +0000 (21:44 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32718 a592a061-630c-0410-9148-cb99ea01b6c8

src/mathed/InsetMathOverset.cpp
src/mathed/InsetMathOverset.h

index 6b4ed6789d8cfbd2564f4f1acc61467738913550..abd6890788b5e8d502286a80d6ff18a1bd79ebf4 100644 (file)
@@ -84,6 +84,12 @@ void InsetMathOverset::normalize(NormalStream & os) const
 }
 
 
+void InsetMathOverset::mathmlize(MathStream & ms) const
+{
+       ms << "<mover accent='false'>" << cell(0) << cell(1) << "</mover>";
+}
+
+
 void InsetMathOverset::validate(LaTeXFeatures & features) const
 {
        features.require("amsmath");
index edcdd020e2f727739c76206cfc66977d40ecac34..5fdeb32e041606140c0a410aa821ec1946db8f67 100644 (file)
@@ -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; }