X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Finsets%2Finsetfloat.h;h=42288867165ea0d8c375c0be49d8714023439b36;hb=4a5b7a5952ad2381fcdf4830511293e184c7c5a1;hp=b76d4e0241a0905443ce2120885a92a1f79b5df7;hpb=ee16c6dfc0268060144dd4de0d40d43d2b25622c;p=lyx.git diff --git a/src/insets/insetfloat.h b/src/insets/insetfloat.h index b76d4e0241..4228886716 100644 --- a/src/insets/insetfloat.h +++ b/src/insets/insetfloat.h @@ -17,6 +17,7 @@ #endif #include "insetcollapsable.h" +#include class Painter; @@ -26,37 +27,50 @@ class Painter; class InsetFloat : public InsetCollapsable { public: /// - explicit - InsetFloat(); + InsetFloat(string const &); /// - ~InsetFloat() {} + InsetFloat(InsetFloat const &, bool same_id = false); /// - void Write(Buffer const * buf, std::ostream & os) const; + ~InsetFloat(); /// - void Read(Buffer const * buf, LyXLex & lex); + void write(Buffer const * buf, std::ostream & os) const; /// - void Validate(LaTeXFeatures & features) const; + void read(Buffer const * buf, LyXLex & lex); /// - Inset * Clone() const; + void validate(LaTeXFeatures & features) const; /// - Inset::Code LyxCode() const { return Inset::FLOAT_CODE; } + Inset * clone(Buffer const &, bool same_id = false) const; /// - int Latex(Buffer const *, std::ostream &, bool fragile, bool fp) const; + Inset::Code lyxCode() const { return Inset::FLOAT_CODE; } /// - const char * EditMessage() const; + int latex(Buffer const *, std::ostream &, bool fragile, bool fp) const; /// - bool InsertInset(BufferView *, Inset * inset); + 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 insetAllowed(Inset::Code) 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; + /// + bool showInsetDialog(BufferView *) const; + /// + SigC::Signal0 hideDialog; private: /// - string floatType; + string floatType_; + /// + string floatPlacement_; /// - string floatPlacement; + bool wide_; }; #endif