* \author Jürgen Vigna
* \author Lars Gullik Bjønnes
*
- * Full author contact details are available in file CREDITS
+ * Full author contact details are available in file CREDITS.
*/
#ifndef INSETFOOT_H
#define INSETFOOT_H
-
-#include "LaTeXFeatures.h"
#include "insetfootlike.h"
+
+namespace lyx {
+
/** The footnote inset
*/
///
InsetFoot(BufferParams const &);
///
- InsetFoot(InsetFoot const &, bool same_id = false);
- ///
- Inset * clone(Buffer const &, bool same_id = false) 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 &, LatexRunParams const &,
- bool fp) const;
+ int docbook(Buffer const &, odocstream &,
+ OutputParams const & runparams) const;
///
- int docbook(Buffer const *, std::ostream &, bool mixcont) const;
- ///
- string const editMessage() const;
+ virtual docstring const editMessage() const;
+protected:
+ InsetFoot(InsetFoot const &);
+private:
+ virtual std::auto_ptr<InsetBase> doClone() const;
};
+
+} // namespace lyx
+
#endif