X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Finsets%2FInsetArgument.h;h=3e200e3b1c173bc1dfbecd74b7b35fe8364f42d3;hb=3391fed36a574fb729f243888258d1b6d45b0251;hp=5c4701d8fcc471a1c75be6929bada882970f0bd0;hpb=6edbc1da66ed5116f6062c854c8c5a18a40f2bf4;p=features.git diff --git a/src/insets/InsetArgument.h b/src/insets/InsetArgument.h index 5c4701d8fc..3e200e3b1c 100644 --- a/src/insets/InsetArgument.h +++ b/src/insets/InsetArgument.h @@ -81,6 +81,9 @@ public: /// void setButtonLabel(); //@} + /// + void addToToc(DocIterator const & dit, bool output_active, + UpdateType utype, TocBackend & backend) const; //override private: /// @@ -97,10 +100,16 @@ private: FontInfo labelfont_; /// std::string decoration_; - /// + /// Are we in a pass-thru context? + bool pass_thru_context_; + /// Is the argument itself have an explicitly pass-thru? + bool pass_thru_local_; + /// Effective pass-thru setting (inherited or local) bool pass_thru_; /// docstring pass_thru_chars_; + /// The type of Toc this is the caption of, empty otherwise. + std::string caption_of_toc_; protected: /// \name Protected functions inherited from Inset class @@ -111,6 +120,8 @@ protected: void doDispatch(Cursor & cur, FuncRequest & cmd); /// Inset * clone() const { return new InsetArgument(*this); } + /// Is the content of this inset part of the immediate (visible) text sequence? + bool isPartOfTextSequence() const { return false; } //@} };