more output stuff

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2978 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
André Pönitz 2001-11-07 17:36:03 +00:00
parent 7cccd80619
commit 5e5f64961e
2 changed files with 21 additions and 5 deletions

View File

@ -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 << "<mi>" << name_.c_str() << "</mi>";
}
void MathFuncInset::octavize(OctaveStream & os) const
{
os << name_.c_str();
}

View File

@ -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_;