mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-24 02:35:20 +00:00
8ed9dbabde
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@885 a592a061-630c-0410-9148-cb99ea01b6c8
45 lines
861 B
C++
45 lines
861 B
C++
// -*- C++ -*-
|
|
/* This file is part of
|
|
* ======================================================
|
|
*
|
|
* LyX, The Document Processor
|
|
*
|
|
* Copyright 1998 The LyX Team.
|
|
*
|
|
* ======================================================
|
|
*/
|
|
|
|
#ifndef InsetTheorem_H
|
|
#define InsetTheorem_H
|
|
|
|
#ifdef __GNUG__
|
|
#pragma interface
|
|
#endif
|
|
|
|
#include "insetcollapsable.h"
|
|
|
|
/** The theorem inset
|
|
|
|
*/
|
|
class InsetTheorem : public InsetCollapsable {
|
|
public:
|
|
///
|
|
InsetTheorem();
|
|
///
|
|
void Write(Buffer const * buf, std::ostream & os) const;
|
|
///
|
|
Inset * Clone() const;
|
|
///
|
|
Inset::Code LyxCode() const { return Inset::THEOREM_CODE; }
|
|
///
|
|
bool display() const { return true; }
|
|
///
|
|
int Latex(Buffer const *, std::ostream &, bool fragile, bool fp) const;
|
|
///
|
|
const char * EditMessage() const;
|
|
///
|
|
bool InsertInsetAllowed(Inset * inset) const;
|
|
};
|
|
|
|
#endif
|