mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-11 13:46:43 +00:00
99d1627a47
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6138 a592a061-630c-0410-9148-cb99ea01b6c8
40 lines
809 B
C++
40 lines
809 B
C++
// -*- C++ -*-
|
|
/**
|
|
* \file insettheorem.h
|
|
* This file is part of LyX, the document processor.
|
|
* Licence details can be found in the file COPYING.
|
|
*
|
|
* \author Lars Gullik Bjønnes
|
|
*
|
|
* Full author contact details are available in file CREDITS
|
|
*/
|
|
|
|
#ifndef InsetTheorem_H
|
|
#define InsetTheorem_H
|
|
|
|
|
|
#include "insetcollapsable.h"
|
|
|
|
/** The theorem inset
|
|
|
|
*/
|
|
class InsetTheorem : public InsetCollapsable {
|
|
public:
|
|
///
|
|
InsetTheorem();
|
|
///
|
|
void write(Buffer const * buf, std::ostream & os) const;
|
|
///
|
|
virtual Inset * clone(Buffer const &, bool same_id = false) 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;
|
|
///
|
|
string const editMessage() const;
|
|
};
|
|
|
|
#endif
|