lyx_mirror/src/insets/insetfoot.h

54 lines
1020 B
C
Raw Normal View History

// -*- C++ -*-
/* This file is part of
* ======================================================
*
* LyX, The Document Processor
*
* Copyright 1998 The LyX Team.
*
*======================================================
*/
// 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:
///
explicit
InsetFoot();
///
~InsetFoot() {}
///
void Write(Buffer const * buf, std::ostream & os) const;
///
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;
///
// LyXFont GetDrawFont(BufferView *, LyXParagraph * par, int pos) const;
};
#endif