lyx_mirror/src/insets/insetnote.h

57 lines
1.1 KiB
C
Raw Normal View History

// -*- C++ -*-
/**
* \file insetnote.h
* This file is part of LyX, the document processor.
* Licence details can be found in the file COPYING.
*
* \author Angus Leeming
*
* Full author contact details are available in file CREDITS
*/
#ifndef INSETNOTE_H
#define INSETNOTE_H
#include "insetcollapsable.h"
/** The PostIt note inset
*/
class InsetNote : public InsetCollapsable {
public:
///
InsetNote(BufferParams const &);
///
InsetNote(InsetNote const &);
///
InsetBase * clone() const;
///
string const editMessage() const;
///
Inset::Code lyxCode() const { return Inset::NOTE_CODE; }
///
void write(Buffer const *, std::ostream &) const;
///
int latex(Buffer const *, std::ostream &,
LatexRunParams const &) const
{ return 0; }
///
int linuxdoc(Buffer const *, std::ostream &) const
{ return 0; }
///
int docbook(Buffer const *, std::ostream &, bool) const
{ return 0; }
///
int ascii(Buffer const *, std::ostream &, int) const
{ return 0; }
///
void validate(LaTeXFeatures &) const {}
private:
/// used by the constructors
void init();
};
#endif