]> git.lyx.org Git - lyx.git/blob - src/mathed/math_commentinset.h
rename commandtags.h to lfuns.h and renumber/cleanup. Rebuild the tree !
[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
8 /** Inset for end-of-line comments
9  *  \author André Pönitz
10  *
11  * Full author contact details are available in file CREDITS
12  */
13
14 class latexkeys;
15
16 class MathCommentInset : public MathNestInset {
17 public:
18         ///
19         MathCommentInset();
20         ///
21         explicit MathCommentInset(string const &);
22         ///
23         MathInset * clone() const;
24         ///
25         void metrics(MathMetricsInfo & mi) const;
26         ///
27         void draw(MathPainterInfo & pi, int x, int y) const;
28         ///
29         void metricsT(TextMetricsInfo const & mi) const;
30         ///
31         void drawT(TextPainter & pi, int x, int y) const;
32
33         ///
34         void write(WriteStream & os) const;
35         ///
36         void maple(MapleStream &) const;
37         ///
38         void mathematica(MathematicaStream &) const;
39         ///
40         void octave(OctaveStream &) const;
41         ///
42         void mathmlize(MathMLStream &) const;
43         ///
44         void infoize(std::ostream & os) const;
45 };
46 #endif