2 #ifndef MATH_UNKNOWNINSET_H
3 #define MATH_UNKNOWNINSET_H
5 #include "math_diminset.h"
9 Unknowntions or LaTeX names for objects that we really don't know
11 class MathUnknownInset : public MathDimInset {
14 explicit MathUnknownInset(string const & name,
15 bool final = true, bool black = false);
17 MathInset * clone() const;
19 void metrics(MathMetricsInfo & mi) const;
21 void draw(MathPainterInfo & pi, int x, int y) const;
23 void setName(string const & name);
26 /// identifies UnknownInsets
27 MathUnknownInset const * asUnknownInset() const { return this; }
28 /// identifies UnknownInsets
29 MathUnknownInset * asUnknownInset() { return this; }
31 bool match(MathAtom const & at) const;
34 void normalize(NormalStream &) const;
36 void maplize(MapleStream &) const;
38 void mathematicize(MathematicaStream &) const;
40 void mathmlize(MathMLStream &) const;
42 void octavize(OctaveStream &) const;
50 /// are we finished creating the name?