]> git.lyx.org Git - features.git/blobdiff - src/Layout.h
Convenience LFUN to split an environment
[features.git] / src / Layout.h
index 9b3ff388a64694c8cf1711f8096d6a5b0ab20740..39f784638e2bcfc5248fb706567a94485ba7099c 100644 (file)
@@ -86,6 +86,8 @@ public:
        ///
        std::string const & latexname() const { return latexname_; }
        ///
+       std::string const & itemcommand() const { return itemcommand_; }
+       ///
        void setLatexName(std::string const & n) { latexname_ = n; }
        /// The arguments of this layout
        struct latexarg {
@@ -94,15 +96,19 @@ public:
                bool mandatory;
                docstring ldelim;
                docstring rdelim;
+               docstring presetarg;
                docstring tooltip;
                std::string requires;
                std::string decoration;
                FontInfo font;
                FontInfo labelfont;
+               bool autoinsert;
        };
        ///
        typedef std::map<std::string, latexarg> LaTeXArgMap;
        ///
+       LaTeXArgMap args() const;
+       ///
        LaTeXArgMap const & latexargs() const { return latexargs_; }
        ///
        LaTeXArgMap const & itemargs() const { return itemargs_; }
@@ -324,6 +330,8 @@ private:
        docstring labelstring_appendix_;
        /// LaTeX parameter for environment
        std::string latexparam_;
+       /// Item command in lists
+       std::string itemcommand_;
        /// Left delimiter of the content
        docstring leftdelim_;
        /// Right delimiter of the content