X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Fmathed%2FInsetMathMatrix.h;h=49c5ce4e5f146924b1318ea584336dd4db3b0335;hb=38c2cde0d8695ac5287bae218c4a33a2acf18ef8;hp=efaaa13978b057b019b791f99001134afe6440f1;hpb=ed858d73e57ce7aa89e38c1bc4d799362edb0227;p=lyx.git diff --git a/src/mathed/InsetMathMatrix.h b/src/mathed/InsetMathMatrix.h index efaaa13978..49c5ce4e5f 100644 --- a/src/mathed/InsetMathMatrix.h +++ b/src/mathed/InsetMathMatrix.h @@ -4,7 +4,7 @@ * This file is part of LyX, the document processor. * Licence details can be found in the file COPYING. * - * \author André Pönitz + * \author André Pönitz * * Full author contact details are available in file CREDITS. */ @@ -13,19 +13,19 @@ #define MATH_MATRIXINSET_H #include "InsetMathGrid.h" +#include "support/strfwd.h" namespace lyx { -// "shortcut" for DelimInset("(",ArrayInset,")") +// "shortcut" for DelimInset("(",ArrayInset,")") used by MathExtern class InsetMathMatrix : public InsetMathGrid { public: /// - explicit InsetMathMatrix(InsetMathGrid const &); - /// - explicit InsetMathMatrix(docstring const & str); + explicit InsetMathMatrix(InsetMathGrid const &, + docstring const & left, docstring const & right); /// identifies MatrixInsets InsetMathMatrix const * asMatrixInset() const { return this; } @@ -42,9 +42,20 @@ public: /// void mathmlize(MathStream &) const; /// + void htmlize(HtmlStream &) const; + /// void octave(OctaveStream &) const; + /// + InsetCode lyxCode() const { return MATH_MATRIX_CODE; } + /// + bool handlesMulticolumn() const { return true; } //override + private: virtual Inset * clone() const; + /// + docstring left_; + /// + docstring right_; };