]> git.lyx.org Git - lyx.git/blob - src/insets/insetmarginal.h
Some more changes for updating text-insets.
[lyx.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         void Write(Buffer const * buf, std::ostream & os) const;
35         ///
36         Inset * Clone() const;
37         ///
38         Inset::Code LyxCode() const { return Inset::MARGIN_CODE; }
39         ///
40         int Latex(Buffer const *, std::ostream &, bool fragile, bool fp) const;
41         ///
42         const char * EditMessage() const;
43         ///
44         bool InsertInset(BufferView *, Inset * inset);
45         ///
46         bool InsertInsetAllowed(Inset * inset) const;
47         ///
48 //      LyXFont GetDrawFont(BufferView *, LyXParagraph * par, int pos) const;
49 };
50
51 #endif