X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Fmathed%2FInsetMathSqrt.h;h=d2aab3282b027c2665b6baf34fffa098c178f3a3;hb=bf56e2c8e1afa857cd5e313c19948040e41b8227;hp=a4407d4a281e6e8f2c535988ad512fbbff78875b;hpb=e24bf64c68102691fc76081de9fb57926b482726;p=lyx.git diff --git a/src/mathed/InsetMathSqrt.h b/src/mathed/InsetMathSqrt.h index a4407d4a28..d2aab3282b 100644 --- a/src/mathed/InsetMathSqrt.h +++ b/src/mathed/InsetMathSqrt.h @@ -5,7 +5,7 @@ * Licence details can be found in the file COPYING. * * \author Alejandro Aguilar Sierra - * \author André Pönitz + * \author André Pönitz * * Full author contact details are available in file CREDITS. */ @@ -23,11 +23,11 @@ namespace lyx { class InsetMathSqrt : public InsetMathNest { public: /// - InsetMathSqrt(); + InsetMathSqrt(Buffer * buf); /// void draw(PainterInfo &, int x, int y) const; /// - bool metrics(MetricsInfo & mi, Dimension & dim) const; + void metrics(MetricsInfo & mi, Dimension & dim) const; /// void drawT(TextPainter &, int x, int y) const; /// @@ -45,8 +45,15 @@ public: void octave(OctaveStream &) const; /// void mathmlize(MathStream &) const; + /// + void htmlize(HtmlStream &) const; + /// + InsetCode lyxCode() const { return MATH_SQRT_CODE; } + /// + void validate(LaTeXFeatures &) const; + private: - virtual std::auto_ptr doClone() const; + virtual Inset * clone() const; };