///
void validate(LaTeXFeatures & features) const;
///
- Inset::Code lyxCode() const { return Inset::FLOAT_CODE; }
- ///
- virtual bool wide() const { return false; }
+ InsetCode lyxCode() const { return FLOAT_CODE; }
///
int latex(Buffer const &, odocstream &,
- OutputParams const &) const;
+ OutputParams const &) const;
///
int plaintext(Buffer const &, odocstream &,
- OutputParams const &) const;
+ OutputParams const &) const;
///
int docbook(Buffer const &, odocstream &,
- OutputParams const &) const;
+ OutputParams const &) const;
///
virtual docstring const editMessage() const;
///
- bool insetAllowed(Inset::Code) const;
+ bool insetAllowed(InsetCode) const;
/** returns true if, when outputing LaTeX, font changes should
be closed before generating this inset. This is needed for
insets that may contain several paragraphs */
///
void sideways(bool s, BufferParams const &);
///
- void addToToc(TocList &, Buffer const &) const;
- ///
bool showInsetDialog(BufferView *) const;
///
InsetFloatParams const & params() const { return params_; }
///
bool getStatus(Cursor &, FuncRequest const &, FuncStatus &) const;
+ // Update the counters of this inset and of its contents
+ virtual void updateLabels(Buffer const &, ParIterator const &);
protected:
virtual void doDispatch(Cursor & cur, FuncRequest & cmd);
private:
///
- virtual std::auto_ptr<Inset> doClone() const;
+ virtual Inset * clone() const;
///
InsetFloatParams params_;
///