3 * \file InsetMathMatrix.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 "InsetMathGrid.h"
18 // "shortcut" for DelimInset("(",ArrayInset,")")
20 class InsetMathMatrix : public InsetMathGrid {
23 explicit InsetMathMatrix(InsetMathGrid const &);
25 explicit InsetMathMatrix(std::string const & str);
26 /// identifies MatrixInsets
27 InsetMathMatrix 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 mathematica(MathematicaStream &) const;
40 void mathmlize(MathMLStream &) const;
42 void octave(OctaveStream &) const;
44 virtual std::auto_ptr<InsetBase> doClone() const;