mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-11 13:46:43 +00:00
0124d8d292
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1986 a592a061-630c-0410-9148-cb99ea01b6c8
61 lines
1.3 KiB
C++
61 lines
1.3 KiB
C++
// -*- C++ -*-
|
|
/* This file is part of*
|
|
* ======================================================
|
|
*
|
|
* LyX, The Document Word Processor
|
|
*
|
|
* Copyright 1995 Matthias Ettrich
|
|
* Copyright 1996-2001 The LyX Team.
|
|
*
|
|
* ====================================================== */
|
|
|
|
#ifndef INSET_FLOATLIST_H
|
|
#define INSET_FLOATLIST_H
|
|
|
|
#ifdef __GNUG__
|
|
#pragma interface
|
|
#endif
|
|
|
|
#include "insetbutton.h"
|
|
|
|
/** Used to insert table of contents
|
|
*/
|
|
class InsetFloatList : public InsetButton {
|
|
public:
|
|
///
|
|
InsetFloatList() {}
|
|
///
|
|
InsetFloatList(string const & type)
|
|
: float_type(type) {}
|
|
///
|
|
Inset * Clone(Buffer const &) const {
|
|
return new InsetFloatList(*this);
|
|
}
|
|
///
|
|
string const getScreenLabel() const;
|
|
///
|
|
void Edit(BufferView * bv, int, int, unsigned int);
|
|
///
|
|
EDITABLE Editable() const { return IS_EDITABLE; }
|
|
///
|
|
bool display() const { return true; }
|
|
///
|
|
Inset::Code LyxCode() const;
|
|
///
|
|
void Write(Buffer const *, std::ostream &) const;
|
|
///
|
|
void Read(Buffer const *, LyXLex &);
|
|
///
|
|
int Latex(Buffer const *, std::ostream &, bool, bool) const;
|
|
///
|
|
int Linuxdoc(Buffer const *, std::ostream &) const { return 0; }
|
|
///
|
|
int DocBook(Buffer const *, std::ostream &) const { return 0; }
|
|
///
|
|
int Ascii(Buffer const *, std::ostream &, int linelen) const;
|
|
private:
|
|
string float_type;
|
|
};
|
|
|
|
#endif
|