]> git.lyx.org Git - lyx.git/blob - src/insets/insetnote.h
ca173ab6d54794b02a34adad791857c2c317a8c0
[lyx.git] / src / insets / insetnote.h
1 // -*- C++ -*-
2 /**
3  * \file insetnote.h
4  * This file is part of LyX, the document processor.
5  * Licence details can be found in the file COPYING.
6  *
7  * \author Angus Leeming
8  *
9  * Full author contact details are available in file CREDITS
10  */
11
12 #ifndef INSETNOTE_H
13 #define INSETNOTE_H
14
15
16 #include "insetcollapsable.h"
17
18 /** The PostIt note inset
19
20 */
21 class InsetNote : public InsetCollapsable {
22 public:
23         ///
24         InsetNote(BufferParams const &);
25         ///
26         InsetNote(InsetNote const &);
27         ///
28         //InsetNote(InsetNote const &, bool same_id);
29         ///
30         Inset * clone(Buffer const &) const;
31         ///
32         //Inset * clone(Buffer const &, bool same_id) const;
33         ///
34         string const editMessage() const;
35         ///
36         Inset::Code lyxCode() const { return Inset::NOTE_CODE; }
37         ///
38         void write(Buffer const *, std::ostream &) const;
39         ///
40         int latex(Buffer const *, std::ostream &,
41                   LatexRunParams const &) const
42                 { return 0; }
43         ///
44         int linuxdoc(Buffer const *, std::ostream &) const
45                 { return 0; }
46         ///
47         int docbook(Buffer const *, std::ostream &, bool) const
48                 { return 0; }
49         ///
50         int ascii(Buffer const *, std::ostream &, int) const
51                 { return 0; }
52         ///
53         void validate(LaTeXFeatures &) const {}
54 private:
55         /// used by the constructors
56         void init();
57
58 };
59
60 #endif