// -*- C++ -*-
-/* This file is part of
- * ======================================================
- *
- * LyX, The Document Processor
+/**
+ * \file insetfoot.h
+ * This file is part of LyX, the document processor.
+ * Licence details can be found in the file COPYING.
*
- * Copyright 1998 The LyX Team.
+ * \author Jürgen Vigna
+ * \author Lars Gullik Bjønnes
*
- *======================================================
+ * Full author contact details are available in file CREDITS.
*/
-// The pristine updatable inset: Text
-
#ifndef INSETFOOT_H
#define INSETFOOT_H
-#ifdef __GNUG__
-#pragma interface
-#endif
-
#include "insetfootlike.h"
+
+namespace lyx {
+
/** The footnote inset
-
+
*/
class InsetFoot : public InsetFootlike {
public:
///
- InsetFoot();
+ InsetFoot(BufferParams const &);
///
- Inset * Clone() const;
+ InsetBase::Code lyxCode() const { return InsetBase::FOOT_CODE; }
///
- Inset::Code LyxCode() const { return Inset::FOOT_CODE; }
+ int latex(Buffer const &, odocstream &,
+ OutputParams const &) const;
///
- int Latex(Buffer const *, std::ostream &, bool fragile, bool fp) const;
+ int docbook(Buffer const &, odocstream &,
+ OutputParams const & runparams) const;
///
- const char * EditMessage() const;
- ///
- bool InsertInsetAllowed(Inset * inset) const;
- ///
- //LyXFont GetDrawFont(BufferView *, LyXParagraph * par, int pos) const;
+ virtual docstring const editMessage() const;
+protected:
+ InsetFoot(InsetFoot const &);
+private:
+ virtual std::auto_ptr<InsetBase> doClone() const;
};
-#endif
-
+} // namespace lyx
+#endif