]> git.lyx.org Git - features.git/commitdiff
HTML for numbers.
authorRichard Heck <rgheck@comcast.net>
Tue, 30 Mar 2010 01:23:10 +0000 (01:23 +0000)
committerRichard Heck <rgheck@comcast.net>
Tue, 30 Mar 2010 01:23:10 +0000 (01:23 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33943 a592a061-630c-0410-9148-cb99ea01b6c8

src/mathed/InsetMathNumber.cpp
src/mathed/InsetMathNumber.h

index c9ae470decf9dcdd690936270dfa9002517722e0..45e73220fc6d03f20eb6700b4d98866cbd6dd200 100644 (file)
@@ -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_;
index a6ca9dae297f60c19edbd0d21698811da34cdcf9..68d08bd31598b37c5feded4a751119be9b513e91 100644 (file)
@@ -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; }