2 /* This file is part of
3 * ======================================================
5 * LyX, The Document Processor
7 * Copyright 1998 The LyX Team.
9 *======================================================
11 // The pristine updatable inset: Text
21 #include "insetcollapsable.h"
25 /** The footnote inset
28 class InsetFoot : public InsetCollapsable {
36 void Write(Buffer const * buf, std::ostream & os) const;
38 Inset * Clone() const;
40 Inset::Code LyxCode() const { return Inset::FOOT_CODE; }
42 int Latex(Buffer const *, std::ostream &, bool fragile, bool fp) const;
44 const char * EditMessage() const;
46 bool InsertInset(BufferView *, Inset * inset);
48 bool InsertInsetAllowed(Inset * inset) const;
50 LyXFont GetDrawFont(BufferView *, LyXParagraph * par, int pos) const;