2 * \file InsetMathXYMatrix.C
3 * This file is part of LyX, the document processor.
4 * Licence details can be found in the file COPYING.
8 * Full author contact details are available in file CREDITS.
13 #include "InsetMathXYMatrix.h"
14 #include "MathMLStream.h"
15 #include "MathStream.h"
17 #include "LaTeXFeatures.h"
18 #include "support/std_ostream.h"
24 InsetMathXYMatrix::InsetMathXYMatrix()
29 std::auto_ptr<InsetBase> InsetMathXYMatrix::doClone() const
31 return std::auto_ptr<InsetBase>(new InsetMathXYMatrix(*this));
35 int InsetMathXYMatrix::colsep() const
41 int InsetMathXYMatrix::rowsep() const
47 void InsetMathXYMatrix::metrics(MetricsInfo & mi, Dimension & dim) const
49 if (mi.base.style == LM_ST_DISPLAY)
50 mi.base.style = LM_ST_TEXT;
51 InsetMathGrid::metrics(mi, dim);
55 void InsetMathXYMatrix::write(WriteStream & os) const
58 InsetMathGrid::write(os);
63 void InsetMathXYMatrix::infoize(std::ostream & os) const
66 InsetMathGrid::infoize(os);
70 void InsetMathXYMatrix::normalize(NormalStream & os) const
73 InsetMathGrid::normalize(os);
78 void InsetMathXYMatrix::maple(MapleStream & os) const
81 InsetMathGrid::maple(os);