]> git.lyx.org Git - lyx.git/blobdiff - src/insets/insetfloat.h
fix compilation pb ; update eu.po
[lyx.git] / src / insets / insetfloat.h
index b76d4e0241a0905443ce2120885a92a1f79b5df7..63fcf57dd84eceeaa44a03c24e2d083719d65b6c 100644 (file)
@@ -26,10 +26,7 @@ class Painter;
 class InsetFloat : public InsetCollapsable {
 public:
        ///
-       explicit
-       InsetFloat();
-       ///
-       ~InsetFloat() {}
+       InsetFloat(string const &);
        ///
        void Write(Buffer const * buf, std::ostream & os) const;
        ///
@@ -37,26 +34,36 @@ public:
        ///
        void Validate(LaTeXFeatures & features) const;
        ///
-       Inset * Clone() const;
+       Inset * Clone(Buffer const &) const;
        ///
        Inset::Code LyxCode() const { return Inset::FLOAT_CODE; }
        ///
        int Latex(Buffer const *, std::ostream &, bool fragile, bool fp) const;
        ///
-       const char * EditMessage() const;
+       int DocBook(Buffer const *, std::ostream &) const;
        ///
-       bool InsertInset(BufferView *, Inset * inset);
+       string const EditMessage() const;
        ///
        bool InsertInsetAllowed(Inset * inset) const;
        ///
-       LyXFont GetDrawFont(BufferView *, LyXParagraph * par, int pos) const;
-       ///
        void InsetButtonRelease(BufferView * bv, int x, int y, int button);
+       ///
+       string const & type() const;
+       ///
+       void placement(string const & p);
+       ///
+       string const & placement() const;
+       ///
+       void wide(bool w);
+       ///
+       bool wide() const;
 private:
        ///
-       string floatType;
+       string floatType_;
+       ///
+       string floatPlacement_;
        ///
-       string floatPlacement;
+       bool wide_;
 };
 
 #endif