]> git.lyx.org Git - lyx.git/blob - src/insets/InsetFloatList.h
Fix wrongly copy-pasted entries in SpellcheckerUi.ui
[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
19 namespace lyx {
20
21 /** Used to insert table of contents
22  */
23 class InsetFloatList : public InsetCommand {
24 public:
25         ///
26         InsetFloatList(Buffer *);
27         ///
28         InsetFloatList(Buffer *, std::string const & type);
29
30         /// \name Public functions inherited from Inset class
31         //@{
32         ///
33         InsetCode lyxCode() const { return FLOAT_LIST_CODE; }
34         ///
35         DisplayType display() const { return AlignCenter; }
36         ///
37         void write(std::ostream &) const;
38         ///
39         void read(Lexer &);
40         ///
41         void latex(otexstream &, OutputParams const &) const;
42         ///
43         int docbook(odocstream &, OutputParams const &) const { return 0; }
44         ///
45         int plaintext(odocstream &, OutputParams const & runparams) const;
46         ///
47         docstring xhtml(XHTMLStream &, OutputParams const &) const;
48         ///
49         void validate(LaTeXFeatures & features) const;
50         //@}
51
52         /// \name Static public methods obligated for InsetCommand derived classes
53         //@{
54         ///
55         static ParamInfo const & findInfo(std::string const &);
56         ///
57         static std::string defaultCommand() { return "listoftables"; }
58         ///
59         static bool isCompatibleCommand(std::string const & s);
60         //@}
61
62 private:
63         /// \name Private functions inherited from Inset class
64         //@{
65         ///
66         Inset * clone() const { return new InsetFloatList(*this); }
67         //@}
68
69         /// \name Private functions inherited from InsetCommand class
70         //@{
71         ///
72         docstring screenLabel() const;
73         //@}
74
75         ///
76         static ParamInfo param_info_;
77 };
78
79
80 } // namespace lyx
81
82 #endif