]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/formula.h
fix pullArg when pressing <Delete> at the end of an cell
[lyx.git] / src / mathed / formula.h
index eb629c90e11c852e60b2c1ac42c043c360685ce9..b98c7ef8dc08649933c1c6cb03e24c32f7275c5a 100644 (file)
@@ -21,7 +21,6 @@
 #pragma interface
 #endif
 
-#include "LString.h"
 #include "mathed/formulabase.h"
 #include "math_defs.h"
 
@@ -44,6 +43,8 @@ public:
        int width(BufferView *, LyXFont const &) const;
        ///
        void draw(BufferView *, LyXFont const &, int, float &, bool) const;
+       ///
+       void Metrics() const;
 
        ///
        void write(std::ostream &) const;
@@ -60,12 +61,14 @@ public:
        int docBook(std::ostream &) const;
 
        ///
-       Inset * clone(Buffer const &) const;
+       Inset * clone(Buffer const &, bool same_id = false) const;
        ///
        void validate(LaTeXFeatures & features) const;
        ///
        Inset::Code lyxCode() const;
        ///
+       bool insetAllowed(Inset::Code code) const;
+       ///
        virtual RESULT localDispatch(BufferView *, kb_action, string const &);
        ///
        std::vector<string> const getLabelList() const;