]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathBoldSymbol.cpp
Rename some LFUN names to match their text name
[lyx.git] / src / mathed / InsetMathBoldSymbol.cpp
index e53ff6c6cd5fdaec92bd8c42ddf7a22dcc95b9fc..465a7bf77a1469fec36aa611689dcb400fbbdfe9 100644 (file)
@@ -21,8 +21,8 @@
 
 namespace lyx {
 
-InsetMathBoldSymbol::InsetMathBoldSymbol(Kind kind)
-       : InsetMathNest(1), kind_(kind)
+InsetMathBoldSymbol::InsetMathBoldSymbol(Buffer * buf, Kind kind)
+       : InsetMathNest(buf, 1), kind_(kind)
 {}
 
 
@@ -106,6 +106,18 @@ void InsetMathBoldSymbol::write(WriteStream & os) const
 }
 
 
+void InsetMathBoldSymbol::mathmlize(MathStream & os) const
+{
+       os << "<mstyle mathvariant='bold'>" << cell(0) << "</mstyle>";
+}
+
+
+void InsetMathBoldSymbol::htmlize(HtmlStream & os) const
+{
+       os << MTag("b") << cell(0) << ETag("b");
+}
+
+
 void InsetMathBoldSymbol::infoize(odocstream & os) const
 {
        switch (kind_) {