mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-09-22 07:57:22 +00:00
b3e20a15e7
Added a new BaseClass InsetCollapsable and changed InsetERT to this new BaseClass, also added a footnote-inset. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@591 a592a061-630c-0410-9148-cb99ea01b6c8
53 lines
1.1 KiB
C++
53 lines
1.1 KiB
C++
// -*- C++ -*-
|
|
/* This file is part of*
|
|
* ======================================================
|
|
*
|
|
* LyX, The Document Processor
|
|
*
|
|
* Copyright 1995 Matthias Ettrich
|
|
* Copyright 1996-1999 the LyX Team.
|
|
*
|
|
* ====================================================== */
|
|
|
|
#ifndef INSET_LOA_H
|
|
#define INSET_LOA_H
|
|
|
|
#ifdef __GNUG__
|
|
#pragma interface
|
|
#endif
|
|
|
|
#include "insetcommand.h"
|
|
#include "gettext.h"
|
|
|
|
class Buffer;
|
|
|
|
/** Used to insert table of algorithms
|
|
*/
|
|
class InsetLOA : public InsetCommand {
|
|
public:
|
|
///
|
|
InsetLOA() : InsetCommand("listofalgorithms") {}
|
|
///
|
|
InsetLOA(Buffer * b) : InsetCommand("listofalgorithms"), owner(b) {}
|
|
///
|
|
void Validate(LaTeXFeatures & features) const;
|
|
///
|
|
Inset * Clone() const { return new InsetLOA(owner); }
|
|
///
|
|
string getScreenLabel() const { return _("List of Algorithms"); }
|
|
|
|
///
|
|
EDITABLE Editable() const {
|
|
return NOT_EDITABLE; // not yet
|
|
}
|
|
///
|
|
bool display() const { return true; }
|
|
///
|
|
Inset::Code LyxCode() const { return Inset::LOA_CODE; }
|
|
private:
|
|
///
|
|
Buffer * owner;
|
|
};
|
|
|
|
#endif
|