// -*- C++ -*-
/* This file is part of
* ======================================================
- *
+ *
* LyX, The Document Processor
*
- * Copyright (C) 1998 The LyX Team.
+ * 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:
- ///
- InsetFoot(Buffer *);
- ///
- ~InsetFoot() {}
- ///
- InsetFoot * InsetFoot::Clone() const;
- ///
- Inset::Code LyxCode() const { return Inset::FOOT_CODE; }
-#ifndef USE_OSTREAM_ONLY
- ///
- int Latex(string &, signed char) const;
-#endif
- ///
- int Latex(ostream &, signed char) const;
- ///
- void Write(ostream &) const;
- ///
- void Read(LyXLex &);
- ///
- const char * EditMessage() const;
- ///
- bool InsertInset(BufferView *, Inset * inset);
+ ///
+ InsetFoot(BufferParams const &);
+ ///
+ InsetFoot(InsetFoot const &, bool same_id = false);
+ ///
+ Inset * clone(Buffer const &, bool same_id = false) const;
+ ///
+ Inset::Code lyxCode() const { return Inset::FOOT_CODE; }
+ ///
+ int latex(Buffer const *, std::ostream &, bool fragile, bool fp) const;
+ ///
+ string const editMessage() const;
};
#endif