]> git.lyx.org Git - lyx.git/blob - src/mathed/InsetMathMatrix.h
Revert "Fix a number of signedness warnings"
[lyx.git] / src / mathed / InsetMathMatrix.h
1 // -*- C++ -*-
2 /**
3  * \file InsetMathMatrix.h
4  * This file is part of LyX, the document processor.
5  * Licence details can be found in the file COPYING.
6  *
7  * \author André Pönitz
8  *
9  * Full author contact details are available in file CREDITS.
10  */
11
12 #ifndef MATH_MATRIXINSET_H
13 #define MATH_MATRIXINSET_H
14
15 #include "InsetMathGrid.h"
16 #include "support/strfwd.h"
17
18
19 namespace lyx {
20
21
22 // "shortcut" for DelimInset("(",ArrayInset,")") used by MathExtern
23
24 class InsetMathMatrix : public InsetMathGrid {
25 public:
26         ///
27         explicit InsetMathMatrix(InsetMathGrid const &,
28                         docstring const & left, docstring const & right);
29         /// identifies MatrixInsets
30         InsetMathMatrix const * asMatrixInset() const override { return this; }
31
32         ///
33         void write(WriteStream & os) const override;
34         ///
35         void normalize(NormalStream &) const override;
36         ///
37         void maple(MapleStream &) const override;
38         ///
39         void maxima(MaximaStream &) const override;
40         ///
41         void mathematica(MathematicaStream &) const override;
42         ///
43         void mathmlize(MathStream &) const override;
44         ///
45         void htmlize(HtmlStream &) const override;
46         ///
47         void octave(OctaveStream &) const override;
48         ///
49         InsetCode lyxCode() const override { return MATH_MATRIX_CODE; }
50         ///
51         bool handlesMulticolumn() const override { return true; }
52
53 private:
54         Inset * clone() const override;
55         ///
56         docstring left_;
57         ///
58         docstring right_;
59 };
60
61
62
63 } // namespace lyx
64 #endif