* 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.
*/
class InsetMarginal : public InsetFootlike {
public:
///
- InsetMarginal(Buffer const &);
+ explicit InsetMarginal(Buffer *);
///
- InsetCode lyxCode() const { return MARGIN_CODE; }
+ InsetCode lyxCode() const override { return MARGIN_CODE; }
///
- docstring name() const { return from_ascii("Marginal"); }
+ docstring layoutName() const override { return from_ascii("Marginal"); }
///
- int latex(odocstream &, OutputParams const &) const;
+ int plaintext(odocstringstream & ods, OutputParams const & op,
+ size_t max_length = INT_MAX) const override;
///
- int plaintext(odocstream &, OutputParams const & runparams) const;
- ///
- int docbook(odocstream &, OutputParams const & runparams) const;
- ///
- docstring editMessage() const;
- ///
- void addToToc(DocIterator const &);
+ void docbook(XMLStream &, OutputParams const & runparams) const override;
+ /// Is the content of this inset part of the immediate (visible) text sequence?
+ bool isPartOfTextSequence() const override { return false; }
private:
///
- Inset * clone() const { return new InsetMarginal(*this); }
+ Inset * clone() const override { return new InsetMarginal(*this); }
};