3 * \file math_commentinset.h
4 * This file is part of LyX, the document processor.
5 * Licence details can be found in the file COPYING.
9 * Full author contact details are available in file CREDITS.
12 #ifndef MATH_COMMENTINSET_H
13 #define MATH_COMMENTINSET_H
15 #include "math_nestinset.h"
20 /// Inset for end-of-line comments
21 class MathCommentInset : public MathNestInset {
26 explicit MathCommentInset(std::string const &);
28 void metrics(MetricsInfo & mi, Dimension & dim) const;
30 void draw(PainterInfo & pi, int x, int y) const;
32 void metricsT(TextMetricsInfo const & mi, Dimension & dim) const;
34 void drawT(TextPainter & pi, int x, int y) const;
37 void write(WriteStream & os) const;
39 void maple(MapleStream &) const;
41 void mathematica(MathematicaStream &) const;
43 void octave(OctaveStream &) const;
45 void mathmlize(MathMLStream &) const;
47 void infoize(std::ostream & os) const;
49 virtual std::auto_ptr<InsetBase> doClone() const;