X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FTextClass.h;h=207b868a4b5379a5e2d5dd48eea288dd5b74317f;hb=c506f304bc522ea91ad5a7e97cd4e3c7d54376b0;hp=65891397b95f6427181062b0abdf390199bb82b8;hpb=91265c1f46ae9d326a58ec193518eee094f02ba7;p=features.git diff --git a/src/TextClass.h b/src/TextClass.h index 65891397b9..207b868a4b 100644 --- a/src/TextClass.h +++ b/src/TextClass.h @@ -211,7 +211,11 @@ public: bool hasOutputFormat() const { return has_output_format_; } /// Return the non-localised names for the toc types. std::map const & - outlinerNames() const { return outliner_names_; } + outlinerNames() const { return outliner_names_; } + /// \returns Layout named \p name if it exists, otherwise 0 + Layout const * getLayout(docstring const & name) const; + /// \returns Layout named \p name if it exists, otherwise 0 + Layout * getLayout(docstring const & name); protected: /// Protect construction