]> git.lyx.org Git - lyx.git/blob - src/insets/insetfloatlist.h
Rename LatexRunParams::fragile as moving_arg.
[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(string const & type);
26         ///
27         ~InsetFloatList();
28         ///
29         Inset * clone(Buffer const &, bool = false) const {
30                 return new InsetFloatList(getCmdName());
31         }
32         ///
33         dispatch_result localDispatch(FuncRequest const & cmd);
34         ///
35         string const getScreenLabel(Buffer const *) const;
36         ///
37         EDITABLE editable() const { return IS_EDITABLE; }
38         ///
39         bool display() const { return true; }
40         ///
41         Inset::Code lyxCode() const;
42         ///
43         void write(Buffer const *, std::ostream &) const;
44         ///
45         void read(Buffer const *, LyXLex &);
46         ///
47         int latex(Buffer const *, std::ostream &,
48                   LatexRunParams const &) const;
49         ///
50         int linuxdoc(Buffer const *, std::ostream &) const { return 0; }
51         ///
52         int docbook(Buffer const *, std::ostream &, bool) const { return 0; }
53         ///
54         int ascii(Buffer const *, std::ostream &, int linelen) const;
55         ///
56         void validate(LaTeXFeatures & features) const;
57 };
58
59 #endif