X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Finsets%2FInsetMarginal.h;h=db0f6db0239d15cdf9543f29088a916dc77a1563;hb=c0adb03a7ae15cf6409ee3cb64f4cc91c24c052e;hp=1899cf8d726683a4a2f7f4df39f85922ed2fec3e;hpb=fa568e12f0e0ff116103e378b120023ceb4c6a8f;p=lyx.git diff --git a/src/insets/InsetMarginal.h b/src/insets/InsetMarginal.h index 1899cf8d72..db0f6db023 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,18 @@ namespace lyx { class InsetMarginal : public InsetFootlike { public: /// - InsetMarginal(Buffer const &); + explicit 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(ParConstIterator const &) const; + /// Is the content of this inset part of the immediate (visible) text sequence? + bool isPartOfTextSequence() const { return false; } private: /// Inset * clone() const { return new InsetMarginal(*this); }