2000-06-26 18:48:45 +00:00
|
|
|
|
// -*- C++ -*-
|
2002-09-25 14:26:13 +00:00
|
|
|
|
/**
|
|
|
|
|
* \file insetmarginal.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 J<EFBFBD>rgen Vigna
|
|
|
|
|
* \author Lars Gullik Bj<EFBFBD>nnes
|
2000-06-26 18:48:45 +00:00
|
|
|
|
*
|
2003-08-23 00:17:00 +00:00
|
|
|
|
* Full author contact details are available in file CREDITS.
|
2000-06-26 18:48:45 +00:00
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
#ifndef INSETMARGINAL_H
|
|
|
|
|
#define INSETMARGINAL_H
|
|
|
|
|
|
|
|
|
|
|
2000-07-04 19:16:35 +00:00
|
|
|
|
#include "insetfootlike.h"
|
2000-06-26 18:48:45 +00:00
|
|
|
|
|
|
|
|
|
/** The marginal note inset
|
2002-03-21 17:09:55 +00:00
|
|
|
|
|
2000-06-26 18:48:45 +00:00
|
|
|
|
*/
|
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
|
|
|
|
///
|
2003-05-26 09:13:55 +00:00
|
|
|
|
InsetMarginal(InsetMarginal const &);
|
2001-07-27 12:03:36 +00:00
|
|
|
|
///
|
2003-07-25 17:11:25 +00:00
|
|
|
|
virtual std::auto_ptr<InsetBase> clone() const;
|
2003-05-26 09:13:55 +00:00
|
|
|
|
///
|
2003-07-25 21:20:24 +00:00
|
|
|
|
InsetOld::Code lyxCode() const { return InsetOld::MARGIN_CODE; }
|
2000-06-26 18:48:45 +00:00
|
|
|
|
///
|
2003-08-28 07:41:31 +00:00
|
|
|
|
int latex(Buffer const &, std::ostream &,
|
2003-05-23 08:59:47 +00:00
|
|
|
|
LatexRunParams const &) const;
|
2000-06-26 18:48:45 +00:00
|
|
|
|
///
|
2003-10-06 15:43:21 +00:00
|
|
|
|
std::string const editMessage() const;
|
2000-06-26 18:48:45 +00:00
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
#endif
|