2001-07-20 09:57:23 +00:00
|
|
|
// -*- C++ -*-
|
2002-09-25 14:26:13 +00:00
|
|
|
/**
|
|
|
|
* \file insetnote.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 Angus Leeming
|
2001-07-20 09:57:23 +00:00
|
|
|
*
|
2002-09-25 14:26:13 +00:00
|
|
|
* Full author contact details are available in file CREDITS
|
2001-07-20 09:57:23 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef INSETNOTE_H
|
|
|
|
#define INSETNOTE_H
|
|
|
|
|
|
|
|
|
|
|
|
#include "insetcollapsable.h"
|
|
|
|
|
|
|
|
/** The PostIt note inset
|
2002-03-21 17:09:55 +00:00
|
|
|
|
2001-07-20 09:57:23 +00:00
|
|
|
*/
|
|
|
|
class InsetNote : public InsetCollapsable {
|
|
|
|
public:
|
2002-03-21 17:09:55 +00:00
|
|
|
///
|
2002-03-03 20:25:07 +00:00
|
|
|
InsetNote(BufferParams const &);
|
2001-07-27 12:03:36 +00:00
|
|
|
///
|
2003-05-26 09:13:55 +00:00
|
|
|
InsetNote(InsetNote const &);
|
2001-07-27 12:03:36 +00:00
|
|
|
///
|
2003-06-16 11:49:38 +00:00
|
|
|
InsetBase * clone() const;
|
2003-05-26 09:13:55 +00:00
|
|
|
///
|
2001-08-18 15:01:09 +00:00
|
|
|
string const editMessage() const;
|
2001-07-20 09:57:23 +00:00
|
|
|
///
|
2002-08-04 23:11:50 +00:00
|
|
|
Inset::Code lyxCode() const { return Inset::NOTE_CODE; }
|
2001-07-20 09:57:23 +00:00
|
|
|
///
|
2001-08-18 15:01:09 +00:00
|
|
|
void write(Buffer const *, std::ostream &) const;
|
2001-07-20 09:57:23 +00:00
|
|
|
///
|
2003-05-23 08:59:47 +00:00
|
|
|
int latex(Buffer const *, std::ostream &,
|
|
|
|
LatexRunParams const &) const
|
2001-07-20 09:57:23 +00:00
|
|
|
{ return 0; }
|
2001-08-18 15:01:09 +00:00
|
|
|
///
|
2002-03-05 13:38:40 +00:00
|
|
|
int linuxdoc(Buffer const *, std::ostream &) const
|
|
|
|
{ return 0; }
|
|
|
|
///
|
2002-06-18 15:44:30 +00:00
|
|
|
int docbook(Buffer const *, std::ostream &, bool) const
|
2002-03-05 13:38:40 +00:00
|
|
|
{ return 0; }
|
|
|
|
///
|
2002-04-16 16:43:19 +00:00
|
|
|
int ascii(Buffer const *, std::ostream &, int) const
|
|
|
|
{ return 0; }
|
|
|
|
///
|
2001-08-18 15:01:09 +00:00
|
|
|
void validate(LaTeXFeatures &) const {}
|
2001-07-23 09:11:14 +00:00
|
|
|
private:
|
|
|
|
/// used by the constructors
|
|
|
|
void init();
|
|
|
|
|
2001-07-20 09:57:23 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|