2 /* This file is part of*
3 * ======================================================
5 * LyX, The Document Word Processor
7 * Copyright 1995 Matthias Ettrich
8 * Copyright 1996-2001 The LyX Team.
10 * ====================================================== */
12 #ifndef INSET_FLOATLIST_H
13 #define INSET_FLOATLIST_H
19 #include "insetbutton.h"
21 /** Used to insert table of contents
23 class InsetFloatList : public InsetButton {
28 InsetFloatList(string const & type)
31 Inset * Clone(Buffer const &) const {
32 return new InsetFloatList(*this);
35 string const getScreenLabel() const;
37 void Edit(BufferView * bv, int, int, unsigned int);
39 EDITABLE Editable() const { return IS_EDITABLE; }
41 bool display() const { return true; }
43 Inset::Code LyxCode() const;
45 void Write(Buffer const *, ostream &) const;
47 void Read(Buffer const *, LyXLex &);
49 int Latex(Buffer const *, ostream &, bool, bool) const;
51 int Linuxdoc(Buffer const *, ostream &) const { return 0; }
53 int DocBook(Buffer const *, ostream &) const { return 0; }
55 int Ascii(Buffer const *, std::ostream &, int linelen) const;