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"
21 /** Used to insert table of contents
23 class InsetFloatList : public InsetCommand {
28 InsetFloatList(std::string const & type);
30 docstring const getScreenLabel(Buffer const &) const;
32 EDITABLE editable() const { return IS_EDITABLE; }
34 InsetBase::Code lyxCode() const;
36 bool display() const { return true; }
38 void write(Buffer const &, std::ostream &) const;
40 void read(Buffer const &, LyXLex &);
42 int latex(Buffer const &, odocstream &,
43 OutputParams const &) const;
45 int docbook(Buffer const &, odocstream &,
46 OutputParams const &) const { return 0; }
48 int plaintext(Buffer const &, odocstream &,
49 OutputParams const & runparams) const;
51 void validate(LaTeXFeatures & features) const;
53 virtual std::auto_ptr<InsetBase> doClone() const
55 return std::auto_ptr<InsetBase>(new InsetFloatList(getCmdName()));