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
19 #include "insetcollapsable.h"
21 /** The PostIt note inset
24 class InsetNote : public InsetCollapsable {
27 InsetNote(BufferParams const &);
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 string const editMessage() const;
37 Inset::Code lyxCode() const { return Inset::NOTE_CODE; }
39 void write(Buffer const *, std::ostream &) const;
41 int latex(Buffer const *, std::ostream &, bool, bool) const
44 int linuxdoc(Buffer const *, std::ostream &) const
47 int docbook(Buffer const *, std::ostream &, bool) const
50 int ascii(Buffer const *, std::ostream &, int) const
53 void validate(LaTeXFeatures &) const {}
55 /// used by the constructors