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