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