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"
19 /** The marginal note inset
22 class InsetMarginal : public InsetFootlike {
25 InsetMarginal(BufferParams const &);
27 InsetBase::Code lyxCode() const { return InsetBase::MARGIN_CODE; }
29 int latex(Buffer const &, lyx::odocstream &,
30 OutputParams const &) const;
32 int docbook(Buffer const &, lyx::odocstream &,
33 OutputParams const & runparams) const;
35 virtual lyx::docstring const editMessage() const;
37 InsetMarginal(InsetMarginal const &);
39 virtual std::auto_ptr<InsetBase> doClone() const;