]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetArgument.h
When selecting special logos, set their color correctly
[lyx.git] / src / insets / InsetArgument.h
index 274623ab3edb2460ff310f099e6c2bcd4c2a5945..0a5d00037966216410bbee395df294cf38798860 100644 (file)
@@ -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,10 +63,22 @@ 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
        //@{
        ///
+       InsetLayout::InsetDecoration decoration() const;
+       ///
+       FontInfo getFont() const;
+       ///
+       FontInfo getLabelfont() const;
+       ///
+       ColorCode labelColor() const;
+       ///
        void setButtonLabel();
        //@}
 
@@ -78,6 +91,20 @@ private:
        docstring labelstring_;
        ///
        docstring tooltip_;
+       ///
+       FontInfo font_;
+       ///
+       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