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 {
26 InsetFloatList(Buffer *);
28 InsetFloatList(Buffer *, 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 docstring xhtml(XHTMLStream &, OutputParams const &) const;
48 void validate(LaTeXFeatures & features) const;
50 static ParamInfo const & findInfo(std::string const &);
52 static std::string defaultCommand() { return "listoftables"; }
54 static bool isCompatibleCommand(std::string const & s);
57 Inset * clone() const { return new InsetFloatList(*this); }
59 static ParamInfo param_info_;