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 "insetcollapsable.h"
23 /** The marginal note inset
26 class InsetMarginal : public InsetCollapsable {
34 Inset * Clone() const;
36 Inset::Code LyxCode() const { return Inset::MARGIN_CODE; }
38 int Latex(Buffer const *, std::ostream &, bool fragile, bool fp) const;
40 const char * EditMessage() const;
42 bool InsertInset(BufferView *, Inset * inset);
44 bool InsertInsetAllowed(Inset * inset) const;
46 LyXFont GetDrawFont(BufferView *, LyXParagraph * par, int pos) const;