]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathXYMatrix.h
Revert "XHTML: remove DOCTYPE, as the document is then understood as HTML4/XHTML1...
[lyx.git] / src / mathed / InsetMathXYMatrix.h
index 8e11a0b489bf64c4d344448d10975fb9adc24081..68de02813ae9a0fcb6070f535f32fefe10dd720f 100644 (file)
 #ifndef MATH_XYMATRIX_H
 #define MATH_XYMATRIX_H
 
-#include "Length.h"
 #include "InsetMathGrid.h"
 
+#include "support/Length.h"
+
 
 namespace lyx {
 
@@ -22,18 +23,19 @@ namespace lyx {
 class InsetMathXYMatrix : public InsetMathGrid {
 public:
        ///
-       InsetMathXYMatrix(Length const & = Length(), char c = '\0');
+       InsetMathXYMatrix(Buffer * buf, Length const & = Length(), char c = '\0',
+               bool equal_spacing = false);
        ///
        void metrics(MetricsInfo &, Dimension &) const;
        ///
+       void draw(PainterInfo & pi, int x, int y) const;
+       ///
        InsetMathXYMatrix const * asXYMatrixInset() const { return this; }
        ///
        virtual int colsep() const;
        ///
        virtual int rowsep() const;
 
-       ///
-       void normalize();
        ///
        void write(WriteStream & os) const;
        ///
@@ -46,6 +48,10 @@ public:
        void validate(LaTeXFeatures & features) const;
        ///
        InsetCode lyxCode() const { return MATH_XYMATRIX_CODE; }
+       ///
+       void mathmlize(MathStream &) const;
+       ///
+       void htmlize(HtmlStream &) const;
 
 private:
        ///
@@ -54,6 +60,8 @@ private:
        Length spacing_;
        ///
        char spacing_code_;
+       ///
+       bool equal_spacing_;
 };