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(string const & type);
29 virtual std::auto_ptr<InsetBase> clone() const {
30 return std::auto_ptr<InsetBase>(new InsetFloatList(getCmdName()));
33 dispatch_result localDispatch(FuncRequest const & cmd);
35 string const getScreenLabel(Buffer const *) const;
37 EDITABLE editable() const { return IS_EDITABLE; }
39 bool display() const { return true; }
41 InsetOld::Code lyxCode() const;
43 void write(Buffer const *, std::ostream &) const;
45 void read(Buffer const *, LyXLex &);
47 int latex(Buffer const *, std::ostream &,
48 LatexRunParams const &) const;
50 int linuxdoc(Buffer const *, std::ostream &) const { return 0; }
52 int docbook(Buffer const *, std::ostream &, bool) const { return 0; }
54 int ascii(Buffer const *, std::ostream &, int linelen) const;
56 void validate(LaTeXFeatures & features) const;