From: André Pönitz Date: Wed, 7 Nov 2001 17:36:03 +0000 (+0000) Subject: more output stuff X-Git-Tag: 1.6.10~20387 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=5e5f64961e42bb1807e1e02ba00729b316c3254a;p=lyx.git more output stuff git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2978 a592a061-630c-0410-9148-cb99ea01b6c8 --- diff --git a/src/mathed/math_funcinset.C b/src/mathed/math_funcinset.C index 383b82eed3..d36c8b4c5f 100644 --- a/src/mathed/math_funcinset.C +++ b/src/mathed/math_funcinset.C @@ -62,7 +62,19 @@ void MathFuncInset::draw(Painter & pain, int x, int y) const } -string MathFuncInset::octavize() const +void MathFuncInset::maplize(MapleStream & os) const { - return name_; + os << name_.c_str(); +} + + +void MathFuncInset::mathmlize(MathMLStream & os) const +{ + os << "" << name_.c_str() << ""; +} + + +void MathFuncInset::octavize(OctaveStream & os) const +{ + os << name_.c_str(); } diff --git a/src/mathed/math_funcinset.h b/src/mathed/math_funcinset.h index 6faca169d4..b1468fc37d 100644 --- a/src/mathed/math_funcinset.h +++ b/src/mathed/math_funcinset.h @@ -23,15 +23,19 @@ public: /// void draw(Painter &, int x, int y) const; /// - void write(MathWriteInfo & os) const; + void write(MathWriteInfo &) const; /// void writeNormal(std::ostream &) const; /// string const & name() const; /// - void setName(string const & n); + void setName(string const &); /// - string octavize() const; + void maplize(MapleStream &) const; + /// + void mathmlize(MathMLStream &) const; + /// + void octavize(OctaveStream &) const; private: /// string name_;