3 * \file math_matrixinset.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_MATRIXINSET_H
13 #define MATH_MATRIXINSET_H
15 #include "math_gridinset.h"
18 // "shortcut" for DelimInset("(",ArrayInset,")")
20 class MathMatrixInset : public MathGridInset {
23 explicit MathMatrixInset(MathGridInset const &);
25 explicit MathMatrixInset(std::string const & str);
26 /// identifies MatrixInsets
27 MathMatrixInset const * asMatrixInset() const { return this; }
30 void write(WriteStream & os) const;
32 void normalize(NormalStream &) const;
34 void maple(MapleStream &) const;
36 void maxima(MaximaStream &) const;
38 void mathmlize(MathMLStream &) const;
40 void octave(OctaveStream &) const;
42 virtual std::auto_ptr<InsetBase> doClone() const;