]> git.lyx.org Git - lyx.git/blob - src/insets/insetfootlike.C
prepare for 1.1.6pre2
[lyx.git] / src / insets / insetfootlike.C
1 /* This file is part of
2  * ======================================================
3  * 
4  *           LyX, The Document Processor
5  *       
6  *          Copyright 2000 The LyX Team.
7  *
8  * ======================================================
9  */
10
11 #include <config.h>
12
13 #ifdef __GNUG__
14 #pragma implementation
15 #endif
16
17 #include "insetfootlike.h"
18 #include "lyxfont.h"
19 #include "buffer.h"
20 #include "lyxtext.h"
21 #include "support/LOstream.h"
22
23 using std::ostream;
24 using std::endl;
25
26 InsetFootlike::InsetFootlike()
27         : InsetCollapsable()
28 {
29         LyXFont font(LyXFont::ALL_SANE);
30         font.decSize();
31         font.decSize();
32         font.setColor(LColor::footnote);
33         setLabelFont(font);
34         setAutoCollapse(false);
35 }
36
37
38 void InsetFootlike::Write(Buffer const * buf, ostream & os) const 
39 {
40         os << getInsetName() << "\n";
41         InsetCollapsable::Write(buf, os);
42 }