4 * This file is part of LyX, the document processor.
5 * Licence details can be found in the file COPYING.
7 * \author Lars Gullik Bjønnes
9 * Full author contact details are available in file CREDITS.
15 #include "insetcommand.h"
21 /// Used to insert table of contents and similar lists
22 class InsetTOC : public InsetCommand {
25 explicit InsetTOC(InsetCommandParams const &);
27 docstring const getScreenLabel(Buffer const &) const;
29 EDITABLE editable() const { return IS_EDITABLE; }
31 InsetBase::Code lyxCode() const;
33 bool display() const { return true; }
35 int plaintext(Buffer const &, odocstream &,
36 OutputParams const &) const;
38 int docbook(Buffer const &, odocstream &,
39 OutputParams const &) const;
41 virtual std::auto_ptr<InsetBase> doClone() const;