]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathMatrix.h
* zh_TW.po: Update from Mingyi Wu
[lyx.git] / src / mathed / InsetMathMatrix.h
index 0b65634c64d94032405154ffa5b88335f3ea0fdf..26a854402606476c29b14cb78aa5010f33ff773c 100644 (file)
@@ -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.
  */
 #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,18 @@ public:
        ///
        void mathmlize(MathStream &) const;
        ///
+       void htmlize(HtmlStream &) const;
+       ///
        void octave(OctaveStream &) const;
+       ///
+       InsetCode lyxCode() const { return MATH_MATRIX_CODE; }
+
 private:
-       virtual std::auto_ptr<Inset> doClone() const;
+       virtual Inset * clone() const;
+       ///
+       docstring left_;
+       ///
+       docstring right_;
 };