mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-09-22 07:57:22 +00:00
47 lines
940 B
C
47 lines
940 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 footnote 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;
|
||
|
///
|
||
|
//LyXFont GetDrawFont(BufferView *, LyXParagraph * par, int pos) const;
|
||
|
};
|
||
|
|
||
|
#endif
|