2 /* This file is part of
3 * ======================================================
5 * LyX, The Document Processor
7 * Copyright 1998 The LyX Team.
9 *======================================================
12 #ifndef InsetMinipage_H
13 #define InsetMinipage_H
19 #include "insetcollapsable.h"
23 /** The footnote inset
26 class InsetMinipage : public InsetCollapsable {
34 void Write(Buffer const * buf, std::ostream & os) const;
36 Inset * Clone() const;
38 Inset::Code LyxCode() const { return Inset::MINIPAGE_CODE; }
40 int Latex(Buffer const *, std::ostream &, bool fragile, bool fp) const;
42 const char * EditMessage() const;
44 bool InsertInset(BufferView *, Inset * inset);
46 bool InsertInsetAllowed(Inset * inset) const;
48 // LyXFont GetDrawFont(BufferView *, LyXParagraph * par, int pos) const;