]> git.lyx.org Git - lyx.git/commitdiff
more output stuff
authorAndré Pönitz <poenitz@gmx.net>
Wed, 7 Nov 2001 17:36:03 +0000 (17:36 +0000)
committerAndré Pönitz <poenitz@gmx.net>
Wed, 7 Nov 2001 17:36:03 +0000 (17:36 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2978 a592a061-630c-0410-9148-cb99ea01b6c8

src/mathed/math_funcinset.C
src/mathed/math_funcinset.h

index 383b82eed3ba4960755f70f4fc13b92412067972..d36c8b4c5f3f465ef2e17d0bfd5b7d9ce4283c52 100644 (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();
 }
index 6faca169d4f8bc739bbb76c475422da312b2b0cf..b1468fc37dbdc793efb574a18d40a876eea65505 100644 (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_;