#include "math_mathmlstream.h"
#include "math_streamstr.h"
+using std::string;
using std::auto_ptr;
}
-bool MathUnknownInset::match(MathAtom const & at) const
-{
- MathUnknownInset const * q = at->asUnknownInset();
- return q && name_ == q->name_;
-}
-
-
void MathUnknownInset::normalize(NormalStream & os) const
{
os << "[unknown " << name_ << ']';
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_);
+ xo_ = x;
+ yo_ = y;
}