X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Fmathed%2FInsetMathAMSArray.h;h=c337c781a06a7151097ec4c241756d8617211e1e;hb=faeb1997932dd60909ebe7c7883a5c8fbfe81e8c;hp=76c02f245297da64349562a9f4949f38080c9d73;hpb=802067ecdc8496b851b82d730775829f0c5ffccb;p=lyx.git diff --git a/src/mathed/InsetMathAMSArray.h b/src/mathed/InsetMathAMSArray.h index 76c02f2452..c337c781a0 100644 --- a/src/mathed/InsetMathAMSArray.h +++ b/src/mathed/InsetMathAMSArray.h @@ -21,9 +21,9 @@ namespace lyx { class InsetMathAMSArray : public InsetMathGrid { public: /// - InsetMathAMSArray(docstring const &, int m, int n); + InsetMathAMSArray(Buffer * buf, docstring const &, int m, int n); /// - InsetMathAMSArray(docstring const &); + InsetMathAMSArray(Buffer * buf, docstring const &); /// void metrics(MetricsInfo & mi, Dimension & dim) const; /// @@ -42,15 +42,28 @@ public: void infoize(odocstream & os) const; /// void normalize(NormalStream &) const; + // Don't need mathmlize or htmlize, as this is handled by + // InsetMathMatrix after being extracted in MathExtern. + // void mathmlize(MathStream &) const; + // void htmlize(HTMLStream &) const; /// void validate(LaTeXFeatures & features) const; -private: - virtual Inset * clone() const; + /// + InsetCode lyxCode() const { return MATH_AMSARRAY_CODE; } /// char const * name_left() const; /// char const * name_right() const; /// + int leftMargin() const { return 6; } //override + /// + int rightMargin() const { return 8; } //override + /// + bool handlesMulticolumn() const { return true; } //override + +private: + virtual Inset * clone() const; + /// docstring name_; };