mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-11 05:33:33 +00:00
e97f3d1b31
text-insets (look at the ChangeLog Entries) git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@643 a592a061-630c-0410-9148-cb99ea01b6c8
57 lines
1.0 KiB
C++
57 lines
1.0 KiB
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 &, signed char, bool fp) const;
|
|
///
|
|
void Write(std::ostream &) const;
|
|
///
|
|
void Read(LyXLex &);
|
|
///
|
|
const char * EditMessage() const;
|
|
///
|
|
bool InsertInset(BufferView *, Inset * inset);
|
|
///
|
|
bool InsertInsetAllowed(Inset * inset) const;
|
|
///
|
|
LyXFont GetDrawFont(LyXParagraph * par, int pos) const;
|
|
///
|
|
};
|
|
|
|
#endif
|