#include "InsetMathFont.h"
#include "MathData.h"
-#include "MathMLStream.h"
+#include "MathStream.h"
#include "MathParser.h"
#include "LaTeXFeatures.h"
#include "support/std_ostream.h"
-using std::string;
+
+namespace lyx {
+
using std::auto_ptr;
void InsetMathFont::metrics(MetricsInfo & mi, Dimension & dim) const
{
- FontSetChanger dummy(mi.base, key_->name.c_str());
+ FontSetChanger dummy(mi.base, key_->name);
cell(0).metrics(mi, dim);
metricsMarkers(dim);
dim_ = dim;
}
-string InsetMathFont::name() const
+docstring InsetMathFont::name() const
{
return key_->name;
}
}
-void InsetMathFont::infoize(std::ostream & os) const
+void InsetMathFont::infoize(odocstream & os) const
{
os << "Font: " << key_->name;
}
+
+
+} // namespace lyx