]> git.lyx.org Git - lyx.git/blob - src/insets/insettoc.h
Remove a whole heap of redundant functions from classes derived from
[lyx.git] / src / insets / insettoc.h
1 // -*- C++ -*-
2 /**
3  * \file insettoc.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_TOC_H
13 #define INSET_TOC_H
14
15 #include "insetcommand.h"
16
17
18 /// Used to insert table of contents and similar lists
19 class InsetTOC : public InsetCommand {
20 public:
21         ///
22         explicit InsetTOC(InsetCommandParams const &);
23         ///
24         std::auto_ptr<InsetBase> clone() const;
25         ///
26         std::string const getScreenLabel(Buffer const &) const;
27         ///
28         EDITABLE editable() const { return IS_EDITABLE; }
29         ///
30         InsetOld::Code lyxCode() const;
31         ///
32         bool display() const { return true; }
33         ///
34         int plaintext(Buffer const &, std::ostream &,
35                   OutputParams const &) const;
36         ///
37         int linuxdoc(Buffer const &, std::ostream &,
38                      OutputParams const &) const;
39         ///
40         int docbook(Buffer const &, std::ostream &,
41                     OutputParams const &) const;
42 };
43
44 #endif