mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-09-22 16:04:07 +00:00
de3cf8c89c
Add a std:: to getline. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5324 a592a061-630c-0410-9148-cb99ea01b6c8
48 lines
898 B
C++
48 lines
898 B
C++
// -*- C++ -*-
|
|
#ifndef MATH_SPACEINSET_H
|
|
#define MATH_SPACEINSET_H
|
|
|
|
#include "math_diminset.h"
|
|
|
|
#ifdef __GNUG__
|
|
#pragma interface
|
|
#endif
|
|
|
|
/// 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(MathMetricsInfo & mi) const;
|
|
///
|
|
void draw(MathPainterInfo & pi, int x, int y) const;
|
|
|
|
///
|
|
void normalize(NormalStream &) const;
|
|
///
|
|
void validate(LaTeXFeatures & features) const;
|
|
///
|
|
void maplize(MapleStream &) const;
|
|
///
|
|
void mathematicize(MathematicaStream &) const;
|
|
///
|
|
void octavize(OctaveStream &) const;
|
|
///
|
|
void write(WriteStream & os) const;
|
|
private:
|
|
///
|
|
int space_;
|
|
};
|
|
#endif
|