1 /* This file is part of
2 * ======================================================
4 * LyX, The Document Processor
6 * Copyright 1998 The LyX Team.
8 * ======================================================
14 #pragma implementation
17 #include "insetfootlike.h"
19 #include "BufferView.h"
21 #include "support/LOstream.h"
26 InsetFootlike::InsetFootlike()
29 LyXFont font(LyXFont::ALL_SANE);
32 font.setColor(LColor::footnote);
34 setAutoCollapse(false);
38 void InsetFootlike::Write(Buffer const * buf, ostream & os) const
40 os << getInsetName() << "\n";
41 InsetCollapsable::Write(buf, os);
46 LyXFont InsetFootlike::GetDrawFont(BufferView * bv,
47 LyXParagraph * p, int pos) const
49 LyXFont fn = getLyXText(bv)->GetFont(bv->buffer(), p, pos);
50 fn.decSize().decSize();