]> git.lyx.org Git - lyx.git/blobdiff - src/Layout.h
Fixup ee0bd36a86: only clear margins when needed
[lyx.git] / src / Layout.h
index 7991cb193ef8ddbc2245e2ad9ce1a43e858b7670..53fb682a6ef279c5b5ed87f23796f591a8105b1c 100644 (file)
@@ -94,6 +94,7 @@ public:
                docstring labelstring;
                docstring menustring;
                bool mandatory;
+               bool nodelims;
                docstring ldelim;
                docstring rdelim;
                docstring defaultarg;
@@ -105,9 +106,12 @@ public:
                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;
@@ -116,6 +120,8 @@ public:
        ///
        LaTeXArgMap const & postcommandargs() const { return postcommandargs_; }
        ///
+       LaTeXArgMap const & listpreamble() const { return listpreamble_; }
+       ///
        LaTeXArgMap const & itemargs() const { return itemargs_; }
        /// Returns true is the layout has arguments. If false, then an
        /// InsetArgument in this layout stands for the parent InsetText.
@@ -314,6 +320,9 @@ public:
        /** true when the verbatim stuff of this layout needs to be
            \cprotect'ed. */
        bool needcprotect;
+       /** true when specific commands in this paragraph need to be
+           protected in an \mbox. */
+       bool needmboxprotect;
        /// true when empty paragraphs should be kept.
        bool keepempty;
        /// Type of LaTeX object
@@ -484,6 +493,8 @@ private:
        ///
        LaTeXArgMap postcommandargs_;
        ///
+       LaTeXArgMap listpreamble_;
+       ///
        LaTeXArgMap itemargs_;
        ///
        bool add_to_toc_;