]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathRoot.h
Reduce horizontal spacing for simple inline equations
[lyx.git] / src / mathed / InsetMathRoot.h
index 6b42504857bcd4e86efc3acd63543c05d985949c..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,9 +23,9 @@ namespace lyx {
 class InsetMathRoot : public InsetMathNest {
 public:
        ///
-       InsetMathRoot();
+       InsetMathRoot(Buffer * buf);
        ///
-       bool idxUpDown(LCursor & cur, bool up) const;
+       bool idxUpDown(Cursor & cur, bool up) const;
        ///
        void metrics(MetricsInfo & mi, Dimension & dim) const;
        ///
@@ -36,13 +36,22 @@ public:
        ///
        void normalize(NormalStream &) const;
        ///
-       void mathmlize(MathMLStream &) const;
+       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;
 };