]> git.lyx.org Git - lyx.git/blobdiff - src/Layout.h
Fix yet another thinko in the math grid paste code
[lyx.git] / src / Layout.h
index 6c4b6c01d87c1bd82f60d1ed871d08fae28e5707..ffc976d8ff7df98c00f2836d14a896e1bc24af78 100644 (file)
@@ -100,15 +100,18 @@ 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;
+               bool free_spacing;
+               std::string newlinecmd;
        };
        ///
        typedef std::map<std::string, latexarg> LaTeXArgMap;
@@ -150,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_; }
        ///
@@ -480,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