]> git.lyx.org Git - features.git/blobdiff - src/mathed/InsetMathBig.cpp
MathML: use M/ETagInline.
[features.git] / src / mathed / InsetMathBig.cpp
index aeb1ee5f8c1bd2013bf2b00a5272a267b3fafda8..180af9b8da2116dbe7e4337b80f255585041249f 100644 (file)
@@ -64,7 +64,7 @@ Inset * InsetMathBig::clone() const
 }
 
 
-InsetMathBig::size_type InsetMathBig::size() const
+size_type InsetMathBig::size() const
 {
        // order: big Big bigg Bigg biggg Biggg
        //        0   1   2    3    4     5
@@ -120,7 +120,7 @@ void InsetMathBig::draw(PainterInfo & pi, int x, int y) const
 }
 
 
-void InsetMathBig::write(WriteStream & os) const
+void InsetMathBig::write(TeXMathStream & os) const
 {
        MathEnsurer ensurer(os);
        os << '\\' << name_ << delim_;
@@ -135,12 +135,11 @@ void InsetMathBig::normalize(NormalStream & os) const
 }
 
 
-void InsetMathBig::mathmlize(MathStream & ms) const
+void InsetMathBig::mathmlize(MathMLStream & ms) const
 {
-       ms << "<" << from_ascii(ms.namespacedTag("mo"))
-          << " form='prefix' fence='true' stretchy='true' symmetric='true'>"
+       ms << MTagInline("mo", "fence='true' stretchy='true' symmetric='true'>")
           << convertDelimToXMLEscape(delim_, ms.xmlMode())
-          << "</" << from_ascii(ms.namespacedTag("mo")) << ">";
+          << ETagInline("mo");
 }