From f60dad8aaf61ae7b67229b62ed717e7d2fcc8141 Mon Sep 17 00:00:00 2001 From: Richard Heck Date: Tue, 30 Mar 2010 01:23:10 +0000 Subject: [PATCH] HTML for numbers. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33943 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/mathed/InsetMathNumber.cpp | 6 ++++++ src/mathed/InsetMathNumber.h | 2 ++ 2 files changed, 8 insertions(+) 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; } -- 2.39.5