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 screenLabel() const;
32 InsetCode lyxCode() const { return FLOAT_LIST_CODE; }
34 DisplayType display() const { return AlignCenter; }
36 void write(std::ostream &) const;
40 int latex(odocstream &, OutputParams const &) const;
42 int docbook(odocstream &, OutputParams const &) const { return 0; }
44 int plaintext(odocstream &, OutputParams const & runparams) const;
46 void validate(LaTeXFeatures & features) const;
48 static ParamInfo const & findInfo(std::string const &);
50 static std::string defaultCommand() { return "listoftables"; };
52 static bool isCompatibleCommand(std::string const & s);
55 Inset * clone() const { return new InsetFloatList(*this); }
57 static ParamInfo param_info_;