X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FLayout.h;h=53fb682a6ef279c5b5ed87f23796f591a8105b1c;hb=b0a73c0dfdbfa0541f04d7ee2578c4cd272ef7b9;hp=7991cb193ef8ddbc2245e2ad9ce1a43e858b7670;hpb=d10317978a28839ac1567f78d13abc46920f59a1;p=lyx.git diff --git a/src/Layout.h b/src/Layout.h index 7991cb193e..53fb682a6e 100644 --- a/src/Layout.h +++ b/src/Layout.h @@ -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 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_;