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 const &);
30 InsetCode lyxCode() const { return MARGIN_CODE; }
32 docstring name() const { return from_ascii("Marginal"); }
34 int latex(odocstream &, OutputParams const &) const;
36 int plaintext(odocstream &, OutputParams const & runparams) const;
38 int docbook(odocstream &, OutputParams const & runparams) const;
40 docstring editMessage() const;
42 void addToToc(DocIterator const &);
45 Inset * clone() const { return new InsetMarginal(*this); }