X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Finsets%2FInsetFlex.h;h=82770026c33249b4e7cd549199b100bbf10adb17;hb=860accd01fb8115ec7c6ad80b054f1046e19c62f;hp=d5902be949ae0bb6ed8946b9444f0e372aa4e561;hpb=6e8312d1a46fc79af62f01fde116f7b12974c210;p=lyx.git diff --git a/src/insets/InsetFlex.h b/src/insets/InsetFlex.h index d5902be949..82770026c3 100644 --- a/src/insets/InsetFlex.h +++ b/src/insets/InsetFlex.h @@ -23,9 +23,11 @@ namespace lyx { class InsetFlex : public InsetCollapsable { public: /// - InsetFlex(Buffer const &, std::string const & layoutName); + 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; } /// Default looks @@ -41,6 +43,8 @@ public: FuncStatus &) const; /// void doDispatch(Cursor & cur, FuncRequest & cmd); + /// + void updateBuffer(ParIterator const & it, UpdateType utype); protected: ///