X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Finsets%2FInsetMarginal.h;h=008a3dd039fae9c64a622ca8eb879edd15d2a181;hb=c1e10c71850adf8e5a19160e24e32c696aaf01a6;hp=2c395d601db4ea6053ba8b1e505b33da24869f6a;hpb=9ad1a3af4fa52bec8b361fbdc2f1db97720a8cc9;p=lyx.git diff --git a/src/insets/InsetMarginal.h b/src/insets/InsetMarginal.h index 2c395d601d..008a3dd039 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,23 +25,18 @@ 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(ParConstIterator const &) const; - /// - docstring toolTip(BufferView const & bv, int x, int y) 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); }