mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-09-22 16:04:07 +00:00
52 lines
975 B
C
52 lines
975 B
C
|
// -*- C++ -*-
|
||
|
/* This file is part of
|
||
|
* ======================================================
|
||
|
*
|
||
|
* LyX, The Document Processor
|
||
|
*
|
||
|
* Copyright 1998 The LyX Team.
|
||
|
*
|
||
|
* ======================================================
|
||
|
*/
|
||
|
|
||
|
#ifndef InsetList_H
|
||
|
#define InsetList_H
|
||
|
|
||
|
#ifdef __GNUG__
|
||
|
#pragma interface
|
||
|
#endif
|
||
|
|
||
|
#include "insetcollapsable.h"
|
||
|
|
||
|
class Painter;
|
||
|
|
||
|
/** The footnote inset
|
||
|
|
||
|
*/
|
||
|
class InsetList : public InsetCollapsable {
|
||
|
public:
|
||
|
///
|
||
|
explicit
|
||
|
InsetList();
|
||
|
///
|
||
|
~InsetList() {}
|
||
|
///
|
||
|
void Write(Buffer const * buf, 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
|