]> git.lyx.org Git - lyx.git/blob - src/mathed/InsetMathExFunc.h
more latin1..utf8 schanges. all of src/* should be utf8 now
[lyx.git] / src / mathed / InsetMathExFunc.h
1 // -*- C++ -*-
2 /**
3  * \file InsetMathExFunc.h
4  * This file is part of LyX, the document processor.
5  * Licence details can be found in the file COPYING.
6  *
7  * \author André Pönitz
8  *
9  * Full author contact details are available in file CREDITS.
10  */
11
12 #ifndef MATH_EXFUNCINSET_H
13 #define MATH_EXFUNCINSET_H
14
15
16 #include "InsetMathNest.h"
17
18 #include <string>
19
20
21 namespace lyx {
22
23 // f(x) in one block (as opposed to 'f','(','x',')' or 'f','x')
24 // for interfacing external programs
25
26 class InsetMathExFunc : public InsetMathNest {
27 public:
28         ///
29         explicit InsetMathExFunc(docstring const & name);
30         ///
31         InsetMathExFunc(docstring const & name, MathData const & ar);
32         ///
33         void metrics(MetricsInfo & mi, Dimension & dim) const;
34         ///
35         void draw(PainterInfo & pi, int x, int y) const;
36         ///
37         docstring name() const;
38
39         ///
40         void maple(MapleStream &) const;
41         ///
42         void maxima(MaximaStream &) const;
43         ///
44         void mathematica(MathematicaStream &) const;
45         ///
46         void mathmlize(MathStream &) const;
47         ///
48         void octave(OctaveStream &) const;
49
50 private:
51         virtual Inset * clone() const;
52         ///
53         docstring const name_;
54 };
55
56 } // namespace lyx
57
58 #endif