--- /dev/null
+
+#include "math_parinset.h"
+#include "math_mathmlstream.h"
+#include "debug.h"
+
+
+MathParInset::MathParInset()
+{
+ lyxerr << "constructing MathParInset\n";
+}
+
+
+void MathParInset::metrics(MathMetricsInfo & mi) const
+{
+ MathFontSetChanger dummy1(mi.base, "textnormal");
+ MathGridInset::metrics(mi);
+}
+
+
+void MathParInset::draw(MathPainterInfo & pi, int x, int y) const
+{
+ MathFontSetChanger dummy1(pi.base, "textnormal");
+ MathGridInset::draw(pi, x, y);
+}
+
+
+void MathParInset::write(WriteStream & os) const
+{
+ for (idx_type i = 0; i < nargs(); ++i)
+ os << cell(i) << "\n";
+}
+
+
+void MathParInset::infoize(std::ostream & os) const
+{
+ os << "Type: Paragraph ";
+}
+
--- /dev/null
+#ifndef MATH_PARINSET_H
+#define MATH_PARINSET_H
+
+#include "math_hullinset.h"
+
+class MathParInset : public MathHullInset {
+public:
+ ///
+ MathParInset();
+ ///
+ MathParInset * asParInset() { return this; }
+ ///
+ void metrics(MathMetricsInfo & mi) const;
+ ///
+ void draw(MathPainterInfo &, int x, int y) const;
+ ///
+ void infoize(std::ostream & os) const;
+ ///
+ void write(WriteStream & os) const;
+};
+
+#endif