4 * This file is part of LyX, the document processor.
5 * Licence details can be found in the file COPYING.
7 * \author Angus Leeming
9 * Full author contact details are available in file CREDITS
16 #include "insetcollapsable.h"
18 /** The PostIt note inset
21 class InsetNote : public InsetCollapsable {
24 InsetNote(BufferParams const &);
26 InsetNote(InsetNote const &, bool same_id = false);
28 Inset * clone(Buffer const &, bool same_id = false) const;
29 /// constructor with initial contents
30 InsetNote(Buffer const *, string const & contents, bool collapsed);
32 string const editMessage() const;
34 Inset::Code lyxCode() const { return Inset::NOTE_CODE; }
36 void write(Buffer const *, std::ostream &) const;
38 int latex(Buffer const *, std::ostream &, bool, bool) const
41 int linuxdoc(Buffer const *, std::ostream &) const
44 int docbook(Buffer const *, std::ostream &, bool) const
47 int ascii(Buffer const *, std::ostream &, int) const
50 void validate(LaTeXFeatures &) const {}
52 /// used by the constructors