3 * \file math_xymatrixinset.h
4 * This file is part of LyX, the document processor.
5 * Licence details can be found in the file COPYING.
9 * Full author contact details are available in file CREDITS.
12 #ifndef MATH_XYMATRIX_H
13 #define MATH_XYMATRIX_H
15 #include "lyxlength.h"
16 #include "math_gridinset.h"
19 class MathXYMatrixInset : public MathGridInset {
24 void metrics(MetricsInfo &, Dimension &) const;
26 MathXYMatrixInset const * asXYMatrixInset() const { return this; }
28 virtual int colsep() const;
30 virtual int rowsep() const;
35 void write(WriteStream & os) const;
37 void infoize(std::ostream & os) const;
39 void normalize(NormalStream &) const;
41 void maple(MapleStream &) const;
44 virtual std::auto_ptr<InsetBase> doClone() const;