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-06-28 13:35:52 +00:00
|
|
|
///
|
2000-04-08 17:02:02 +00:00
|
|
|
explicit
|
2000-06-28 13:35:52 +00:00
|
|
|
InsetFoot();
|
|
|
|
///
|
|
|
|
~InsetFoot() {}
|
|
|
|
///
|
2000-06-28 14:55:57 +00:00
|
|
|
void Write(Buffer const * buf, std::ostream & os) const;
|
2000-06-28 13:35:52 +00:00
|
|
|
///
|
|
|
|
Inset * Clone() const;
|
|
|
|
///
|
|
|
|
Inset::Code LyxCode() const { return Inset::FOOT_CODE; }
|
|
|
|
///
|
|
|
|
int Latex(Buffer const *, std::ostream &, bool fragile, bool fp) const;
|
|
|
|
///
|
|
|
|
const char * EditMessage() const;
|
|
|
|
///
|
|
|
|
bool InsertInset(BufferView *, Inset * inset);
|
|
|
|
///
|
|
|
|
bool InsertInsetAllowed(Inset * inset) const;
|
|
|
|
///
|
2000-07-04 11:30:07 +00:00
|
|
|
// LyXFont GetDrawFont(BufferView *, LyXParagraph * par, int pos) const;
|
2000-03-08 13:52:57 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|