2 #ifndef MATH_UNKNOWNINSET_H
3 #define MATH_UNKNOWNINSET_H
5 #include "math_diminset.h"
13 Unknowntions or LaTeX names for objects that we really don't know
15 class MathUnknownInset : public MathDimInset {
18 explicit MathUnknownInset(string const & nm);
20 MathInset * clone() const;
22 void metrics(MathMetricsInfo const & st) const;
24 void draw(Painter &, int x, int y) const;
26 string const & name() const;
27 /// identifies UnknownInsets
28 MathUnknownInset const * asUnknownInset() const { return this; }
30 void setName(string const &);
32 bool match(MathInset * p) const;
35 void normalize(NormalStream &) const;
37 void maplize(MapleStream &) const;
39 void mathmlize(MathMLStream &) const;
41 void octavize(OctaveStream &) const;
43 void write(WriteStream &) const;
48 mutable MathMetricsInfo mi_;