* Full author contact details are available in file CREDITS
*/
-#ifndef InsetFloat_H
-#define InsetFloat_H
-
+#ifndef INSETFLOAT_H
+#define INSETFLOAT_H
#include "insetcollapsable.h"
#include "toc.h"
struct InsetFloatParams {
///
- InsetFloatParams() : placement("htbp"), wide(false) {}
+ InsetFloatParams() : wide(false) {}
///
void write(std::ostream & os) const;
///
insets that may contain several paragraphs */
bool noFontChange() const { return true; }
///
- string const & type() const;
- ///
- void placement(string const & p);
- ///
- string const & placement() const;
- ///
void wide(bool w, BufferParams const &);
///
- bool wide() const;
- ///
void addToToc(toc::TocList &, Buffer const *) const;
///
bool showInsetDialog(BufferView *) const;
///
InsetFloatMailer(InsetFloat & inset);
///
- virtual Inset & inset() const { return inset_; }
+ virtual InsetBase & inset() const { return inset_; }
///
virtual string const & name() const { return name_; }
///
///
static void string2params(string const &, InsetFloatParams &);
///
- static string const params2string(string const & name,
- InsetFloatParams const &);
+ static string const params2string(InsetFloatParams const &);
private:
///
- string const name_;
+ static string const name_;
///
InsetFloat & inset_;
};