2 /* This file is part of*
3 * ======================================================
5 * LyX, The Document Processor
7 * Copyright 1995 Matthias Ettrich
8 * Copyright 1996-2000 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") {}
32 InsetLOT(Buffer * b) : InsetCommand("listoftables"), owner(b) {}
34 Inset * Clone() const { return new InsetLOT(owner); }
36 string getScreenLabel() const;
39 EDITABLE Editable() const {
40 return NOT_EDITABLE; // not yet
43 bool display() const { return true; }
45 Inset::Code LyxCode() const { return Inset::LOT_CODE; }