]> git.lyx.org Git - lyx.git/blobdiff - src/Layout.h
Support halfline and fullline also in vspace.
[lyx.git] / src / Layout.h
index 5a2567c13dd8ac02206b5a192c87246f76bdc8f9..ffc976d8ff7df98c00f2836d14a896e1bc24af78 100644 (file)
@@ -100,12 +100,13 @@ public:
                docstring defaultarg;
                docstring presetarg;
                docstring tooltip;
-               std::string requires;
+               std::string required;
                std::string decoration;
                FontInfo font;
                FontInfo labelfont;
                bool autoinsert;
                bool insertcotext;
+               bool insertonnewline;
                ArgPassThru passthru;
                docstring pass_thru_chars;
                bool is_toc_caption;
@@ -152,7 +153,7 @@ public:
        /// this layout for language \p lang
        docstring const babelpreamble() const { return babelpreamble_; }
        ///
-       std::set<std::string> const & requires() const { return requires_; }
+       std::set<std::string> const & required() const { return required_; }
        ///
        std::set<docstring> const & autonests() const { return autonests_; }
        ///
@@ -482,7 +483,7 @@ private:
        /// Are adjacent paragraphs handled as one group?
        bool par_group_;
        /// Packages needed for this layout
-       std::set<std::string> requires_;
+       std::set<std::string> required_;
        /// Layouts that are by default nested after this one
        std::set<docstring> autonests_;
        /// Layouts that by auto-nest this one