X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Fmathed%2FInsetMathMatrix.h;h=26a854402606476c29b14cb78aa5010f33ff773c;hb=6de3c19fd63f810eed90ef3bc4469faf28e949c2;hp=06f8adab275687384028eab027d6a5a112665919;hpb=6c300f72a217722652dc27db9108e1050028979c;p=lyx.git diff --git a/src/mathed/InsetMathMatrix.h b/src/mathed/InsetMathMatrix.h index 06f8adab27..26a8544026 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(std::string const & str); + explicit InsetMathMatrix(InsetMathGrid const &, + docstring const & left, docstring const & right); /// identifies MatrixInsets InsetMathMatrix const * asMatrixInset() const { return this; } @@ -40,11 +40,20 @@ public: /// void mathematica(MathematicaStream &) const; /// - void mathmlize(MathMLStream &) const; + void mathmlize(MathStream &) const; + /// + void htmlize(HtmlStream &) const; /// void octave(OctaveStream &) const; + /// + InsetCode lyxCode() const { return MATH_MATRIX_CODE; } + private: - virtual std::auto_ptr doClone() const; + virtual Inset * clone() const; + /// + docstring left_; + /// + docstring right_; };