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 {
29 InsetNote(InsetNote const &, bool same_id = false);
31 Inset * clone(Buffer const &, bool same_id = false) const;
32 /// constructor with initial contents
33 InsetNote(Buffer const *, string const & contents, bool collapsed);
35 virtual string const editMessage() const;
37 virtual Inset::Code lyxCode() const { return Inset::IGNORE_CODE; }
39 virtual void write(Buffer const *, std::ostream &) const;
41 virtual int latex(Buffer const *, std::ostream &, bool, bool) const
44 /// used by the constructors