mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-28 04:17:43 +00:00
7cc71fc1e4
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
48 lines
887 B
C++
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
|