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.
14 #ifndef INSETTHEOREM_H
15 #define INSETTHEOREM_H
17 #include "InsetCollapsable.h"
25 class Inset.heorem : public InsetCollapsable {
30 void write(std::ostream & os) const;
32 InsetCode lyxCode() const { return THEOREM_CODE; }
34 void metrics(MetricsInfo &, Dimension &) const;
36 void draw(PainterInfo & pi, int x, int y) const;
38 bool isMacroScope() const { return true; }
40 int latex(odocstream &, OutputParams const &) const;
42 docstring editMessage() const;
44 Inset * clone() const;
47 mutable unsigned int center_indent_;