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"
21 // "shortcut" for DelimInset("(",ArrayInset,")")
23 class InsetMathMatrix
: public InsetMathGrid
{
26 explicit InsetMathMatrix(InsetMathGrid
const &);
28 explicit InsetMathMatrix(docstring
const & str
);
29 /// identifies MatrixInsets
30 InsetMathMatrix
const * asMatrixInset() const { return this; }
33 void write(WriteStream
& os
) const;
35 void normalize(NormalStream
&) const;
37 void maple(MapleStream
&) const;
39 void maxima(MaximaStream
&) const;
41 void mathematica(MathematicaStream
&) const;
43 void mathmlize(MathStream
&) const;
45 void octave(OctaveStream
&) const;
47 InsetCode
lyxCode() const { return MATH_MATRIX_CODE
; }
50 virtual Inset
* clone() const;