]> git.lyx.org Git - features.git/blobdiff - src/Layout.h
Option to auto-insert a paragraph style option, particularly useful for specific...
[features.git] / src / Layout.h
index b0c3ac5bad36eab221f67dc81bbaa0a504bff0cd..7e5281d5dd87ebeef369750ea7c0338f9cdefbe5 100644 (file)
@@ -90,20 +90,25 @@ public:
        /// The arguments of this layout
        struct latexarg {
                docstring labelstring;
+               docstring menustring;
                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<unsigned int, latexarg> LaTeXArgMap;
+       typedef std::map<std::string, latexarg> LaTeXArgMap;
        ///
        LaTeXArgMap const & latexargs() const { return latexargs_; }
        ///
+       LaTeXArgMap const & itemargs() const { return itemargs_; }
+       ///
        int optArgs() const;
        ///
        int requiredArgs() const;
@@ -399,6 +404,8 @@ private:
        std::set<std::string> requires_;
        ///
        LaTeXArgMap latexargs_;
+       ///
+       LaTeXArgMap itemargs_;
 };
 
 } // namespace lyx