X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Finsets%2FInsetMarginal.h;h=237beeeef8550542e9f519de44d9a82d8c7491ed;hb=860accd01fb8115ec7c6ad80b054f1046e19c62f;hp=69b3bdec18f249ebde78e9c2b3661ee79e8abb80;hpb=1e51e87f680a7a903d1c24bccf26598459efec47;p=lyx.git diff --git a/src/insets/InsetMarginal.h b/src/insets/InsetMarginal.h index 69b3bdec18..237beeeef8 100644 --- a/src/insets/InsetMarginal.h +++ b/src/insets/InsetMarginal.h @@ -4,8 +4,8 @@ * This file is part of LyX, the document processor. * Licence details can be found in the file COPYING. * - * \author Jürgen Vigna - * \author Lars Gullik Bjønnes + * \author Jürgen Vigna + * \author Lars Gullik Bjønnes * * Full author contact details are available in file CREDITS. */ @@ -25,21 +25,19 @@ namespace lyx { class InsetMarginal : public InsetFootlike { public: /// - InsetMarginal(Buffer const &); + InsetMarginal(Buffer *); /// InsetCode lyxCode() const { return MARGIN_CODE; } /// - docstring name() const { return from_ascii("Marginal"); } + docstring layoutName() const { return from_ascii("Marginal"); } /// - int latex(odocstream &, OutputParams const &) const; - /// - int plaintext(odocstream &, OutputParams const & runparams) const; + int plaintext(odocstringstream & ods, OutputParams const & op, + size_t max_length = INT_MAX) const; /// int docbook(odocstream &, OutputParams const & runparams) const; /// - docstring editMessage() const; - /// - void addToToc(DocIterator const &); + void addToToc(DocIterator const & di, bool output_active, + UpdateType utype) const; private: /// Inset * clone() const { return new InsetMarginal(*this); }