]> git.lyx.org Git - features.git/blobdiff - src/insets/insetfoot.h
several changes and some new insets, read the Changelog
[features.git] / src / insets / insetfoot.h
index 6a3249ec0985b3ba84c58fef6338d71ecae95c35..33f3eac1ade37b0414f24a52ba456462bd3d0cc6 100644 (file)
@@ -20,7 +20,6 @@
 
 #include "insetcollapsable.h"
 
-
 class Painter;
 
 /** The footnote inset
@@ -28,28 +27,27 @@ class Painter;
 */
 class InsetFoot : public InsetCollapsable {
 public:
-    ///
-    InsetFoot(Buffer *);
-    ///
-    ~InsetFoot() {}
-    ///
-    Inset * Clone() const;
-    ///
-    Inset::Code LyxCode() const { return Inset::FOOT_CODE; }
-#ifndef USE_OSTREAM_ONLY
-    ///
-    int Latex(string &, signed char) const;
-#endif
-    ///
-    int Latex(ostream &, signed char, bool fp) const;
-    ///
-    void Write(ostream &) const;
-    ///
-    void Read(LyXLex &);
-    ///
-    const char * EditMessage() const;
-    ///
-    bool InsertInset(BufferView *, Inset * inset);
+       ///
+       explicit
+       InsetFoot();
+       ///
+       ~InsetFoot() {}
+       ///
+       void Write(Buffer const * buf, ostream & os) const;
+       ///
+       Inset * Clone() const;
+       ///
+       Inset::Code LyxCode() const { return Inset::FOOT_CODE; }
+       ///
+       int Latex(Buffer const *, std::ostream &, bool fragile, bool fp) const;
+       ///
+       const char * EditMessage() const;
+       ///
+       bool InsertInset(BufferView *, Inset * inset);
+       ///
+       bool InsertInsetAllowed(Inset * inset) const;
+       ///
+       LyXFont GetDrawFont(BufferView *, LyXParagraph * par, int pos) const;
 };
 
 #endif