]> git.lyx.org Git - features.git/blobdiff - src/Layout.h
Add NewlineCmd InsetLayout and Argument option
[features.git] / src / Layout.h
index 4f4f1c7899c3a3e1e6ef430103f1ff16b38c0337..fcfdc11872ba495055a312bf02027ca4c916ead6 100644 (file)
@@ -109,6 +109,7 @@ public:
                ArgPassThru passthru;
                docstring pass_thru_chars;
                bool is_toc_caption;
+               std::string newlinecmd;
        };
        ///
        typedef std::map<std::string, latexarg> LaTeXArgMap;
@@ -317,6 +318,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