]> git.lyx.org Git - lyx.git/blobdiff - src/insets/insetfloat.h
fix compilation pb ; update eu.po
[lyx.git] / src / insets / insetfloat.h
index 8669911d5e4307a4a83f1106329f6cb4c29b5de2..63fcf57dd84eceeaa44a03c24e2d083719d65b6c 100644 (file)
@@ -26,7 +26,7 @@ class Painter;
 class InsetFloat : public InsetCollapsable {
 public:
        ///
-       InsetFloat();
+       InsetFloat(string const &);
        ///
        void Write(Buffer const * buf, std::ostream & os) const;
        ///
@@ -34,24 +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 InsertInsetAllowed(Inset * inset) const;
+       string const EditMessage() const;
        ///
-//     LyXFont GetDrawFont(BufferView *, LyXParagraph * par, int pos) const;
+       bool InsertInsetAllowed(Inset * inset) 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