mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-11 13:46:43 +00:00
27de1486ca
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@140 a592a061-630c-0410-9148-cb99ea01b6c8
55 lines
1.1 KiB
C++
55 lines
1.1 KiB
C++
// -*- C++ -*-
|
|
/* This file is part of*
|
|
* ======================================================
|
|
*
|
|
* LyX, The Document Processor
|
|
*
|
|
* Copyright (C) 1995 Matthias Ettrich
|
|
* 1996-1998 LyX Team
|
|
*
|
|
*======================================================*/
|
|
|
|
#ifndef _INSET_LOA_H
|
|
#define _INSET_LOA_H
|
|
|
|
#ifdef __GNUG__
|
|
#pragma interface
|
|
#endif
|
|
|
|
#include "insetcommand.h"
|
|
#include "gettext.h"
|
|
|
|
// Created by Bernhard 970807
|
|
|
|
/** 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() { return new InsetLOA(owner); }
|
|
///
|
|
LString getScreenLabel() const { return _("List of Algorithms"); }
|
|
|
|
|
|
//void Edit(int, int);
|
|
///
|
|
unsigned char Editable() const {
|
|
return 0; // not yet
|
|
}
|
|
///
|
|
bool Display() const { return true; }
|
|
///
|
|
Inset::Code LyxCode() const { return Inset::LOA_CODE; }
|
|
private:
|
|
///
|
|
Buffer *owner;
|
|
};
|
|
|
|
#endif
|