mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-12 14:05:59 +00:00
33868acd2c
inset which should work now quite stable (well better as before anyway ;) There have been especially problems with insets inside insets for which LyX was not prepared, so if you only tried the ERT-inset all should have worked great also before. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@681 a592a061-630c-0410-9148-cb99ea01b6c8
53 lines
995 B
C++
53 lines
995 B
C++
// -*- 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(Buffer *);
|
|
///
|
|
~InsetFoot() {}
|
|
///
|
|
Inset * Clone() const;
|
|
///
|
|
Inset::Code LyxCode() const { return Inset::FOOT_CODE; }
|
|
///
|
|
int Latex(std::ostream &, bool fragile, bool fp) const;
|
|
///
|
|
const char * EditMessage() const;
|
|
///
|
|
bool InsertInset(BufferView *, Inset * inset);
|
|
///
|
|
bool InsertInsetAllowed(Inset * inset) const;
|
|
///
|
|
LyXFont GetDrawFont(LyXParagraph * par, int pos) const;
|
|
///
|
|
};
|
|
|
|
#endif
|