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"
18 /// Used to insert table of contents and similar lists
19 class InsetTOC : public InsetCommand {
22 explicit InsetTOC(InsetCommandParams const &);
24 std::string const getScreenLabel(Buffer const &) const;
26 EDITABLE editable() const { return IS_EDITABLE; }
28 InsetBase::Code lyxCode() const;
30 bool display() const { return true; }
32 int plaintext(Buffer const &, std::ostream &,
33 OutputParams const &) const;
35 int docbook(Buffer const &, std::ostream &,
36 OutputParams const &) const;
38 virtual std::auto_ptr<InsetBase> doClone() const;