]> git.lyx.org Git - lyx.git/blob - src/mathed/math_exintinset.h
translate '\int_0^1 e^x dx' to 'int(e^(x),x=0..1)'
[lyx.git] / src / mathed / math_exintinset.h
1 // -*- C++ -*-
2 #ifndef MATH_EXINTINSET_H
3 #define MATH_EXINTINSET_H
4
5 // /\int_l^u f(x) dxin one block (as opposed to 'f','(','x',')' or 'f','x')
6 // for interfacing external programs
7
8 #include "math_scriptinset.h"
9
10 class MathExIntInset : public MathInset {
11 public:
12         ///
13         MathExIntInset();
14         ///
15         MathInset * clone() const;
16         ///
17         void differential(MathArray const &);
18         ///
19         void core(MathArray const &);
20         ///
21         void scripts(MathAtom const &);
22         ///
23         void symbol(MathAtom const &);
24         ///
25         bool hasScripts() const;
26         ///
27         void metrics(MathMetricsInfo const & st) const;
28         ///
29         void draw(Painter &, int x, int y) const;
30
31         ///
32         void normalize(NormalStream &) const;
33         ///
34         void maplize(MapleStream &) const;
35         ///
36         void mathmlize(MathMLStream &) const;
37         ///
38         void write(WriteStream & os) const;
39 private:
40         ///
41         MathAtom int_;
42         ///
43         MathAtom scripts_;
44         ///
45         MathArray core_;
46         ///
47         MathArray diff_;
48 };
49 #endif