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 &, bool same_id = false) 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;