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 Inset.heorem_H
13 #define Inset.heorem_H
16 #include "InsetCollapsable.h"
24 class Inset.heorem : public InsetCollapsable {
29 void write(Buffer const & buf, std::ostream & os) const;
31 Inset::Code lyxCode() const { return Inset::THEOREM_CODE; }
33 void metrics(MetricsInfo &, Dimension &) const;
35 void draw(PainterInfo & pi, int x, int y) const;
37 int latex(Buffer const &, odocstream &,
38 OutputParams const &) const;
40 virtual docstring const editMessage() const;
42 virtual Inset * clone() const;
45 mutable unsigned int center_indent_;