2000-03-08 13:52:57 +00:00
|
|
|
|
// -*- C++ -*-
|
2002-09-25 14:26:13 +00:00
|
|
|
|
/**
|
2007-04-25 01:24:38 +00:00
|
|
|
|
* \file InsetFoot.h
|
2002-09-25 14:26:13 +00:00
|
|
|
|
* This file is part of LyX, the document processor.
|
|
|
|
|
* Licence details can be found in the file COPYING.
|
2002-03-21 17:09:55 +00:00
|
|
|
|
*
|
2002-09-25 14:26:13 +00:00
|
|
|
|
* \author J<EFBFBD>rgen Vigna
|
|
|
|
|
* \author Lars Gullik Bj<EFBFBD>nnes
|
2000-03-08 13:52:57 +00:00
|
|
|
|
*
|
2003-08-23 00:17:00 +00:00
|
|
|
|
* Full author contact details are available in file CREDITS.
|
2000-03-08 13:52:57 +00:00
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
#ifndef INSETFOOT_H
|
|
|
|
|
#define INSETFOOT_H
|
|
|
|
|
|
2007-04-25 01:24:38 +00:00
|
|
|
|
#include "InsetFootlike.h"
|
2000-03-08 13:52:57 +00:00
|
|
|
|
|
2006-10-21 00:16:43 +00:00
|
|
|
|
|
|
|
|
|
namespace lyx {
|
|
|
|
|
|
2000-03-08 13:52:57 +00:00
|
|
|
|
/** The footnote inset
|
2002-03-21 17:09:55 +00:00
|
|
|
|
|
2000-03-08 13:52:57 +00:00
|
|
|
|
*/
|
2000-07-04 19:16:35 +00:00
|
|
|
|
class InsetFoot : public InsetFootlike {
|
2000-03-08 13:52:57 +00:00
|
|
|
|
public:
|
2000-06-28 13:35:52 +00:00
|
|
|
|
///
|
2002-03-03 20:25:07 +00:00
|
|
|
|
InsetFoot(BufferParams const &);
|
2000-06-28 13:35:52 +00:00
|
|
|
|
///
|
2007-10-13 09:04:52 +00:00
|
|
|
|
InsetCode lyxCode() const { return FOOT_CODE; }
|
2000-06-28 13:35:52 +00:00
|
|
|
|
///
|
2007-04-30 14:39:09 +00:00
|
|
|
|
docstring name() const { return from_ascii("Foot"); }
|
2007-04-29 12:32:14 +00:00
|
|
|
|
///
|
2006-10-21 00:16:43 +00:00
|
|
|
|
int latex(Buffer const &, odocstream &,
|
2007-05-28 22:27:45 +00:00
|
|
|
|
OutputParams const &) const;
|
2000-06-28 13:35:52 +00:00
|
|
|
|
///
|
2007-02-15 16:07:36 +00:00
|
|
|
|
int plaintext(Buffer const &, odocstream &,
|
2007-05-28 22:27:45 +00:00
|
|
|
|
OutputParams const &) const;
|
2007-02-15 16:07:36 +00:00
|
|
|
|
///
|
2006-10-21 00:16:43 +00:00
|
|
|
|
int docbook(Buffer const &, odocstream &,
|
2007-05-28 22:27:45 +00:00
|
|
|
|
OutputParams const &) const;
|
2002-04-03 17:44:05 +00:00
|
|
|
|
///
|
2006-10-21 00:16:43 +00:00
|
|
|
|
virtual docstring const editMessage() const;
|
2007-08-13 20:29:33 +00:00
|
|
|
|
/// Update the counters of this inset and of its contents
|
|
|
|
|
void updateLabels(Buffer const &, ParIterator const &);
|
|
|
|
|
|
2004-11-23 23:04:52 +00:00
|
|
|
|
protected:
|
|
|
|
|
InsetFoot(InsetFoot const &);
|
|
|
|
|
private:
|
2007-08-30 18:03:17 +00:00
|
|
|
|
virtual Inset * clone() const;
|
2000-03-08 13:52:57 +00:00
|
|
|
|
};
|
|
|
|
|
|
2006-10-21 00:16:43 +00:00
|
|
|
|
|
|
|
|
|
} // namespace lyx
|
|
|
|
|
|
2000-03-08 13:52:57 +00:00
|
|
|
|
#endif
|