]> git.lyx.org Git - features.git/blobdiff - src/insets/InsetFootlike.h
* Lazy MathData to avoid unneeded interpretation of macro definitions
[features.git] / src / insets / InsetFootlike.h
index bc1ce1ab9185f0c4f3112983b87af5ce46f546ea..3c7cc09ee49a238e642c639a3feb37ff93875ac2 100644 (file)
@@ -27,13 +27,15 @@ public:
        ///
        InsetFootlike(InsetFootlike const &);
        ///
-       bool metrics(MetricsInfo &, Dimension &) const;
+       void metrics(MetricsInfo &, Dimension &) const;
        ///
        void draw(PainterInfo & pi, int x, int y) const;
        ///
        void write(Buffer const & buf, std::ostream & os) const;
        ///
-       bool insetAllowed(InsetBase::Code) const;
+       bool isMacroScope(Buffer const & buf) const { return true; }
+       ///
+       bool insetAllowed(InsetCode) const;
        /** returns true if, when outputing LaTeX, font changes should
            be closed before generating this inset. This is needed for
            insets that may contain several paragraphs */