// -*- C++ -*-
/* This file is part of
* ======================================================
- *
+ *
* LyX, The Document Processor
*
* Copyright 1998 The LyX Team.
#pragma interface
#endif
-#include "insetcollapsable.h"
-
-class Painter;
+#include "LaTeXFeatures.h"
+#include "insetfootlike.h"
/** The footnote inset
-
+
*/
-class InsetFoot : public InsetCollapsable {
+class InsetFoot : public InsetFootlike {
public:
///
- explicit
- InsetFoot();
- ///
- ~InsetFoot() {}
- ///
- void Write(Buffer const * buf, std::ostream & os) const;
- ///
- Inset * Clone() const;
+ InsetFoot(BufferParams const &);
///
- Inset::Code LyxCode() const { return Inset::FOOT_CODE; }
+ InsetFoot(InsetFoot const &, bool same_id = false);
///
- int Latex(Buffer const *, std::ostream &, bool fragile, bool fp) const;
+ Inset * clone(Buffer const &, bool same_id = false) const;
///
- const char * EditMessage() const;
+ Inset::Code lyxCode() const { return Inset::FOOT_CODE; }
///
- bool InsertInset(BufferView *, Inset * inset);
+ int latex(Buffer const *, std::ostream &, bool fragile, bool fp) const;
///
- bool InsertInsetAllowed(Inset * inset) const;
+ int docbook(Buffer const *, std::ostream &) const;
///
- LyXFont GetDrawFont(BufferView *, LyXParagraph * par, int pos) const;
+ string const editMessage() const;
};
#endif