]> git.lyx.org Git - lyx.git/blob - src/mathed/math_exfuncinset.h
several smallish changes/bugfixes/left overs from Porto
[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 & st) const;
20         ///
21         void draw(MathPainterInfo &, int x, int y) const;
22
23         ///
24         void normalize(NormalStream &) const;
25         ///
26         void maplize(MapleStream &) const;
27         ///
28         void mathmlize(MathMLStream &) const;
29         ///
30         void octavize(OctaveStream &) const;
31         ///
32         void write(WriteStream & os) const;
33
34 private:
35         ///
36         string const name_;
37 };
38 #endif