X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Finsets%2Finsetfloat.h;h=42288867165ea0d8c375c0be49d8714023439b36;hb=4a5b7a5952ad2381fcdf4830511293e184c7c5a1;hp=74e37eb461dfe6eae298a0202c078de1a5200e49;hpb=42a1e2ea5a05435f9b07c6274b966e2ae13d4615;p=lyx.git diff --git a/src/insets/insetfloat.h b/src/insets/insetfloat.h index 74e37eb461..4228886716 100644 --- a/src/insets/insetfloat.h +++ b/src/insets/insetfloat.h @@ -17,6 +17,7 @@ #endif #include "insetcollapsable.h" +#include class Painter; @@ -28,23 +29,27 @@ 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; /// @@ -55,6 +60,10 @@ public: void wide(bool w); /// bool wide() const; + /// + bool showInsetDialog(BufferView *) const; + /// + SigC::Signal0 hideDialog; private: /// string floatType_;