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"
16 #include "support/strfwd.h"
22 // "shortcut" for DelimInset("(",ArrayInset,")") used by MathExtern
24 class InsetMathMatrix : public InsetMathGrid {
27 explicit InsetMathMatrix(InsetMathGrid const &,
28 docstring const & left, docstring const & right);
29 /// identifies MatrixInsets
30 InsetMathMatrix const * asMatrixInset() const override { return this; }
33 void write(TeXMathStream & os) const override;
35 void normalize(NormalStream &) const override;
37 void maple(MapleStream &) const override;
39 void maxima(MaximaStream &) const override;
41 void mathematica(MathematicaStream &) const override;
43 void mathmlize(MathMLStream &) const override;
45 void htmlize(HtmlStream &) const override;
47 void octave(OctaveStream &) const override;
49 InsetCode lyxCode() const override { return MATH_MATRIX_CODE; }
51 bool handlesMulticolumn() const override { return true; }
54 Inset * clone() const override;