mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-11 13:46:43 +00:00
52 lines
1.0 KiB
C
52 lines
1.0 KiB
C
|
// -*- C++ -*-
|
||
|
/* This file is part of*
|
||
|
* ======================================================
|
||
|
*
|
||
|
* LyX, The Document Processor
|
||
|
*
|
||
|
* Copyright (C) 1995 Matthias Ettrich
|
||
|
* 1996-1998 LyX Team
|
||
|
*
|
||
|
*======================================================*/
|
||
|
|
||
|
#ifndef _INSET_LOF_H
|
||
|
#define _INSET_LOF_H
|
||
|
|
||
|
#ifdef __GNUG__
|
||
|
#pragma interface
|
||
|
#endif
|
||
|
|
||
|
#include "insetcommand.h"
|
||
|
#include "gettext.h"
|
||
|
|
||
|
// Created by Lgb 970527
|
||
|
|
||
|
/** Used to insert table of contents
|
||
|
*/
|
||
|
class InsetLOF: public InsetCommand {
|
||
|
public:
|
||
|
///
|
||
|
InsetLOF(): InsetCommand("listoffigures") {}
|
||
|
///
|
||
|
InsetLOF(Buffer *b): InsetCommand("listoffigures"),owner(b) {}
|
||
|
///
|
||
|
Inset* Clone() { return new InsetLOF(owner); }
|
||
|
///
|
||
|
LString getScreenLabel() const { return _("List of Figures"); }
|
||
|
|
||
|
//void Edit(int, int);
|
||
|
///
|
||
|
unsigned char Editable() const {
|
||
|
return 0; // not yet
|
||
|
}
|
||
|
///
|
||
|
bool Display() const { return true; }
|
||
|
///
|
||
|
Inset::Code LyxCode() const { return Inset::LOF_CODE; }
|
||
|
private:
|
||
|
///
|
||
|
Buffer *owner;
|
||
|
};
|
||
|
|
||
|
#endif
|