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 &);
26 std::auto_ptr<InsetBase> clone() const;
28 std::string const getScreenLabel(Buffer const &) const;
30 EDITABLE editable() const { return IS_EDITABLE; }
32 InsetOld::Code lyxCode() const;
34 bool display() const { return true; }
36 int plaintext(Buffer const &, std::ostream &,
37 OutputParams const &) const;
39 int linuxdoc(Buffer const &, std::ostream &,
40 OutputParams const &) const;
42 int docbook(Buffer const &, std::ostream &,
43 OutputParams const &) const;
48 priv_dispatch(FuncRequest const & cmd, idx_type &, pos_type &);