X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FLayout.h;h=c8f7c95ad08ad70dc0d64cc98747b953d4b5e9d3;hb=35bb9cb4a63bbbd103306ec749f082faf318c56b;hp=4f4f1c7899c3a3e1e6ef430103f1ff16b38c0337;hpb=b124adbd3837b2e413e3f859e631e7c689a2cf1d;p=lyx.git diff --git a/src/Layout.h b/src/Layout.h index 4f4f1c7899..c8f7c95ad0 100644 --- a/src/Layout.h +++ b/src/Layout.h @@ -106,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; @@ -150,7 +153,7 @@ public: /// this layout for language \p lang docstring const babelpreamble() const { return babelpreamble_; } /// - std::set const & requires() const { return requires_; } + std::set const & required() const { return requires_; } /// std::set const & autonests() const { return autonests_; } /// @@ -317,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