4 * This file is part of LyX, the document processor.
5 * Licence details can be found in the file COPYING.
7 * \author Lars Gullik Bjønnes
9 * Full author contact details are available in file CREDITS.
12 #ifndef InsetTheorem_H
13 #define InsetTheorem_H
16 #include "insetcollapsable.h"
21 class InsetTheorem : public InsetCollapsable {
26 void write(Buffer const & buf, std::ostream & os) const;
28 Inset::Code lyxCode() const { return Inset::THEOREM_CODE; }
30 void metrics(MetricsInfo &, Dimension &) const;
32 void draw(PainterInfo & pi, int x, int y) const;
34 int latex(Buffer const &, std::ostream &,
35 OutputParams const &) const;
37 virtual lyx::docstring const editMessage() const;
39 virtual std::auto_ptr<InsetBase> doClone() const;
42 mutable unsigned int center_indent_;