]> git.lyx.org Git - lyx.git/blob - src/insets/insetfloatlist.h
Switch from SigC signals to boost::signals
[lyx.git] / src / insets / insetfloatlist.h
1 // -*- C++ -*-
2 /* This file is part of*
3  * ======================================================
4  *
5  *           LyX, The Document Word Processor
6  *
7  *           Copyright 1995 Matthias Ettrich
8  *           Copyright 1996-2001 The LyX Team.
9  *
10  * ====================================================== */
11
12 #ifndef INSET_FLOATLIST_H
13 #define INSET_FLOATLIST_H
14
15 #ifdef __GNUG__
16 #pragma interface
17 #endif
18
19 #include "insetcommand.h"
20
21 /** Used to insert table of contents
22  */
23 class InsetFloatList : public InsetCommand {
24 public:
25         ///
26         InsetFloatList();
27         ///
28         InsetFloatList(string const & type);
29         ///
30         Inset * clone(Buffer const &, bool = false) const {
31                 return new InsetFloatList(getCmdName());
32         }
33         ///
34         string const getScreenLabel(Buffer const *) const;
35         ///
36         void edit(BufferView * bv, int, int, mouse_button::state);
37         ///
38         void edit(BufferView * bv, bool front = true);
39         ///
40         EDITABLE editable() const { return IS_EDITABLE; }
41         ///
42         bool display() const { return true; }
43         ///
44         Inset::Code lyxCode() const;
45         ///
46         void write(Buffer const *, std::ostream &) const;
47         ///
48         void read(Buffer const *, LyXLex &);
49         ///
50         int latex(Buffer const *, std::ostream &, bool, bool) const;
51         ///
52         int linuxdoc(Buffer const *, std::ostream &) const { return 0; }
53         ///
54         int docbook(Buffer const *, std::ostream &) const { return 0; }
55         ///
56         int ascii(Buffer const *, std::ostream &, int linelen) const;
57         ///
58         void validate(LaTeXFeatures & features) const;
59 };
60
61 #endif