}
-string MathFuncInset::octavize() const
+void MathFuncInset::maplize(MapleStream & os) const
{
- return name_;
+ os << name_.c_str();
+}
+
+
+void MathFuncInset::mathmlize(MathMLStream & os) const
+{
+ os << "<mi>" << name_.c_str() << "</mi>";
+}
+
+
+void MathFuncInset::octavize(OctaveStream & os) const
+{
+ os << name_.c_str();
}
///
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_;