mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-09-21 23:51:25 +00:00
65b4999759
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@332 a592a061-630c-0410-9148-cb99ea01b6c8
50 lines
1.0 KiB
C++
50 lines
1.0 KiB
C++
// -*- C++ -*-
|
|
/* This file is part of*
|
|
* ======================================================
|
|
*
|
|
* LyX, The Document Processor
|
|
*
|
|
* Copyright 1995 Matthias Ettrich
|
|
* Copyright 1996-1999 the 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() const { return new InsetLOF(owner); }
|
|
///
|
|
string getScreenLabel() const { return _("List of Figures"); }
|
|
|
|
///
|
|
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
|