2 #ifndef MATH_UNKNOWNINSET_H
3 #define MATH_UNKNOWNINSET_H
5 #include "math_diminset.h"
8 Unknowntions or LaTeX names for objects that we really don't know
10 class MathUnknownInset : public MathDimInset {
13 explicit MathUnknownInset(string const & name,
14 bool final = true, bool black = false);
16 InsetBase * clone() const;
18 void metrics(MetricsInfo & mi, Dimension & dim) const;
20 void draw(PainterInfo & pi, int x, int y) const;
22 void setName(string const & name);
25 /// identifies UnknownInsets
26 MathUnknownInset const * asUnknownInset() const { return this; }
27 /// identifies UnknownInsets
28 MathUnknownInset * asUnknownInset() { return this; }
30 bool match(MathAtom const & at) const;
33 void normalize(NormalStream &) const;
35 void maple(MapleStream &) const;
37 void mathematica(MathematicaStream &) const;
39 void mathmlize(MathMLStream &) const;
41 void octave(OctaveStream &) const;
49 /// are we finished creating the name?