]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathXArrow.h
Get rid of Inset::setPosCache
[lyx.git] / src / mathed / InsetMathXArrow.h
index 05bc2740bb230350c4b2a29b1d9cebc6d7106eed..f63eb2be192a1de19dad30613378a773c51a4039 100644 (file)
@@ -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,7 +22,7 @@ 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;
        ///
@@ -32,10 +32,16 @@ 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<InsetBase> doClone() const;
+       virtual Inset * clone() const;
        ///
        bool upper() const;
        ///