]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetFlex.h
When selecting special logos, set their color correctly
[lyx.git] / src / insets / InsetFlex.h
index 5799b65f77a55ff9b9fe7210f405dc2c7a6fbb9e..82770026c33249b4e7cd549199b100bbf10adb17 100644 (file)
@@ -25,7 +25,9 @@ public:
        ///
        InsetFlex(Buffer *, std::string const & layoutName);
        ///
-       docstring name() const;
+       docstring layoutName() const { return from_utf8("Flex:" + name_); }
+       ///
+       InsetLayout const & getLayout() const;
        ///
        InsetCode lyxCode() const { return FLEX_CODE; }
        /// Default looks
@@ -33,7 +35,7 @@ public:
        ///
        void write(std::ostream &) const;
        /// should paragraph indendation be ommitted in any case?
-       bool neverIndent() const { return true; }       
+       bool neverIndent() const { return true; }
        ///
        bool hasSettings() const { return false; }
        ///
@@ -41,6 +43,8 @@ public:
                FuncStatus &) const;
        ///
        void doDispatch(Cursor & cur, FuncRequest & cmd);
+       ///
+       void updateBuffer(ParIterator const & it, UpdateType utype);
 
 protected:
        ///