void InsetMathXYMatrix::metrics(MetricsInfo & mi, Dimension & dim) const
{
- if (mi.base.style == LM_ST_DISPLAY)
- mi.base.style = LM_ST_TEXT;
+ Changer dummy2 = mi.base.changeEnsureMath();
+ Changer dummy = mi.base.changeArray();
InsetMathGrid::metrics(mi, dim);
}
-void InsetMathXYMatrix::write(WriteStream & os) const
+void InsetMathXYMatrix::draw(PainterInfo & pi, int x, int y) const
+{
+ Changer dummy2 = pi.base.changeEnsureMath();
+ Changer dummy = pi.base.changeArray();
+ InsetMathGrid::draw(pi, x, y);
+}
+
+
+void InsetMathXYMatrix::write(TeXMathStream & os) const
{
MathEnsurer ensurer(os);
os << "\\xymatrix";
}
-void InsetMathXYMatrix::mathmlize(MathStream &) const
+void InsetMathXYMatrix::mathmlize(MathMLStream &) const
{
throw MathExportException();
}
-void InsetMathXYMatrix::htmlize(HtmlStream &) const
+void InsetMathXYMatrix::htmlize(HtmlStream &) const
{
- throw MathExportException();
+ throw MathExportException();
}