3 * \file math_spaceinset.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_SPACEINSET_H
13 #define MATH_SPACEINSET_H
15 #include "math_inset.h"
19 class MathSpaceInset : public MathInset {
22 explicit MathSpaceInset(int sp);
24 explicit MathSpaceInset(std::string const & name);
26 virtual std::auto_ptr<InsetBase> clone() const;
28 MathSpaceInset const * asSpaceInset() const { return this; }
30 MathSpaceInset * asSpaceInset() { return this; }
34 void metrics(MetricsInfo & mi, Dimension & dim) const;
36 void draw(PainterInfo & pi, int x, int y) const;
39 void normalize(NormalStream &) const;
41 void validate(LaTeXFeatures & features) const;
43 void maple(MapleStream &) const;
45 void mathematica(MathematicaStream &) const;
47 void octave(OctaveStream &) const;
49 void write(WriteStream & os) const;