]> git.lyx.org Git - lyx.git/blobdiff - src/insets/insetmarginal.h
fix #832
[lyx.git] / src / insets / insetmarginal.h
index d9698ff3c2855ac89b3d277bdaa5ce0df26c8870..e7551a9a6a39063ad0b75de3da1e6eb83161670b 100644 (file)
@@ -1,49 +1,38 @@
 // -*- C++ -*-
-/* This file is part of
- * ======================================================
- * 
- *           LyX, The Document Processor
+/**
+ * \file insetmarginal.h
+ * This file is part of LyX, the document processor.
+ * Licence details can be found in the file COPYING.
  *
- *           Copyright 1998 The LyX Team.
+ * \author Jürgen Vigna
+ * \author Lars Gullik Bjønnes
  *
- *======================================================
+ * Full author contact details are available in file CREDITS
  */
 
 #ifndef INSETMARGINAL_H
 #define INSETMARGINAL_H
 
-#ifdef __GNUG__
-#pragma interface
-#endif
-
-#include "insetcollapsable.h"
 
-class Painter;
+#include "insetfootlike.h"
 
 /** The marginal note inset
-  
+
 */
-class InsetMarginal : public InsetCollapsable {
+class InsetMarginal : public InsetFootlike {
 public:
        ///
-       explicit
-       InsetMarginal();
-       ///
-       ~InsetMarginal() {}
-       ///
-       Inset * Clone() const;
-       ///
-       Inset::Code LyxCode() const { return Inset::MARGIN_CODE; }
+       InsetMarginal(BufferParams const &);
        ///
-       int Latex(Buffer const *, std::ostream &, bool fragile, bool fp) const;
+       InsetMarginal(InsetMarginal const &, bool same_id = false);
        ///
-       const char * EditMessage() const;
+       Inset * clone(Buffer const &, bool same_id = false) const;
        ///
-       bool InsertInset(BufferView *, Inset * inset);
+       Inset::Code lyxCode() const { return Inset::MARGIN_CODE; }
        ///
-       bool InsertInsetAllowed(Inset * inset) const;
+       int latex(Buffer const *, std::ostream &, bool fragile, bool fp) const;
        ///
-       LyXFont GetDrawFont(BufferView *, LyXParagraph * par, int pos) const;
+       string const editMessage() const;
 };
 
 #endif