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:
|
|
|
|
///
|
2002-03-03 20:25:07 +00:00
|
|
|
InsetMarginal(BufferParams const &);
|
2000-06-26 18:48:45 +00:00
|
|
|
///
|
2001-07-27 12:03:36 +00:00
|
|
|
InsetMarginal(InsetMarginal const &, bool same_id = false);
|
|
|
|
///
|
|
|
|
Inset * clone(Buffer const &, bool same_id = false) const;
|
|
|
|
///
|
2001-06-28 10:25:20 +00:00
|
|
|
Inset::Code lyxCode() const { return Inset::MARGIN_CODE; }
|
2000-06-26 18:48:45 +00:00
|
|
|
///
|
2001-06-28 10:25:20 +00:00
|
|
|
int latex(Buffer const *, std::ostream &, bool fragile, bool fp) const;
|
2000-06-26 18:48:45 +00:00
|
|
|
///
|
2001-06-28 10:25:20 +00:00
|
|
|
string const editMessage() const;
|
2000-06-26 18:48:45 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|