]> git.lyx.org Git - lyx.git/blob - src/mathed/math_exintinset.h
Jean-Marc's fix for wrong descent
[lyx.git] / src / mathed / math_exintinset.h
1 // -*- C++ -*-
2 #ifndef MATH_EXINTINSET_H
3 #define MATH_EXINTINSET_H
4
5
6 // \int_l^u f(x) dx in one block (as opposed to 'f','(','x',')' or 'f','x')
7 // or \sum, \prod...  for interfacing external programs
8
9 #include "math_nestinset.h"
10
11 // cell(0) is stuff before the 'd', cell(1) the stuff after
12 class MathExIntInset : public MathNestInset {
13 public:
14         ///
15         explicit MathExIntInset(string const & name_);
16         ///
17         MathInset * clone() const;
18         ///
19         void symbol(string const &);
20         ///
21         void metrics(MathMetricsInfo & st) const;
22         ///
23         void draw(MathPainterInfo &, int x, int y) const;
24
25         ///
26         void normalize(NormalStream &) const;
27         ///
28         void maxima(MaximaStream &) const;
29         ///
30         void maple(MapleStream &) const;
31         ///
32         void mathematica(MathematicaStream &) const;
33         ///
34         void mathmlize(MathMLStream &) const;
35         ///
36         void write(WriteStream & os) const;
37 private:
38         ///
39         bool hasScripts() const;
40
41         ///
42         string symbol_;
43 };
44
45 #endif