2000-03-08 13:52:57 +00:00
|
|
|
// -*- C++ -*-
|
|
|
|
/* This file is part of
|
|
|
|
* ======================================================
|
|
|
|
*
|
|
|
|
* LyX, The Document Processor
|
|
|
|
*
|
2000-03-09 03:36:48 +00:00
|
|
|
* Copyright 1998 The LyX Team.
|
2000-03-08 13:52:57 +00:00
|
|
|
*
|
|
|
|
*======================================================
|
|
|
|
*/
|
|
|
|
// The pristine updatable inset: Text
|
|
|
|
|
|
|
|
|
|
|
|
#ifndef INSETFOOT_H
|
|
|
|
#define INSETFOOT_H
|
|
|
|
|
|
|
|
#ifdef __GNUG__
|
|
|
|
#pragma interface
|
|
|
|
#endif
|
|
|
|
|
2001-07-28 12:24:16 +00:00
|
|
|
#include "LaTeXFeatures.h"
|
2000-07-04 19:16:35 +00:00
|
|
|
#include "insetfootlike.h"
|
2000-03-08 13:52:57 +00:00
|
|
|
|
|
|
|
/** The footnote inset
|
|
|
|
|
|
|
|
*/
|
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
|
|
|
///
|
|
|
|
InsetFoot();
|
|
|
|
///
|
2001-07-27 12:03:36 +00:00
|
|
|
InsetFoot(InsetFoot const &, bool same_id = false);
|
|
|
|
///
|
|
|
|
Inset * clone(Buffer const &, bool same_id = false) const;
|
|
|
|
///
|
2001-06-28 10:25:20 +00:00
|
|
|
Inset::Code lyxCode() const { return Inset::FOOT_CODE; }
|
2000-06-28 13:35:52 +00:00
|
|
|
///
|
2001-06-28 10:25:20 +00:00
|
|
|
int latex(Buffer const *, std::ostream &, bool fragile, bool fp) const;
|
2000-06-28 13:35:52 +00:00
|
|
|
///
|
2001-06-28 10:25:20 +00:00
|
|
|
string const editMessage() const;
|
2001-07-28 12:24:16 +00:00
|
|
|
///
|
|
|
|
void InsetFoot::validate(LaTeXFeatures & features) const;
|
2000-03-08 13:52:57 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|
2000-07-04 19:16:35 +00:00
|
|
|
|
|
|
|
|
|
|
|
|