///
void read(Lexer & lex);
///
- docstring const buttonLabel(BufferView const & bv) const;
+ docstring const buttonLabel(BufferView const &) const;
///
ColorCode backgroundColor(PainterInfo const &) const;
///
void latex(otexstream &, OutputParams const &) const;
///
- int plaintext(odocstream &, OutputParams const &) const;
+ int plaintext(odocstringstream & ods, OutputParams const & op,
+ size_t max_length = INT_MAX) const;
///
int docbook(odocstream &, OutputParams const &) const;
///
///
void toString(odocstream &) const;
///
- void forToc(docstring &, size_t) const;
+ void forOutliner(docstring &, size_t const, bool const) const;
///
void validate(LaTeXFeatures &) const;
///
std::string contextMenuName() const;
///
- void addToToc(DocIterator const &) const;
+ void addToToc(DocIterator const & di, bool output_active,
+ UpdateType utype) const;
///
InsetBranchParams const & params() const { return params_; }
///
void setParams(InsetBranchParams const & params) { params_ = params; }
/** \returns true if params_.branch is listed as 'selected' in
- \c buffer. This handles the case of child documents.
+ \c buffer. \p child only checks within child documents.
*/
- bool isBranchSelected() const;
+ bool isBranchSelected(bool const child = false) const;
/*!
* Is the content of this inset part of the output document?
*