mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-12 14:05:59 +00:00
76938908d7
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@641 a592a061-630c-0410-9148-cb99ea01b6c8
52 lines
1.0 KiB
C++
52 lines
1.0 KiB
C++
// -*- C++ -*-
|
|
/* This file is part of*
|
|
* ======================================================
|
|
*
|
|
* LyX, The Document Processor
|
|
*
|
|
* Copyright 1995 Matthias Ettrich
|
|
* Copyright 1996-2000 LyX Team
|
|
*
|
|
* ====================================================== */
|
|
|
|
#ifndef INSET_LOT_H
|
|
#define INSET_LOT_H
|
|
|
|
#ifdef __GNUG__
|
|
#pragma interface
|
|
#endif
|
|
|
|
#include "insetcommand.h"
|
|
#include "gettext.h"
|
|
|
|
// Created by Lgb 970527
|
|
|
|
/** Used to insert table of contents
|
|
*/
|
|
class InsetLOT : public InsetCommand {
|
|
public:
|
|
///
|
|
InsetLOT() : InsetCommand("listoftables") {}
|
|
///
|
|
explicit
|
|
InsetLOT(Buffer * b) : InsetCommand("listoftables"), owner(b) {}
|
|
///
|
|
Inset * Clone() const { return new InsetLOT(owner); }
|
|
///
|
|
string getScreenLabel() const;
|
|
|
|
///
|
|
EDITABLE Editable() const {
|
|
return NOT_EDITABLE; // not yet
|
|
}
|
|
///
|
|
bool display() const { return true; }
|
|
///
|
|
Inset::Code LyxCode() const { return Inset::LOT_CODE; }
|
|
private:
|
|
///
|
|
Buffer * owner;
|
|
};
|
|
|
|
#endif
|