]> git.lyx.org Git - lyx.git/blob - src/insets/insetfloatlist.h
The markDirty() and fitCursor() changes
[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         string const getScreenLabel(Buffer const *) const;
34         ///
35         void edit(BufferView * bv, int, int, mouse_button::state);
36         ///
37         void edit(BufferView * bv, bool front = true);
38         ///
39         EDITABLE editable() const { return IS_EDITABLE; }
40         ///
41         bool display() const { return true; }
42         ///
43         Inset::Code lyxCode() const;
44         ///
45         void write(Buffer const *, std::ostream &) const;
46         ///
47         void read(Buffer const *, LyXLex &);
48         ///
49         int latex(Buffer const *, std::ostream &, bool, bool) const;
50         ///
51         int linuxdoc(Buffer const *, std::ostream &) const { return 0; }
52         ///
53         int docbook(Buffer const *, std::ostream &, bool) const { return 0; }
54         ///
55         int ascii(Buffer const *, std::ostream &, int linelen) const;
56         ///
57         void validate(LaTeXFeatures & features) const;
58 };
59
60 #endif