lyx_mirror/src/mathed/math_spaceinset.h
André Pönitz 1829cdef6a promote MathMetricsInfo to MetricsInfo, change mathed accordingly
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6555 a592a061-630c-0410-9148-cb99ea01b6c8
2003-03-21 14:20:48 +00:00

45 lines
843 B
C++

// -*- C++ -*-
#ifndef MATH_SPACEINSET_H
#define MATH_SPACEINSET_H
#include "math_diminset.h"
/// Smart spaces
class MathSpaceInset : public MathDimInset {
public:
///
explicit MathSpaceInset(int sp);
///
explicit MathSpaceInset(string const & name);
///
MathInset * clone() const;
///
MathSpaceInset const * asSpaceInset() const { return this; }
///
MathSpaceInset * asSpaceInset() { return this; }
///
void incSpace();
///
void metrics(MetricsInfo & mi) const;
///
void draw(PainterInfo & pi, int x, int y) const;
///
void normalize(NormalStream &) const;
///
void validate(LaTeXFeatures & features) const;
///
void maple(MapleStream &) const;
///
void mathematica(MathematicaStream &) const;
///
void octave(OctaveStream &) const;
///
void write(WriteStream & os) const;
private:
///
int space_;
};
#endif