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(Buffer const & buf, 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(Buffer const &) const { return true; }
40 int latex(Buffer const &, odocstream &,
41 OutputParams const &) const;
43 virtual docstring const editMessage() const;
45 virtual Inset * clone() const;
48 mutable unsigned int center_indent_;