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(BufferParams const &);
30 InsetBase::Code lyxCode() const { return InsetBase::MARGIN_CODE; }
32 int latex(Buffer const &, odocstream &,
33 OutputParams const &) const;
35 int plaintext(Buffer const &, odocstream &,
36 OutputParams const & runparams) const;
38 int docbook(Buffer const &, odocstream &,
39 OutputParams const & runparams) const;
41 virtual docstring const editMessage() const;
43 InsetMarginal(InsetMarginal const &);
45 virtual std::auto_ptr<InsetBase> doClone() const;