]> git.lyx.org Git - features.git/blob - src/insets/insetmarginal.h
d9698ff3c2855ac89b3d277bdaa5ce0df26c8870
[features.git] / src / insets / insetmarginal.h
1 // -*- C++ -*-
2 /* This file is part of
3  * ======================================================
4  * 
5  *           LyX, The Document Processor
6  *
7  *           Copyright 1998 The LyX Team.
8  *
9  *======================================================
10  */
11
12 #ifndef INSETMARGINAL_H
13 #define INSETMARGINAL_H
14
15 #ifdef __GNUG__
16 #pragma interface
17 #endif
18
19 #include "insetcollapsable.h"
20
21 class Painter;
22
23 /** The marginal note inset
24   
25 */
26 class InsetMarginal : public InsetCollapsable {
27 public:
28         ///
29         explicit
30         InsetMarginal();
31         ///
32         ~InsetMarginal() {}
33         ///
34         Inset * Clone() const;
35         ///
36         Inset::Code LyxCode() const { return Inset::MARGIN_CODE; }
37         ///
38         int Latex(Buffer const *, std::ostream &, bool fragile, bool fp) const;
39         ///
40         const char * EditMessage() const;
41         ///
42         bool InsertInset(BufferView *, Inset * inset);
43         ///
44         bool InsertInsetAllowed(Inset * inset) const;
45         ///
46         LyXFont GetDrawFont(BufferView *, LyXParagraph * par, int pos) const;
47 };
48
49 #endif