2000-07-04 19:16:35 +00:00
|
|
|
// -*- C++ -*-
|
|
|
|
/* This file is part of
|
|
|
|
* ======================================================
|
2002-03-21 17:09:55 +00:00
|
|
|
*
|
2000-07-04 19:16:35 +00:00
|
|
|
* LyX, The Document Processor
|
|
|
|
*
|
|
|
|
* Copyright 1998 The LyX Team.
|
|
|
|
*
|
|
|
|
*======================================================
|
|
|
|
*/
|
|
|
|
// The pristine updatable inset: Text
|
|
|
|
|
|
|
|
|
2002-08-28 16:32:18 +00:00
|
|
|
#ifndef INSETFOOTLIKE_H
|
|
|
|
#define INSETFOOTLIKE_H
|
2000-07-04 19:16:35 +00:00
|
|
|
|
|
|
|
#ifdef __GNUG__
|
|
|
|
#pragma interface
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#include "insetcollapsable.h"
|
|
|
|
|
2000-07-15 23:51:46 +00:00
|
|
|
// To have this class is probably a bit overkill... (Lgb)
|
|
|
|
|
2000-07-04 19:16:35 +00:00
|
|
|
/** The footnote inset
|
2002-03-21 17:09:55 +00:00
|
|
|
|
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
|
|
|
///
|
2001-07-27 12:03:36 +00:00
|
|
|
InsetFootlike(InsetFootlike const &, bool same_id = false);
|
|
|
|
///
|
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
|
|
|
///
|
2001-07-19 08:52:59 +00:00
|
|
|
bool insetAllowed(Inset::Code) const;
|
2002-07-23 21:03:38 +00:00
|
|
|
/** returns true if, when outputing LaTeX, font changes should
|
|
|
|
be closed before generating this inset. This is needed for
|
|
|
|
insets that may contain several paragraphs */
|
|
|
|
bool noFontChange() const { return true; }
|
2000-07-04 19:16:35 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|