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:
|
|
|
|
///
|
2000-04-08 17:02:02 +00:00
|
|
|
explicit
|
2000-03-08 13:52:57 +00:00
|
|
|
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);
|
2000-04-10 14:29:05 +00:00
|
|
|
///
|
|
|
|
bool InsertInsetAllowed(Inset * inset) const;
|
|
|
|
///
|
|
|
|
LyXFont GetDrawFont(LyXParagraph * par, int pos) const;
|
|
|
|
///
|
2000-03-08 13:52:57 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|