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