#define MATH_DOTSINSET_H
#include "math_diminset.h"
-#include "LString.h"
-#ifdef __GNUG__
-#pragma interface
-#endif
+
+class latexkeys;
/// The different kinds of ellipsis
class MathDotsInset : public MathDimInset {
public:
///
- explicit MathDotsInset(string const &);
- ///
- MathInset * clone() const;
+ explicit MathDotsInset(latexkeys const * l);
///
- void draw(Painter &, int x, int y) const;
+ virtual std::auto_ptr<InsetBase> clone() const;
///
- void write(MathWriteInfo & os) const;
+ void metrics(MetricsInfo & mi, Dimension & dim) const;
///
- void writeNormal(NormalStream &) const;
+ void draw(PainterInfo & pi, int x, int y) const;
///
- void metrics(MathMetricsInfo const & st) const;
+ string name() const;
protected:
- /// cache for the thing's heigth
+ /// cache for the thing's height
mutable int dh_;
///
- string const name_;
-};
+ latexkeys const * key_;
+};
#endif