///
InsetArgument(Buffer *, std::string const &);
+ ///
+ InsetArgument const * asInsetArgument() const { return this; }
+
/// 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_; }
///
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; }
///
- docstring xhtml(XHTMLStream &, OutputParams const &) const
+ docstring xhtml(XHTMLStream &, OutputParams const &) const
{ return docstring(); }
///
void write(std::ostream & os) const;
std::string contextMenuName() const;
///
bool isPassThru() const { return pass_thru_; }
+ ///
+ bool resetFontEdit() const { return false; }
//@}
/// \name Public functions inherited from InsetCollapsable class
//@{
///
FontInfo getLabelfont() const;
///
+ ColorCode labelColor() const;
+ ///
void setButtonLabel();
//@}
+ ///
+ void addToToc(DocIterator const & dit, bool output_active,
+ UpdateType utype, TocBackend & backend) const; //override
private:
///
docstring toolTip(BufferView const & bv, int, int) const;
///
+ void fixParagraphLanguage(Language const *);
+ ///
std::string name_;
///
docstring labelstring_;
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
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; }
//@}
};