2 /* This file is part of*
3 * ======================================================
5 * LyX, The Document Processor
7 * Copyright (C) 1995 Matthias Ettrich
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() { return new InsetLOT(owner); }
35 string getScreenLabel() const { return _("List of Tables"); }
37 //void Edit(int, int);
39 unsigned char Editable() const {
43 bool Display() const { return true; }
45 Inset::Code LyxCode() const { return Inset::LOT_CODE; }