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 Bernhard 970807
24 /** Used to insert table of algorithms
26 class InsetLOA : public InsetCommand {
29 InsetLOA() : InsetCommand("listofalgorithms") {}
31 InsetLOA(Buffer * b) : InsetCommand("listofalgorithms"), owner(b) {}
33 void Validate(LaTeXFeatures & features) const;
35 Inset * Clone() const { return new InsetLOA(owner); }
37 string getScreenLabel() const { return _("List of Algorithms"); }
40 unsigned char Editable() const {
44 bool display() const { return true; }
46 Inset::Code LyxCode() const { return Inset::LOA_CODE; }