]> git.lyx.org Git - lyx.git/blob - src/mathed/math_commentinset.h
small up/down tweaking
[lyx.git] / src / mathed / math_commentinset.h
1 // -*- C++ -*-
2 #ifndef MATH_COMMENTINSET_H
3 #define MATH_COMMENTINSET_H
4
5 #include "math_nestinset.h"
6
7 #ifdef __GNUG__
8 #pragma interface
9 #endif
10
11 /** Inset for end-of-line comments
12  *  \author André Pönitz
13  *
14  * Full author contact details are available in file CREDITS
15  */
16
17 class latexkeys;
18
19 class MathCommentInset : public MathNestInset {
20 public:
21         ///
22         MathCommentInset();
23         ///
24         explicit MathCommentInset(string const &);
25         ///
26         MathInset * clone() const;
27         ///
28         void metrics(MathMetricsInfo & mi) const;
29         ///
30         void draw(MathPainterInfo & pi, int x, int y) const;
31         ///
32         void metricsT(TextMetricsInfo const & mi) const;
33         ///
34         void drawT(TextPainter & pi, int x, int y) const;
35
36         ///
37         void write(WriteStream & os) const;
38         ///
39         void maplize(MapleStream &) const;
40         ///
41         void mathematicize(MathematicaStream &) const;
42         ///
43         void octavize(OctaveStream &) const;
44         ///
45         void mathmlize(MathMLStream &) const;
46         ///
47         void infoize(std::ostream & os) const;
48 };
49 #endif