]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathRoot.h
Merge branch 'master' of git.lyx.org:lyx
[lyx.git] / src / mathed / InsetMathRoot.h
index e19978eda117d9de84c46b2f8045792dc738f11f..18bacbbf18888bc825da8c080217ea50c9d50733 100644 (file)
@@ -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 InsetMathRoot : public InsetMathNest {
 public:
        ///
-       InsetMathRoot();
+       InsetMathRoot(Buffer * buf);
        ///
        bool idxUpDown(Cursor & cur, bool up) const;
        ///
-       bool metrics(MetricsInfo & mi, Dimension & dim) const;
+       void metrics(MetricsInfo & mi, Dimension & dim) const;
        ///
        void draw(PainterInfo & pi, int x, int y) const;
 
@@ -38,13 +38,20 @@ public:
        ///
        void mathmlize(MathStream &) const;
        ///
+       void htmlize(HtmlStream &) const;
+       ///
        void maple(MapleStream &) const;
        ///
        void mathematica(MathematicaStream &) const;
        ///
        void octave(OctaveStream &) const;
+       ///
+       InsetCode lyxCode() const { return MATH_ROOT_CODE; }
+       ///
+       void validate(LaTeXFeatures &) const;
+
 private:
-       virtual std::auto_ptr<InsetBase> doClone() const;
+       virtual Inset * clone() const;
 };