X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Fmathed%2FInsetMathXArrow.h;h=722f4d58cd1d96ffe4e3fb172463ee73732aee1f;hb=f1dd80f464b46f6112f6c9a64a70dd3da76cbe7f;hp=0355b15fd02966ff98c15500559864d4114eac5b;hpb=e24bf64c68102691fc76081de9fb57926b482726;p=lyx.git diff --git a/src/mathed/InsetMathXArrow.h b/src/mathed/InsetMathXArrow.h index 0355b15fd0..722f4d58cd 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,7 +12,7 @@ #ifndef MATH_XARROWINSET_H #define MATH_XARROWINSET_H -#include "InsetMathFracBase.h" +#include "InsetMathFrac.h" namespace lyx { @@ -22,20 +22,28 @@ namespace lyx { class InsetMathXArrow : public InsetMathFracBase { public: /// - explicit InsetMathXArrow(docstring const & name); + explicit InsetMathXArrow(Buffer * buf, docstring const & name); /// void draw(PainterInfo & pi, int x, int y) const; /// void write(WriteStream & os) const; /// - bool metrics(MetricsInfo & mi, Dimension & dim) const; + void metrics(MetricsInfo & mi, Dimension & dim) const; /// 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; } + /// + MathClass mathClass() const { return MC_REL; } private: - virtual std::auto_ptr doClone() const; + virtual Inset * clone() const; /// bool upper() const; ///