X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Finsets%2FInsetArgument.h;h=5c63702262595a3295bd2b67104efd847386bbce;hb=62af7ee772f16f154225d2d0b65d77f4376b6001;hp=86de5b1ca115ca5173fcc5e331920d1bfe4792b2;hpb=a7b017fd2f1fcc307fa7fc59f0bd47a8160989e4;p=lyx.git diff --git a/src/insets/InsetArgument.h b/src/insets/InsetArgument.h index 86de5b1ca1..5c63702262 100644 --- a/src/insets/InsetArgument.h +++ b/src/insets/InsetArgument.h @@ -13,7 +13,7 @@ #define INSETARGUMENT_H -#include "InsetCollapsable.h" +#include "InsetCollapsible.h" namespace lyx { @@ -23,7 +23,7 @@ namespace lyx { * InsetArgument. Used to insert a short version of sectioning header etc. * automatically, or other optional LaTeX arguments */ -class InsetArgument : public InsetCollapsable +class InsetArgument : public InsetCollapsible { public: /// @@ -69,9 +69,13 @@ public: /// bool isPassThru() const { return pass_thru_; } /// + bool isFreeSpacing() const { return free_spacing_; } + /// + bool isTocCaption() const { return is_toc_caption_; } + /// bool resetFontEdit() const { return false; } //@} - /// \name Public functions inherited from InsetCollapsable class + /// \name Public functions inherited from InsetCollapsible class //@{ /// InsetLayout::InsetDecoration decoration() const; @@ -112,9 +116,15 @@ private: /// Effective pass-thru setting (inherited or local) bool pass_thru_; /// + bool free_spacing_; + /// docstring pass_thru_chars_; + /// Does this argument provide content for the TOC? + bool is_toc_caption_; /// The type of Toc this is the caption of, empty otherwise. std::string caption_of_toc_; + /// Specific line break macro + std::string newline_cmd_; protected: /// \name Protected functions inherited from Inset class