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 "insetcommand.h"
21 /** Used to insert table of contents
23 class InsetFloatList : public InsetCommand {
28 InsetFloatList(string const & type);
30 Inset * clone(Buffer const &, bool = false) const {
31 return new InsetFloatList(getCmdName());
34 string const getScreenLabel(Buffer const *) const;
36 void edit(BufferView * bv, int, int, unsigned int);
38 void edit(BufferView * bv, bool front = true);
40 EDITABLE editable() const { return IS_EDITABLE; }
42 bool display() const { return true; }
44 Inset::Code lyxCode() const;
46 void write(Buffer const *, std::ostream &) const;
48 void read(Buffer const *, LyXLex &);
50 int latex(Buffer const *, std::ostream &, bool, bool) const;
52 int linuxdoc(Buffer const *, std::ostream &) const { return 0; }
54 int docbook(Buffer const *, std::ostream &) const { return 0; }
56 int ascii(Buffer const *, std::ostream &, int linelen) const;