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 /// \name Public functions inherited from Inset class
33 InsetCode lyxCode() const { return FLOAT_LIST_CODE; }
35 DisplayType display() const { return AlignCenter; }
37 void write(std::ostream &) const;
41 int latex(odocstream &, OutputParams const &) const;
43 int docbook(odocstream &, OutputParams const &) const { return 0; }
45 int plaintext(odocstream &, OutputParams const & runparams) const;
47 docstring xhtml(XHTMLStream &, OutputParams const &) const;
49 void validate(LaTeXFeatures & features) const;
52 /// \name Static public methods obligated for InsetCommand derived classes
55 static ParamInfo const & findInfo(std::string const &);
57 static std::string defaultCommand() { return "listoftables"; }
59 static bool isCompatibleCommand(std::string const & s);
63 /// \name Private functions inherited from Inset class
66 Inset * clone() const { return new InsetFloatList(*this); }
69 /// \name Private functions inherited from InsetCommand class
72 docstring screenLabel() const;
76 static ParamInfo param_info_;