X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Finsets%2FInsetArgument.h;h=0a5d00037966216410bbee395df294cf38798860;hb=860accd01fb8115ec7c6ad80b054f1046e19c62f;hp=1b5050db95e485ef1f052b69facce60d7e46f58b;hpb=53002538fa2f87ae732f9830f24bb819ed402a72;p=lyx.git diff --git a/src/insets/InsetArgument.h b/src/insets/InsetArgument.h index 1b5050db95..0a5d000379 100644 --- a/src/insets/InsetArgument.h +++ b/src/insets/InsetArgument.h @@ -30,8 +30,9 @@ public: InsetArgument(Buffer *, std::string const &); /// Outputting the parameter of a LaTeX command - void latexArgument(otexstream &, OutputParams 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_; } @@ -48,7 +49,7 @@ public: /// void latex(otexstream &, OutputParams const &) const { } /// - int plaintext(odocstream &, OutputParams const &) const { return 0; } + int plaintext(odocstringstream &, OutputParams const &, size_t) const { return 0; } /// int docbook(odocstream &, OutputParams const &) const { return 0; } /// @@ -64,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 //@{ @@ -74,6 +77,8 @@ public: /// FontInfo getLabelfont() const; /// + ColorCode labelColor() const; + /// void setButtonLabel(); //@} @@ -92,8 +97,14 @@ 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_; protected: /// \name Protected functions inherited from Inset class