]> git.lyx.org Git - lyx.git/blobdiff - src/insets/insetnote.h
Copyright notices
[lyx.git] / src / insets / insetnote.h
index 5ac501f8452edec4f91821c1c08526e5f599f528..5a4e9414060f267e65618245d0aeeb1604738198 100644 (file)
@@ -1,12 +1,12 @@
 // -*- C++ -*-
-/* This file is part of
- * ======================================================
- * 
- *           LyX, The Document Processor
+/**
+ * \file insetnote.h
+ * This file is part of LyX, the document processor.
+ * Licence details can be found in the file COPYING.
  *
- *           Copyright 2001 The LyX Team.
+ * \author Angus Leeming
  *
- *======================================================
+ * Full author contact details are available in file CREDITS
  */
 
 #ifndef INSETNOTE_H
 #include "insetcollapsable.h"
 
 /** The PostIt note inset
-  
+
 */
 class InsetNote : public InsetCollapsable {
 public:
        ///
-       InsetNote();
+       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::NOTE_CODE; }
        ///
-       virtual Inset * clone(Buffer const &, bool) const;
+       void write(Buffer const *, std::ostream &) const;
        ///
-       virtual string const editMessage() const;
+       int latex(Buffer const *, std::ostream &, bool, bool) const
+               { return 0; }
        ///
-       virtual Inset::Code lyxCode() const { return Inset::IGNORE_CODE; }
+       int linuxdoc(Buffer const *, std::ostream &) const
+               { return 0; }
        ///
-       virtual void write(Buffer const *, std::ostream &) const;
+       int docbook(Buffer const *, std::ostream &, bool) const
+               { return 0; }
        ///
-       virtual int latex(Buffer const *, std::ostream &, bool, bool) const
+       int ascii(Buffer const *, std::ostream &, int) const
                { return 0; }
+       ///
+       void validate(LaTeXFeatures &) const {}
+private:
+       /// used by the constructors
+       void init();
+
 };
 
 #endif