2 /* This file is part of
3 * ======================================================
5 * LyX, The Document Processor
7 * Copyright 2001 The LyX Team.
9 *======================================================
19 #include "insetcollapsable.h"
21 /** The PostIt note inset
24 class InsetNote : public InsetCollapsable {
28 /// constructor with initial contents
29 InsetNote(Buffer const *, string const & contents, bool collapsed);
31 virtual string const editMessage() const;
33 virtual Inset::Code lyxCode() const { return Inset::IGNORE_CODE; }
35 virtual void write(Buffer const *, std::ostream &) const;
37 virtual int latex(Buffer const *, std::ostream &, bool, bool) const
40 /// used by the constructors