X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Finsets%2Finsetfloat.h;h=42288867165ea0d8c375c0be49d8714023439b36;hb=4a5b7a5952ad2381fcdf4830511293e184c7c5a1;hp=62e51aae9eed9e80d70e31ef877700f3159ad1c3;hpb=8ed9dbabde30b31a6a14e032fa42f682a196ef7a;p=lyx.git diff --git a/src/insets/insetfloat.h b/src/insets/insetfloat.h index 62e51aae9e..4228886716 100644 --- a/src/insets/insetfloat.h +++ b/src/insets/insetfloat.h @@ -17,6 +17,7 @@ #endif #include "insetcollapsable.h" +#include class Painter; @@ -28,32 +29,46 @@ 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() 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; /// - const char * 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; + string floatType_; /// - string floatPlacement; + string floatPlacement_; /// bool wide_; };