#include "InsetMathSplit.h"
#include "MathData.h"
-#include "MathMLStream.h"
+#include "MathStream.h"
#include "MathStream.h"
#include "funcrequest.h"
#include "support/std_ostream.h"
-using lyx::docstring;
-using lyx::support::bformat;
+namespace lyx {
+
+using support::bformat;
+
using std::string;
using std::auto_ptr;
-InsetMathSplit::InsetMathSplit(string const & name, char valign)
- : InsetMathGrid(1, 1, valign, string()), name_(name)
+InsetMathSplit::InsetMathSplit(docstring const & name, char valign)
+ : InsetMathGrid(1, 1, valign, docstring()), name_(name)
{
}
docstring const & s = cmd.argument();
if (s == "add-vline-left" || s == "add-vline-right") {
flag.message(bformat(
- lyx::from_utf8(N_("Can't add vertical grid lines in '%1$s'")),
- lyx::from_utf8(name_)));
+ from_utf8(N_("Can't add vertical grid lines in '%1$s'")), name_));
flag.enabled(false);
return true;
}
}
-void InsetMathSplit::infoize(std::ostream & os) const
+void InsetMathSplit::infoize(odocstream & os) const
{
- string name = name_;
- name[0] = lyx::support::uppercase(name[0]);
+ docstring name = name_;
+ name[0] = support::uppercase(name[0]);
os << name << ' ';
}
features.require("amsmath");
InsetMathGrid::validate(features);
}
+
+
+} // namespace lyx