X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Finsets%2FInsetBranch.h;h=c51c728e4f1610a4ce2a070a2cd11087f6240e78;hb=bfddee97e191a853f0576f4fab3f095c4e9ce0de;hp=4100a631ccd6261180113112280f8687f0829f1d;hpb=4db2685cbe065c1ee3166761adde4beef01a0765;p=lyx.git diff --git a/src/insets/InsetBranch.h b/src/insets/InsetBranch.h index 4100a631cc..c51c728e4f 100644 --- a/src/insets/InsetBranch.h +++ b/src/insets/InsetBranch.h @@ -65,7 +65,7 @@ private: /// ColorCode backgroundColor(PainterInfo const &) const; /// - int latex(odocstream &, OutputParams const &) const; + void latex(otexstream &, OutputParams const &) const; /// int plaintext(odocstream &, OutputParams const &) const; /// @@ -73,13 +73,15 @@ private: /// docstring xhtml(XHTMLStream &, OutputParams const &) const; /// - void tocString(odocstream &) const; + void toString(odocstream &) const; + /// + void forToc(docstring &, size_t) const; /// void validate(LaTeXFeatures &) const; /// - docstring contextMenu(BufferView const &, int, int) const; + docstring contextMenuName() const; /// - void addToToc(DocIterator const &); + void addToToc(DocIterator const &) const; /// InsetBranchParams const & params() const { return params_; } /// @@ -107,7 +109,7 @@ private: /// void doDispatch(Cursor & cur, FuncRequest & cmd); /// - docstring name() const { return from_ascii("Branch"); } + docstring layoutName() const { return from_ascii("Branch"); } /// Inset * clone() const { return new InsetBranch(*this); }