]> git.lyx.org Git - lyx.git/blobdiff - src/Layout.h
Handle null pointer
[lyx.git] / src / Layout.h
index fc980719a92a12e9d9c39f8d095645bfba4e6526..4f4f1c7899c3a3e1e6ef430103f1ff16b38c0337 100644 (file)
@@ -94,6 +94,7 @@ public:
                docstring labelstring;
                docstring menustring;
                bool mandatory;
+               bool nodelims;
                docstring ldelim;
                docstring rdelim;
                docstring defaultarg;
@@ -116,6 +117,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.
@@ -311,7 +314,7 @@ public:
        /** true when the fragile commands in the paragraph need to be
            \protect'ed. */
        bool needprotect;
-       /** true when the verbatim stuff of this layout needs to ce
+       /** true when the verbatim stuff of this layout needs to be
            \cprotect'ed. */
        bool needcprotect;
        /// true when empty paragraphs should be kept.
@@ -484,6 +487,8 @@ private:
        ///
        LaTeXArgMap postcommandargs_;
        ///
+       LaTeXArgMap listpreamble_;
+       ///
        LaTeXArgMap itemargs_;
        ///
        bool add_to_toc_;