2 #ifndef MATH_UNKNOWNINSET_H
3 #define MATH_UNKNOWNINSET_H
5 #include "math_nestinset.h"
12 Unknowntions or LaTeX names for objects that we really don't know
14 class MathUnknownInset : public MathNestInset {
17 explicit MathUnknownInset(string const & name,
18 bool final = true, bool black = false);
20 MathInset * clone() const;
22 void metrics(MathMetricsInfo & mi) const;
24 void draw(MathPainterInfo & pi, int x, int y) const;
26 void setName(string const & name);
29 /// identifies UnknownInsets
30 MathUnknownInset const * asUnknownInset() const { return this; }
31 /// identifies UnknownInsets
32 MathUnknownInset * asUnknownInset() { return this; }
34 bool match(MathAtom const & at) const;
37 void normalize(NormalStream &) const;
39 void maplize(MapleStream &) const;
41 void mathematicize(MathematicaStream &) const;
43 void mathmlize(MathMLStream &) const;
45 void octavize(OctaveStream &) const;
53 /// are we finished creating the name?