X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Finsets%2FInsetArgument.h;h=3e200e3b1c173bc1dfbecd74b7b35fe8364f42d3;hb=fd8b4aebb0ee6404a4532abb9934886b19edd108;hp=76b6f0143b9b83284db5ef8d46286c0f696f6f0a;hpb=15fe9fe7b4c9d34723f02539545d959137b3c5da;p=lyx.git diff --git a/src/insets/InsetArgument.h b/src/insets/InsetArgument.h index 76b6f0143b..3e200e3b1c 100644 --- a/src/insets/InsetArgument.h +++ b/src/insets/InsetArgument.h @@ -30,9 +30,9 @@ public: InsetArgument(Buffer *, std::string const &); /// Outputting the parameter of a LaTeX command - void latexArgument(otexstream &, OutputParams const &, - docstring const&, docstring const &, - docstring const &) const; + void latexArgument(otexstream & os, OutputParams const & runparams_in, + docstring const & ldelim, docstring const & rdelim, + docstring const & presetarg) const; std::string name() const { return name_; } @@ -65,6 +65,8 @@ public: std::string contextMenuName() const; /// bool isPassThru() const { return pass_thru_; } + /// + bool resetFontEdit() const { return false; } //@} /// \name Public functions inherited from InsetCollapsable class //@{ @@ -75,8 +77,13 @@ public: /// FontInfo getLabelfont() const; /// + ColorCode labelColor() const; + /// void setButtonLabel(); //@} + /// + void addToToc(DocIterator const & dit, bool output_active, + UpdateType utype, TocBackend & backend) const; //override private: /// @@ -93,8 +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 @@ -105,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; } //@} };