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 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() { return new InsetLOA(owner); }
37 string getScreenLabel() const { return _("List of Algorithms"); }
40 //void Edit(int, int);
42 unsigned char Editable() const {
46 bool Display() const { return true; }
48 Inset::Code LyxCode() const { return Inset::LOA_CODE; }