2 /* This file is part of*
3 * ======================================================
5 * LyX, The Document Word Processor
7 * Copyright 1995 Matthias Ettrich
8 * Copyright 1996-2001 The LyX Team.
10 * ====================================================== */
12 #ifndef INSET_FLOATLIST_H
13 #define INSET_FLOATLIST_H
19 #include "insetbutton.h"
21 /** Used to insert table of contents
23 class InsetFloatList : public InsetButton {
28 InsetFloatList(string const & type)
31 Inset * clone(Buffer const &, bool = false) const {
32 return new InsetFloatList(*this);
35 string const getScreenLabel(Buffer const *) const;
37 void edit(BufferView * bv, int, int, unsigned int);
39 void edit(BufferView * bv, bool front = true);
41 EDITABLE editable() const { return IS_EDITABLE; }
43 bool display() const { return true; }
45 Inset::Code lyxCode() const;
47 void write(Buffer const *, std::ostream &) const;
49 void read(Buffer const *, LyXLex &);
51 int latex(Buffer const *, std::ostream &, bool, bool) const;
53 int linuxdoc(Buffer const *, std::ostream &) const { return 0; }
55 int docBook(Buffer const *, std::ostream &) const { return 0; }
57 int ascii(Buffer const *, std::ostream &, int linelen) const;