2001-06-25 00:06:33 +00:00
|
|
|
|
// -*- C++ -*-
|
|
|
|
|
#ifndef MATH_SCRIPTINSET_H
|
|
|
|
|
#define MATH_SCRIPTINSET_H
|
|
|
|
|
|
2001-07-12 07:18:29 +00:00
|
|
|
|
#include "math_updowninset.h"
|
2001-06-25 00:06:33 +00:00
|
|
|
|
|
|
|
|
|
#ifdef __GNUG__
|
|
|
|
|
#pragma interface
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
/** Inset for super- and subscripts
|
|
|
|
|
\author Andr<EFBFBD> P<EFBFBD>nitz
|
|
|
|
|
*/
|
|
|
|
|
|
2001-07-12 07:18:29 +00:00
|
|
|
|
class MathScriptInset : public MathUpDownInset {
|
2001-06-25 00:06:33 +00:00
|
|
|
|
public:
|
|
|
|
|
///
|
|
|
|
|
MathScriptInset(bool up, bool down);
|
|
|
|
|
///
|
2001-06-28 10:25:20 +00:00
|
|
|
|
MathInset * clone() const;
|
2001-06-25 00:06:33 +00:00
|
|
|
|
///
|
|
|
|
|
void WriteNormal(std::ostream &) const;
|
2001-06-27 14:10:35 +00:00
|
|
|
|
/// Identifies ScriptInsets
|
2001-07-12 07:18:29 +00:00
|
|
|
|
bool isUpDownInset() const { return true; }
|
2001-06-27 14:10:35 +00:00
|
|
|
|
///
|
2001-07-09 16:59:57 +00:00
|
|
|
|
void idxDelete(int & idx, bool & popit, bool & deleteit);
|
2001-06-25 00:06:33 +00:00
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
#endif
|