2000-07-04 19:16:35 +00:00
|
|
|
|
// -*- C++ -*-
|
2002-09-25 14:26:13 +00:00
|
|
|
|
/**
|
|
|
|
|
* \file insetfootlike.h
|
|
|
|
|
* This file is part of LyX, the document processor.
|
|
|
|
|
* Licence details can be found in the file COPYING.
|
2002-03-21 17:09:55 +00:00
|
|
|
|
*
|
2002-09-25 14:26:13 +00:00
|
|
|
|
* \author Lars Gullik Bj<EFBFBD>nnes
|
2000-07-04 19:16:35 +00:00
|
|
|
|
*
|
2002-09-25 14:26:13 +00:00
|
|
|
|
* Full author contact details are available in file CREDITS
|
2000-07-04 19:16:35 +00:00
|
|
|
|
*/
|
|
|
|
|
|
2002-08-28 16:32:18 +00:00
|
|
|
|
#ifndef INSETFOOTLIKE_H
|
|
|
|
|
#define INSETFOOTLIKE_H
|
2000-07-04 19:16:35 +00:00
|
|
|
|
|
|
|
|
|
#include "insetcollapsable.h"
|
|
|
|
|
|
2000-07-15 23:51:46 +00:00
|
|
|
|
// To have this class is probably a bit overkill... (Lgb)
|
|
|
|
|
|
2003-05-19 17:03:12 +00:00
|
|
|
|
// The footnote inset
|
2000-07-04 19:16:35 +00:00
|
|
|
|
class InsetFootlike : public InsetCollapsable {
|
|
|
|
|
public:
|
|
|
|
|
///
|
2002-03-03 20:25:07 +00:00
|
|
|
|
InsetFootlike(BufferParams const &);
|
2000-07-04 19:16:35 +00:00
|
|
|
|
///
|
2003-05-26 09:13:55 +00:00
|
|
|
|
InsetFootlike(InsetFootlike const &);
|
|
|
|
|
///
|
2001-06-28 10:25:20 +00:00
|
|
|
|
void write(Buffer const * buf, std::ostream & os) const;
|
2001-07-12 14:35:38 +00:00
|
|
|
|
///
|
2003-07-25 21:20:24 +00:00
|
|
|
|
bool insetAllowed(InsetOld::Code) const;
|
2002-07-23 21:03:38 +00:00
|
|
|
|
/** returns true if, when outputing LaTeX, font changes should
|
2002-12-01 22:59:25 +00:00
|
|
|
|
be closed before generating this inset. This is needed for
|
|
|
|
|
insets that may contain several paragraphs */
|
2002-07-23 21:03:38 +00:00
|
|
|
|
bool noFontChange() const { return true; }
|
2000-07-04 19:16:35 +00:00
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
#endif
|