]> git.lyx.org Git - lyx.git/blob - src/mathed/math_exfuncinset.h
fix 'vanishing \sin' bug
[lyx.git] / src / mathed / math_exfuncinset.h
1 // -*- C++ -*-
2 #ifndef MATH_EXFUNCINSET_H
3 #define MATH_EXFUNCINSET_H
4
5 #include "math_nestinset.h"
6
7 // f(x) in one block (as opposed to 'f','(','x',')' or 'f','x')
8 // for interfacing external programs
9
10 class MathExFuncInset : public MathNestInset {
11 public:
12         ///
13         explicit MathExFuncInset(string const & name);
14         ///
15         MathExFuncInset(string const & name, MathArray const & ar);
16         ///
17         MathInset * clone() const;
18         ///
19         void metrics(MathMetricsInfo & mi) const;
20         ///
21         void draw(MathPainterInfo & pi, int x, int y) const;
22         ///
23         string name() const;
24
25         ///
26         void maplize(MapleStream &) const;
27         ///
28         void mathematicize(MathematicaStream &) const;
29         ///
30         void mathmlize(MathMLStream &) const;
31         ///
32         void octavize(OctaveStream &) const;
33
34 private:
35         ///
36         string const name_;
37 };
38 #endif