2 /* This file is part of*
3 * ======================================================
5 * LyX, The Document Processor
7 * Copyright 1995 Matthias Ettrich
8 * Copyright 1996-2000 the LyX Team.
10 * ====================================================== */
19 #include "insetcommand.h"
24 /** Used to insert table of algorithms
26 class InsetLOA : public InsetCommand {
29 InsetLOA() : InsetCommand("listofalgorithms") {}
32 InsetLOA(Buffer * b) : InsetCommand("listofalgorithms"), owner(b) {}
34 void Validate(LaTeXFeatures & features) const;
36 Inset * Clone() const { return new InsetLOA(owner); }
38 string getScreenLabel() const;
40 void Edit(BufferView * bv, int, int, unsigned int);
42 EDITABLE Editable() const {
43 return IS_EDITABLE; // not yet
46 bool display() const { return true; }
48 Inset::Code LyxCode() const { return Inset::LOA_CODE; }