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 &);
33 void normalize(NormalStream &) const;
35 void maplize(MapleStream &) const;
37 void mathmlize(MathMLStream &) const;
39 void octavize(OctaveStream &) const;
41 void write(WriteStream &) const;
46 mutable MathMetricsInfo mi_;