2000-06-26 18:48:45 +00:00
|
|
|
// -*- C++ -*-
|
|
|
|
/* This file is part of
|
|
|
|
* ======================================================
|
|
|
|
*
|
|
|
|
* LyX, The Document Processor
|
|
|
|
*
|
|
|
|
* Copyright 1998 The LyX Team.
|
|
|
|
*
|
|
|
|
*======================================================
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef INSETMARGINAL_H
|
|
|
|
#define INSETMARGINAL_H
|
|
|
|
|
|
|
|
#ifdef __GNUG__
|
|
|
|
#pragma interface
|
|
|
|
#endif
|
|
|
|
|
2000-07-04 19:16:35 +00:00
|
|
|
#include "insetfootlike.h"
|
2000-06-26 18:48:45 +00:00
|
|
|
|
|
|
|
/** The marginal note inset
|
|
|
|
|
|
|
|
*/
|
2000-07-04 19:16:35 +00:00
|
|
|
class InsetMarginal : public InsetFootlike {
|
2000-06-26 18:48:45 +00:00
|
|
|
public:
|
|
|
|
///
|
|
|
|
InsetMarginal();
|
|
|
|
///
|
|
|
|
Inset * Clone() const;
|
|
|
|
///
|
|
|
|
Inset::Code LyxCode() const { return Inset::MARGIN_CODE; }
|
|
|
|
///
|
|
|
|
int Latex(Buffer const *, std::ostream &, bool fragile, bool fp) const;
|
|
|
|
///
|
|
|
|
const char * EditMessage() const;
|
|
|
|
///
|
|
|
|
bool InsertInsetAllowed(Inset * inset) const;
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|