#include "math_mathmlstream.h"
#include "math_streamstr.h"
-
using std::string;
using std::auto_ptr;
{}
-auto_ptr<InsetBase> MathUnknownInset::clone() const
+auto_ptr<InsetBase> MathUnknownInset::doClone() const
{
return auto_ptr<InsetBase>(new MathUnknownInset(*this));
}
void MathUnknownInset::metrics(MetricsInfo & mi, Dimension & dim) const
{
mathed_string_dim(mi.base.font, name_, dim);
+ dim_ = dim;
}
drawStrBlack(pi, x, y, name_);
else
drawStrRed(pi, x, y, name_);
+ setPosCache(pi, x, y);
}
os << name_;
}
+
void MathUnknownInset::mathematica(MathematicaStream & os) const
{
os << name_;