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
|
|
|
|
|
|
|
|
#include "insetcollapsable.h"
|
|
|
|
|
|
|
|
class Painter;
|
|
|
|
|
|
|
|
/** The footnote inset
|
|
|
|
|
|
|
|
*/
|
|
|
|
class InsetFoot : public InsetCollapsable {
|
|
|
|
public:
|
|
|
|
///
|
|
|
|
InsetFoot(Buffer *);
|
|
|
|
///
|
|
|
|
~InsetFoot() {}
|
|
|
|
///
|
2000-03-09 16:13:43 +00:00
|
|
|
Inset * Clone() const;
|
2000-03-08 13:52:57 +00:00
|
|
|
///
|
|
|
|
Inset::Code LyxCode() const { return Inset::FOOT_CODE; }
|
|
|
|
///
|
2000-04-04 00:19:15 +00:00
|
|
|
int Latex(std::ostream &, signed char, bool fp) const;
|
2000-03-08 13:52:57 +00:00
|
|
|
///
|
2000-04-04 00:19:15 +00:00
|
|
|
void Write(std::ostream &) const;
|
2000-03-08 13:52:57 +00:00
|
|
|
///
|
|
|
|
void Read(LyXLex &);
|
|
|
|
///
|
|
|
|
const char * EditMessage() const;
|
|
|
|
///
|
|
|
|
bool InsertInset(BufferView *, Inset * inset);
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|