2000-07-04 19:16:35 +00:00
|
|
|
/* This file is part of
|
|
|
|
* ======================================================
|
|
|
|
*
|
|
|
|
* LyX, The Document Processor
|
|
|
|
*
|
2000-07-17 18:27:53 +00:00
|
|
|
* Copyright 2000 The LyX Team.
|
2000-07-04 19:16:35 +00:00
|
|
|
*
|
|
|
|
* ======================================================
|
|
|
|
*/
|
|
|
|
|
|
|
|
#include <config.h>
|
|
|
|
|
|
|
|
#ifdef __GNUG__
|
|
|
|
#pragma implementation
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#include "insetfootlike.h"
|
|
|
|
#include "lyxfont.h"
|
2000-07-15 23:51:46 +00:00
|
|
|
#include "buffer.h"
|
2000-07-04 19:16:35 +00:00
|
|
|
#include "lyxtext.h"
|
|
|
|
#include "support/LOstream.h"
|
|
|
|
|
|
|
|
|
|
|
|
InsetFootlike::InsetFootlike()
|
|
|
|
: InsetCollapsable()
|
|
|
|
{
|
|
|
|
LyXFont font(LyXFont::ALL_SANE);
|
|
|
|
font.decSize();
|
|
|
|
font.decSize();
|
|
|
|
font.setColor(LColor::footnote);
|
|
|
|
setLabelFont(font);
|
|
|
|
setAutoCollapse(false);
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2001-04-04 20:34:04 +00:00
|
|
|
void InsetFootlike::Write(Buffer const * buf, std::ostream & os) const
|
2000-07-04 19:16:35 +00:00
|
|
|
{
|
|
|
|
os << getInsetName() << "\n";
|
|
|
|
InsetCollapsable::Write(buf, os);
|
|
|
|
}
|