]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetFlex.h
Let the Foot inset have a different Layout when inside a title
[lyx.git] / src / insets / InsetFlex.h
index bae49b26c0fc9ec7ca38dc11032e9fc1556f1c10..82770026c33249b4e7cd549199b100bbf10adb17 100644 (file)
@@ -25,13 +25,11 @@ public:
        ///
        InsetFlex(Buffer *, std::string const & layoutName);
        ///
-       docstring name() const { return from_utf8(name_); }
+       docstring layoutName() const { return from_utf8("Flex:" + name_); }
        ///
        InsetLayout const & getLayout() const;
        ///
        InsetCode lyxCode() const { return FLEX_CODE; }
-       ///
-       bool resetFontEdit() const;
        /// Default looks
        InsetLayout::InsetDecoration decoration() const;
        ///
@@ -45,6 +43,8 @@ public:
                FuncStatus &) const;
        ///
        void doDispatch(Cursor & cur, FuncRequest & cmd);
+       ///
+       void updateBuffer(ParIterator const & it, UpdateType utype);
 
 protected:
        ///