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"
21 InsetMathXYMatrix::InsetMathXYMatrix()
26 std::auto_ptr<InsetBase> InsetMathXYMatrix::doClone() const
28 return std::auto_ptr<InsetBase>(new InsetMathXYMatrix(*this));
32 int InsetMathXYMatrix::colsep() const
38 int InsetMathXYMatrix::rowsep() const
44 void InsetMathXYMatrix::metrics(MetricsInfo & mi, Dimension & dim) const
46 if (mi.base.style == LM_ST_DISPLAY)
47 mi.base.style = LM_ST_TEXT;
48 InsetMathGrid::metrics(mi, dim);
52 void InsetMathXYMatrix::write(WriteStream & os) const
55 InsetMathGrid::write(os);
60 void InsetMathXYMatrix::infoize(std::ostream & os) const
63 InsetMathGrid::infoize(os);
67 void InsetMathXYMatrix::normalize(NormalStream & os) const
70 InsetMathGrid::normalize(os);
75 void InsetMathXYMatrix::maple(MapleStream & os) const
78 InsetMathGrid::maple(os);