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 {
29 Inset * Clone(Buffer const &) const;
31 Inset::Code LyxCode() const { return Inset::MARGIN_CODE; }
33 int Latex(Buffer const *, std::ostream &, bool fragile, bool fp) const;
35 string const EditMessage() const;
37 bool InsertInsetAllowed(Inset * inset) const;