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
16 #include "insetcommand.h"
18 /** Used to insert table of contents
20 class InsetFloatList : public InsetCommand {
25 InsetFloatList(string const & type);
27 Inset * clone(Buffer const &, bool = false) const {
28 return new InsetFloatList(getCmdName());
31 string const getScreenLabel(Buffer const *) const;
33 void edit(BufferView * bv, int, int, mouse_button::state);
35 void edit(BufferView * bv, bool front = true);
37 EDITABLE editable() const { return IS_EDITABLE; }
39 bool display() const { return true; }
41 Inset::Code lyxCode() const;
43 void write(Buffer const *, std::ostream &) const;
45 void read(Buffer const *, LyXLex &);
47 int latex(Buffer const *, std::ostream &, bool, bool) const;
49 int linuxdoc(Buffer const *, std::ostream &) const { return 0; }
51 int docbook(Buffer const *, std::ostream &, bool) const { return 0; }
53 int ascii(Buffer const *, std::ostream &, int linelen) const;
55 void validate(LaTeXFeatures & features) const;