mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-13 14:32:04 +00:00
a654de29ea
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3802 a592a061-630c-0410-9148-cb99ea01b6c8
58 lines
1.2 KiB
C++
58 lines
1.2 KiB
C++
// -*- C++ -*-
|
|
/* This file is part of
|
|
* ======================================================
|
|
*
|
|
* LyX, The Document Processor
|
|
*
|
|
* Copyright 2001 The LyX Team.
|
|
*
|
|
*======================================================
|
|
*/
|
|
|
|
#ifndef INSETNOTE_H
|
|
#define INSETNOTE_H
|
|
|
|
#ifdef __GNUG__
|
|
#pragma interface
|
|
#endif
|
|
|
|
#include "insetcollapsable.h"
|
|
|
|
/** The PostIt note inset
|
|
|
|
*/
|
|
class InsetNote : public InsetCollapsable {
|
|
public:
|
|
///
|
|
InsetNote(BufferParams const &);
|
|
///
|
|
InsetNote(InsetNote const &, bool same_id = false);
|
|
///
|
|
Inset * clone(Buffer const &, bool same_id = false) const;
|
|
/// constructor with initial contents
|
|
InsetNote(Buffer const *, string const & contents, bool collapsed);
|
|
///
|
|
string const editMessage() const;
|
|
///
|
|
Inset::Code lyxCode() const { return Inset::IGNORE_CODE; }
|
|
///
|
|
void write(Buffer const *, std::ostream &) const;
|
|
///
|
|
int latex(Buffer const *, std::ostream &, bool, bool) const
|
|
{ return 0; }
|
|
///
|
|
int linuxdoc(Buffer const *, std::ostream &) const
|
|
{ return 0; }
|
|
///
|
|
int docbook(Buffer const *, std::ostream &) const
|
|
{ return 0; }
|
|
///
|
|
void validate(LaTeXFeatures &) const {}
|
|
private:
|
|
/// used by the constructors
|
|
void init();
|
|
|
|
};
|
|
|
|
#endif
|