2 * \file math_xymatrixinset.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 "math_xymatrixinset.h"
14 #include "math_mathmlstream.h"
15 #include "math_streamstr.h"
17 #include "LaTeXFeatures.h"
18 #include "support/std_ostream.h"
21 MathXYMatrixInset::MathXYMatrixInset()
26 std::auto_ptr<InsetBase> MathXYMatrixInset::doClone() const
28 return std::auto_ptr<InsetBase>(new MathXYMatrixInset(*this));
32 int MathXYMatrixInset::colsep() const
38 int MathXYMatrixInset::rowsep() const
44 void MathXYMatrixInset::metrics(MetricsInfo & mi, Dimension & dim) const
46 if (mi.base.style == LM_ST_DISPLAY)
47 mi.base.style = LM_ST_TEXT;
48 MathGridInset::metrics(mi, dim);
52 void MathXYMatrixInset::write(WriteStream & os) const
55 MathGridInset::write(os);
60 void MathXYMatrixInset::infoize(std::ostream & os) const
63 MathGridInset::infoize(os);
67 void MathXYMatrixInset::normalize(NormalStream & os) const
70 MathGridInset::normalize(os);
75 void MathXYMatrixInset::maple(MapleStream & os) const
78 MathGridInset::maple(os);