2 /* This file is part of
3 * ======================================================
5 * LyX, The Document Processor
7 * Copyright 1998 The LyX Team.
9 *======================================================
12 #ifndef INSETMARGINAL_H
13 #define INSETMARGINAL_H
19 #include "insetfootlike.h"
21 /** The marginal note inset
24 class InsetMarginal : public InsetFootlike {
27 InsetMarginal(BufferParams const &);
29 InsetMarginal(InsetMarginal const &, bool same_id = false);
31 Inset * clone(Buffer const &, bool same_id = false) const;
33 Inset::Code lyxCode() const { return Inset::MARGIN_CODE; }
35 int latex(Buffer const *, std::ostream &, bool fragile, bool fp) const;
37 string const editMessage() const;