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 lyx::docstring const getScreenLabel(Buffer const &) const;
29 EDITABLE editable() const { return IS_EDITABLE; }
31 InsetBase::Code lyxCode() const;
33 bool display() const { return true; }
35 void write(Buffer const &, std::ostream &) const;
37 void read(Buffer const &, LyXLex &);
39 int latex(Buffer const &, lyx::odocstream &,
40 OutputParams const &) const;
42 int docbook(Buffer const &, std::ostream &,
43 OutputParams const &) const { return 0; }
45 int plaintext(Buffer const &, lyx::odocstream &,
46 OutputParams const & runparams) const;
48 void validate(LaTeXFeatures & features) const;
50 virtual std::auto_ptr<InsetBase> doClone() const
52 return std::auto_ptr<InsetBase>(new InsetFloatList(getCmdName()));