From: Richard Heck Date: Tue, 30 Mar 2010 01:23:10 +0000 (+0000) Subject: HTML for numbers. X-Git-Tag: 2.0.0~3637 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=f60dad8aaf61ae7b67229b62ed717e7d2fcc8141;p=features.git HTML for numbers. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33943 a592a061-630c-0410-9148-cb99ea01b6c8 --- diff --git a/src/mathed/InsetMathNumber.cpp b/src/mathed/InsetMathNumber.cpp index c9ae470dec..45e73220fc 100644 --- a/src/mathed/InsetMathNumber.cpp +++ b/src/mathed/InsetMathNumber.cpp @@ -76,6 +76,12 @@ void InsetMathNumber::mathmlize(MathStream & os) const } +void InsetMathNumber::htmlize(HtmlStream & os) const +{ + os << str_; +} + + void InsetMathNumber::write(WriteStream & os) const { os << str_; diff --git a/src/mathed/InsetMathNumber.h b/src/mathed/InsetMathNumber.h index a6ca9dae29..68d08bd315 100644 --- a/src/mathed/InsetMathNumber.h +++ b/src/mathed/InsetMathNumber.h @@ -45,6 +45,8 @@ public: /// void mathmlize(MathStream &) const; /// + void htmlize(HtmlStream &) const; + /// void write(WriteStream & os) const; /// InsetCode lyxCode() const { return MATH_NUMBER_CODE; }