X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FLayout.h;h=273a36155bbedbfeb10124980993a7808737fb5b;hb=0430132aa049f2a97280bcbcff69f71d42ed7d98;hp=091e319cb1d02830ae3bd62ce5cfdfbb38f6d530;hpb=eb748d6330f6bbf727c28804c4a88dbc16d82830;p=lyx.git diff --git a/src/Layout.h b/src/Layout.h index 091e319cb1..273a36155b 100644 --- a/src/Layout.h +++ b/src/Layout.h @@ -106,6 +106,7 @@ public: bool autoinsert; bool insertcotext; docstring pass_thru_chars; + bool is_toc_caption; }; /// typedef std::map LaTeXArgMap; @@ -203,6 +204,12 @@ public: || labeltype == LABEL_CENTERED || labeltype == LABEL_BIBLIO; } + /// + bool addToToc() const { return add_to_toc_; } + /// + std::string tocType() const { return toc_type_; } + /// + bool isTocCaption() const { return is_toc_caption_; } /// bool operator==(Layout const &) const; @@ -459,8 +466,15 @@ private: LaTeXArgMap postcommandargs_; /// LaTeXArgMap itemargs_; + /// + bool add_to_toc_; + /// + std::string toc_type_; + /// + bool is_toc_caption_; }; + } // namespace lyx #endif