X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Fmathed%2FInsetMathXArrow.h;h=f63eb2be192a1de19dad30613378a773c51a4039;hb=02e82157ec583c3900e359de86be79fac6512387;hp=5f6c1124868f63fd58daa57ac7f42715a5e30a67;hpb=e89625ef28143545a511cdabc67dee8b7be1b216;p=lyx.git diff --git a/src/mathed/InsetMathXArrow.h b/src/mathed/InsetMathXArrow.h index 5f6c112486..f63eb2be19 100644 --- a/src/mathed/InsetMathXArrow.h +++ b/src/mathed/InsetMathXArrow.h @@ -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. */ @@ -12,14 +12,17 @@ #ifndef MATH_XARROWINSET_H #define MATH_XARROWINSET_H -#include "InsetMathFracBase.h" +#include "InsetMathFrac.h" + + +namespace lyx { /// Wide arrows like \xrightarrow class InsetMathXArrow : public InsetMathFracBase { public: /// - explicit InsetMathXArrow(std::string const & name); + explicit InsetMathXArrow(Buffer * buf, docstring const & name); /// void draw(PainterInfo & pi, int x, int y) const; /// @@ -29,13 +32,22 @@ public: /// void normalize(NormalStream & os) const; /// + void mathmlize(MathStream &) const; + /// + void htmlize(HtmlStream &) const; + /// void validate(LaTeXFeatures & features) const; + /// + InsetCode lyxCode() const { return MATH_XARROW_CODE; } private: - virtual std::auto_ptr doClone() const; + virtual Inset * clone() const; /// bool upper() const; /// - std::string const name_; + docstring const name_; }; + + +} // namespace lyx #endif