X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Finsets%2Finsetfloat.h;h=42288867165ea0d8c375c0be49d8714023439b36;hb=4a5b7a5952ad2381fcdf4830511293e184c7c5a1;hp=021a27b2fe47bce4c5968f036efa16a7fb0a0916;hpb=74b224fcba406f4ea4d1f1fa91a63aea39ca2712;p=lyx.git diff --git a/src/insets/insetfloat.h b/src/insets/insetfloat.h index 021a27b2fe..4228886716 100644 --- a/src/insets/insetfloat.h +++ b/src/insets/insetfloat.h @@ -17,6 +17,7 @@ #endif #include "insetcollapsable.h" +#include 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 hideDialog; private: /// string floatType_;