]> git.lyx.org Git - lyx.git/blob - src/insets/insetfloatlist.h
Remove a whole heap of redundant functions from classes derived from
[lyx.git] / src / insets / insetfloatlist.h
1 // -*- C++ -*-
2 /**
3  * \file insetfloatlist.h
4  * This file is part of LyX, the document processor.
5  * Licence details can be found in the file COPYING.
6  *
7  * \author Lars Gullik Bjønnes
8  *
9  * Full author contact details are available in file CREDITS.
10  */
11
12 #ifndef INSET_FLOATLIST_H
13 #define INSET_FLOATLIST_H
14
15
16 #include "insetcommand.h"
17
18 /** Used to insert table of contents
19  */
20 class InsetFloatList : public InsetCommand {
21 public:
22         ///
23         InsetFloatList();
24         ///
25         InsetFloatList(std::string const & type);
26         ///
27         virtual std::auto_ptr<InsetBase> clone() const {
28                 return std::auto_ptr<InsetBase>(new InsetFloatList(getCmdName()));
29         }
30         ///
31         std::string const getScreenLabel(Buffer const &) const;
32         ///
33         EDITABLE editable() const { return IS_EDITABLE; }
34         ///
35         InsetOld::Code lyxCode() const;
36         ///
37         bool display() const { return true; }
38         ///
39         void write(Buffer const &, std::ostream &) const;
40         ///
41         void read(Buffer const &, LyXLex &);
42         ///
43         int latex(Buffer const &, std::ostream &,
44                   OutputParams const &) const;
45         ///
46         int linuxdoc(Buffer const &, std::ostream &,
47                      OutputParams const &) const { return 0; }
48         ///
49         int docbook(Buffer const &, std::ostream &,
50                     OutputParams const &) const { return 0; }
51         ///
52         int plaintext(Buffer const &, std::ostream &,
53                   OutputParams const & runparams) const;
54         ///
55         void validate(LaTeXFeatures & features) const;
56 };
57
58 #endif