3 * \file insetfloatlist.h
4 * This file is part of LyX, the document processor.
5 * Licence details can be found in the file COPYING.
7 * \author Lars Gullik Bjønnes
9 * Full author contact details are available in file CREDITS
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, mouse_button::state);
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 &, bool) const { return 0; }
56 int ascii(Buffer const *, std::ostream &, int linelen) const;
58 void validate(LaTeXFeatures & features) const;