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 {
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::IGNORE_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 &) const
50 void validate(LaTeXFeatures &) const {}
52 /// used by the constructors