X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FLayout.h;h=7991cb193ef8ddbc2245e2ad9ce1a43e858b7670;hb=f63de41c4c2180705b44c3444718d7f35df89b8a;hp=90d1b2e8edf5ff87dc7501aae47f45331c82d546;hpb=51aebc9327345f6ea065035f489dbfec1568279f;p=lyx.git diff --git a/src/Layout.h b/src/Layout.h index 90d1b2e8ed..7991cb193e 100644 --- a/src/Layout.h +++ b/src/Layout.h @@ -149,6 +149,10 @@ public: /// std::set const & requires() const { return requires_; } /// + std::set const & autonests() const { return autonests_; } + /// + std::set const & isAutonestedBy() const { return autonested_by_; } + /// std::string const & latexparam() const { return latexparam_; } /// docstring leftdelim() const { return leftdelim_; } @@ -307,6 +311,9 @@ public: /** true when the fragile commands in the paragraph need to be \protect'ed. */ bool needprotect; + /** true when the verbatim stuff of this layout needs to be + \cprotect'ed. */ + bool needcprotect; /// true when empty paragraphs should be kept. bool keepempty; /// Type of LaTeX object @@ -468,6 +475,10 @@ private: bool par_group_; /// Packages needed for this layout std::set requires_; + /// Layouts that are by default nested after this one + std::set autonests_; + /// Layouts that by auto-nest this one + std::set autonested_by_; /// LaTeXArgMap latexargs_; ///