2 /* This file is part of*
3 * ======================================================
5 * LyX, The Document Processor
7 * Copyright 1995 Matthias Ettrich
8 * Copyright 1996-1999 LyX Team
10 * ====================================================== */
19 #include "insetcommand.h"
22 // Created by Lgb 970527
24 /** Used to insert table of contents
26 class InsetLOT : public InsetCommand {
29 InsetLOT() : InsetCommand("listoftables") {}
31 InsetLOT(Buffer * b) : InsetCommand("listoftables"), owner(b) {}
33 Inset * Clone() const { return new InsetLOT(owner); }
35 string getScreenLabel() const { return _("List of Tables"); }
38 unsigned char Editable() const {
42 bool display() const { return true; }
44 Inset::Code LyxCode() const { return Inset::LOT_CODE; }