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 virtual InsetBase * clone() const;
30 Inset::Code lyxCode() const { return Inset::THEOREM_CODE; }
32 void metrics(MetricsInfo &, Dimension &) const;
34 void draw(PainterInfo & pi, int x, int y) const;
36 int latex(Buffer const *, std::ostream &,
37 LatexRunParams const &) const;
39 string const editMessage() const;
42 mutable unsigned int center_indent_;