lyx_mirror/src/mathed/math_commentinset.h
André Pönitz 7cc71fc1e4 small bugfixes, new inset for comments and the main part is moving lfun
stuff from the FormulaBase and the cursor to those math insets that can
handle the request...


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4970 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-14 15:13:07 +00:00

48 lines
887 B
C++

// -*- C++ -*-
#ifndef MATH_COMMENTINSET_H
#define MATH_COMMENTINSET_H
#include "math_nestinset.h"
#ifdef __GNUG__
#pragma interface
#endif
/** Inset for end-of-line comments
\author André Pönitz
*/
class latexkeys;
class MathCommentInset : public MathNestInset {
public:
///
MathCommentInset();
///
explicit MathCommentInset(string const &);
///
MathInset * clone() const;
///
void metrics(MathMetricsInfo & mi) const;
///
void draw(MathPainterInfo & pi, int x, int y) const;
///
void metricsT(TextMetricsInfo const & mi) const;
///
void drawT(TextPainter & pi, int x, int y) const;
///
void write(WriteStream & os) const;
///
void maplize(MapleStream &) const;
///
void mathematicize(MathematicaStream &) const;
///
void octavize(OctaveStream &) const;
///
void mathmlize(MathMLStream &) const;
///
void infoize(std::ostream & os) const;
};
#endif