]> git.lyx.org Git - lyx.git/blob - src/mathed/math_exintinset.h
fix typo that put too many include paths for most people
[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) dx in one block (as opposed to 'f','(','x',')' or 'f','x')
6 // or \sum, \prod...  for interfacing external programs
7
8 #include "math_nestinset.h"
9
10 // cell(0) is stuff before the 'd', cell(1) the stuff after
11 class MathExIntInset : public MathNestInset {
12 public:
13         ///
14         explicit MathExIntInset(string const & name_);
15         ///
16         MathInset * clone() const;
17         ///
18         void symbol(string const &);
19         ///
20         void metrics(MathMetricsInfo const & st) const;
21         ///
22         void draw(Painter &, int x, int y) const;
23
24         ///
25         void normalize(NormalStream &) const;
26         ///
27         void maplize(MapleStream &) const;
28         ///
29         void mathmlize(MathMLStream &) const;
30         ///
31         void write(WriteStream & os) const;
32 private:
33         ///
34         bool hasScripts() const;
35
36         ///
37         string symbol_;
38 };
39
40 #endif