octavize & mathmlize for math macros

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3035 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
André Pönitz 2001-11-16 08:29:11 +00:00
parent b0a9053e7f
commit 7348a42d8f
2 changed files with 20 additions and 0 deletions

View File

@ -202,6 +202,22 @@ void MathMacro::maplize(MapleStream & os) const
}
void MathMacro::mathmlize(MathMLStream & os) const
{
expanded_ = tmplate_->xcell(0);
expanded_.data_.substitute(*this);
::mathmlize(expanded_.data_, os);
}
void MathMacro::octavize(OctaveStream & os) const
{
expanded_ = tmplate_->xcell(0);
expanded_.data_.substitute(*this);
::octavize(expanded_.data_, os);
}
void MathMacro::normalize(NormalStream & os) const
{
os << "[macro " << name() << " ";

View File

@ -69,6 +69,10 @@ public:
///
void maplize(MapleStream &) const;
///
void mathmlize(MathMLStream &) const;
///
void octavize(OctaveStream &) const;
///
void write(WriteStream & os) const;
private: