X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Fmathed%2FInsetMathXYMatrix.h;h=1d5cd2f735f8b3ad088907602510695e216ec659;hb=12314897982e07afd8926c997f66d7bb08e7e1fd;hp=1928af1aa360955a9ccdcc640e29f372517a7df6;hpb=e89625ef28143545a511cdabc67dee8b7be1b216;p=lyx.git diff --git a/src/mathed/InsetMathXYMatrix.h b/src/mathed/InsetMathXYMatrix.h index 1928af1aa3..1d5cd2f735 100644 --- a/src/mathed/InsetMathXYMatrix.h +++ b/src/mathed/InsetMathXYMatrix.h @@ -12,14 +12,17 @@ #ifndef MATH_XYMATRIX_H #define MATH_XYMATRIX_H -#include "lyxlength.h" +#include "Length.h" #include "InsetMathGrid.h" +namespace lyx { + + class InsetMathXYMatrix : public InsetMathGrid { public: /// - InsetMathXYMatrix(); + InsetMathXYMatrix(Length const & = Length(), char c = '\0'); /// void metrics(MetricsInfo &, Dimension &) const; /// @@ -34,14 +37,23 @@ public: /// void write(WriteStream & os) const; /// - void infoize(std::ostream & os) const; + void infoize(odocstream & os) const; /// void normalize(NormalStream &) const; /// void maple(MapleStream &) const; + /// + void validate(LaTeXFeatures & features) const; private: /// - virtual std::auto_ptr doClone() const; + virtual Inset * clone() const; + /// extra spacing, may be empty + Length spacing_; + /// + char spacing_code_; }; + + +} // namespace lyx #endif