X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Fmathed%2FInsetMathMatrix.h;h=6aa44c1d5ca30060ae3a7c402e8beb57928a8d94;hb=a11780b59fcb6cdd16b15f9fa4de45d7ddfd1b2a;hp=b44008bac4cac69ab9b36760321353ec3533a940;hpb=f1cba8ff64b369792fd49f5ddf90e8126ab476ac;p=features.git diff --git a/src/mathed/InsetMathMatrix.h b/src/mathed/InsetMathMatrix.h index b44008bac4..6aa44c1d5c 100644 --- a/src/mathed/InsetMathMatrix.h +++ b/src/mathed/InsetMathMatrix.h @@ -13,38 +13,49 @@ #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; } + InsetMathMatrix const * asMatrixInset() const override { return this; } /// - void write(WriteStream & os) const; + void write(TeXMathStream & os) const override; + /// + void normalize(NormalStream &) const override; + /// + void maple(MapleStream &) const override; + /// + void maxima(MaximaStream &) const override; /// - void normalize(NormalStream &) const; + void mathematica(MathematicaStream &) const override; /// - void maple(MapleStream &) const; + void mathmlize(MathMLStream &) const override; /// - void maxima(MaximaStream &) const; + void htmlize(HtmlStream &) const override; /// - void mathematica(MathematicaStream &) const; + void octave(OctaveStream &) const override; /// - void mathmlize(MathStream &) const; + InsetCode lyxCode() const override { return MATH_MATRIX_CODE; } /// - void octave(OctaveStream &) const; + bool handlesMulticolumn() const override { return true; } + private: - virtual Inset * clone() const; + Inset * clone() const override; + /// + docstring left_; + /// + docstring right_; };