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);
29 Inset * clone(Buffer const &) const {
30 return new InsetFloatList(getCmdName());
33 //Inset * clone(Buffer const &, bool = false) const {
34 // return new InsetFloatList(getCmdName());
37 dispatch_result localDispatch(FuncRequest const & cmd);
39 string const getScreenLabel(Buffer const *) const;
41 EDITABLE editable() const { return IS_EDITABLE; }
43 bool display() const { return true; }
45 Inset::Code lyxCode() const;
47 void write(Buffer const *, std::ostream &) const;
49 void read(Buffer const *, LyXLex &);
51 int latex(Buffer const *, std::ostream &,
52 LatexRunParams const &) const;
54 int linuxdoc(Buffer const *, std::ostream &) const { return 0; }
56 int docbook(Buffer const *, std::ostream &, bool) const { return 0; }
58 int ascii(Buffer const *, std::ostream &, int linelen) const;
60 void validate(LaTeXFeatures & features) const;