X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Finsets%2FInsetArgument.h;h=5c4701d8fcc471a1c75be6929bada882970f0bd0;hb=9c0281126e5b819a6c10afa1bb585b76cdc4dca2;hp=bff6056934e8ad2d1e23c217539ae0043cb4f5eb;hpb=e0f392e075e8e99732f4e2966700158185b5fb95;p=lyx.git diff --git a/src/insets/InsetArgument.h b/src/insets/InsetArgument.h index bff6056934..5c4701d8fc 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; } /// @@ -62,6 +63,10 @@ public: bool neverIndent() const { return true; } /// std::string contextMenuName() const; + /// + bool isPassThru() const { return pass_thru_; } + /// + bool resetFontEdit() const { return false; } //@} /// \name Public functions inherited from InsetCollapsable class //@{ @@ -72,6 +77,8 @@ public: /// FontInfo getLabelfont() const; /// + ColorCode labelColor() const; + /// void setButtonLabel(); //@} @@ -90,6 +97,10 @@ private: FontInfo labelfont_; /// std::string decoration_; + /// + bool pass_thru_; + /// + docstring pass_thru_chars_; protected: /// \name Protected functions inherited from Inset class