class InsetFloat : public InsetCollapsable {
public:
///
- explicit
- InsetFloat();
- ///
- ~InsetFloat() {}
+ InsetFloat(string const &);
///
void Write(Buffer const * buf, std::ostream & os) const;
///
///
void Validate(LaTeXFeatures & features) const;
///
- Inset * Clone() const;
+ Inset * Clone(Buffer const &) const;
///
Inset::Code LyxCode() const { return Inset::FLOAT_CODE; }
///
int Latex(Buffer const *, std::ostream &, bool fragile, bool fp) const;
///
- const char * EditMessage() const;
- ///
- bool InsertInset(BufferView *, Inset * inset);
+ string const EditMessage() const;
///
bool InsertInsetAllowed(Inset * inset) const;
///
-// LyXFont GetDrawFont(BufferView *, LyXParagraph * par, int pos) 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;
private:
///
- string floatType;
+ string floatType_;
+ ///
+ string floatPlacement_;
///
- string floatPlacement;
+ bool wide_;
};
#endif