]> git.lyx.org Git - lyx.git/blobdiff - src/Layout.h
Remove Language::fontenc()
[lyx.git] / src / Layout.h
index 37a10f0b93bb991888c36474d62225e0be890425..7991cb193ef8ddbc2245e2ad9ce1a43e858b7670 100644 (file)
@@ -149,7 +149,9 @@ public:
        ///
        std::set<std::string> const & requires() const { return requires_; }
        ///
-       std::set<docstring> const & nests() const { return nests_; }
+       std::set<docstring> const & autonests() const { return autonests_; }
+       ///
+       std::set<docstring> const & isAutonestedBy() const { return autonested_by_; }
        ///
        std::string const & latexparam() const { return latexparam_; }
        ///
@@ -309,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
@@ -471,7 +476,9 @@ private:
        /// Packages needed for this layout
        std::set<std::string> requires_;
        /// Layouts that are by default nested after this one
-       std::set<docstring> nests_;
+       std::set<docstring> autonests_;
+       /// Layouts that by auto-nest this one
+       std::set<docstring> autonested_by_;
        ///
        LaTeXArgMap latexargs_;
        ///