]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathSplit.h
Display the correct horizontal alignment in AMS environments
[lyx.git] / src / mathed / InsetMathSplit.h
index 93672606eb750f7f79c72793b92145eb8fea3e27..1b2aa239e4b55bb1b65902bab9b394dc24e88c89 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.
  */
@@ -21,7 +21,8 @@ namespace lyx {
 class InsetMathSplit : public InsetMathGrid {
 public:
        ///
-       explicit InsetMathSplit(docstring const & name, char valign = 'c');
+       explicit InsetMathSplit(Buffer * buf, docstring const & name,
+               char valign = 'c', bool numbered = false);
        ///
        void draw(PainterInfo & pi, int x, int y) const;
        ///
@@ -32,16 +33,27 @@ public:
        ///
        void infoize(odocstream & os) const;
        ///
+       void mathmlize(MathStream &) const;
+       ///
+       void htmlize(HtmlStream &) const;
+       ///
        void validate(LaTeXFeatures & features) const;
        ///
        int defaultColSpace(col_type) { return 0; }
        ///
        char defaultColAlign(col_type);
+       ///
+       char displayColAlign(idx_type idx) const;
+       ///
+       InsetCode lyxCode() const { return MATH_SPLIT_CODE; }
+
 private:
        ///
        virtual Inset * clone() const;
        ///
        docstring name_;
+       ///
+       bool numbered_;
 };