3 * \file InsetMarginal.h
4 * This file is part of LyX, the document processor.
5 * Licence details can be found in the file COPYING.
8 * \author Lars Gullik Bjønnes
10 * Full author contact details are available in file CREDITS.
13 #ifndef INSETMARGINAL_H
14 #define INSETMARGINAL_H
17 #include "InsetFootlike.h"
22 /** The marginal note inset
25 class InsetMarginal : public InsetFootlike {
28 InsetMarginal(Buffer *);
30 InsetCode lyxCode() const { return MARGIN_CODE; }
32 docstring layoutName() const { return from_ascii("Marginal"); }
34 int plaintext(odocstream &, OutputParams const & runparams) const;
36 int docbook(odocstream &, OutputParams const & runparams) const;
38 void addToToc(DocIterator const &) const;
41 Inset * clone() const { return new InsetMarginal(*this); }