]> git.lyx.org Git - lyx.git/blobdiff - src/insets/insetfloat.h
Don't remove cell selections after fontchange.
[lyx.git] / src / insets / insetfloat.h
index 021a27b2fe47bce4c5968f036efa16a7fb0a0916..42288867165ea0d8c375c0be49d8714023439b36 100644 (file)
@@ -17,6 +17,7 @@
 #endif
 
 #include "insetcollapsable.h"
+#include <sigc++/signal_system.h>
 
 class Painter;
 
@@ -28,29 +29,41 @@ public:
        ///
        InsetFloat(string const &);
        ///
-       void Write(Buffer const * buf, std::ostream & os) const;
+       InsetFloat(InsetFloat const &, bool same_id = false);
        ///
-       void Read(Buffer const * buf, LyXLex & lex);
+       ~InsetFloat();
        ///
-       void Validate(LaTeXFeatures & features) const;
+       void write(Buffer const * buf, std::ostream & os) const;
        ///
-       Inset * Clone(Buffer const &) const;
+       void read(Buffer const * buf, LyXLex & lex);
        ///
-       Inset::Code LyxCode() const { return Inset::FLOAT_CODE; }
+       void validate(LaTeXFeatures & features) const;
        ///
-       int Latex(Buffer const *, std::ostream &, bool fragile, bool fp) const;
+       Inset * clone(Buffer const &, bool same_id = false) const;
        ///
-       string const EditMessage() const;
+       Inset::Code lyxCode() const { return Inset::FLOAT_CODE; }
        ///
-       bool InsertInsetAllowed(Inset * inset) const;
+       int latex(Buffer const *, std::ostream &, bool fragile, bool fp) const;
        ///
-       void InsetButtonRelease(BufferView * bv, int x, int y, int button);
+       int docbook(Buffer const *, std::ostream &) const;
+       ///
+       string const editMessage() const;
+       ///
+       bool insetAllowed(Inset::Code) const;
        ///
        string const & type() const;
        ///
+       void placement(string const & p);
+       ///
+       string const & placement() const;
+       ///
        void wide(bool w);
        ///
        bool wide() const;
+       ///
+       bool  showInsetDialog(BufferView *) const;
+       ///
+       SigC::Signal0<void> hideDialog;
 private:
        ///
        string floatType_;