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(std::string const & type);
27 virtual std::auto_ptr<InsetBase> clone() const {
28 return std::auto_ptr<InsetBase>(new InsetFloatList(getCmdName()));
31 std::string const getScreenLabel(Buffer const &) const;
33 EDITABLE editable() const { return IS_EDITABLE; }
35 InsetOld::Code lyxCode() const;
37 bool display() const { return true; }
39 void write(Buffer const &, std::ostream &) const;
41 void read(Buffer const &, LyXLex &);
43 int latex(Buffer const &, std::ostream &,
44 OutputParams const &) const;
46 int linuxdoc(Buffer const &, std::ostream &,
47 OutputParams const &) const { return 0; }
49 int docbook(Buffer const &, std::ostream &,
50 OutputParams const &) const { return 0; }
52 int plaintext(Buffer const &, std::ostream &,
53 OutputParams const & runparams) const;
55 void validate(LaTeXFeatures & features) const;