X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Finsets%2FInsetFoot.h;h=1e4b0d26e83749e97e550ef6ceef6bbd5dab78e2;hb=eeb36e808c9726fd3689926a3c20457e3b801341;hp=bba24100673490b3542eab06d465380f970c16e1;hpb=78c45693ef3f99a7671443238b448f4a69fd7717;p=lyx.git diff --git a/src/insets/InsetFoot.h b/src/insets/InsetFoot.h index bba2410067..1e4b0d26e8 100644 --- a/src/insets/InsetFoot.h +++ b/src/insets/InsetFoot.h @@ -25,28 +25,35 @@ class InsetFoot : public InsetFootlike { public: /// - InsetFoot(Buffer const &); + explicit InsetFoot(Buffer *); private: /// - InsetCode lyxCode() const { return FOOT_CODE; } + InsetCode lyxCode() const override { return FOOT_CODE; } /// - docstring name() const { return from_ascii("Foot"); } + docstring layoutName() const override; /// - int latex(odocstream &, OutputParams const &) const; + int plaintext(odocstringstream & ods, OutputParams const & op, + size_t max_length = INT_MAX) const override; /// - int plaintext(odocstream &, OutputParams const &) const; + void docbook(XMLStream &, OutputParams const &) const override; /// - int docbook(odocstream &, OutputParams const &) const; + void validate(LaTeXFeatures & features) const override; /// Update the counters of this inset and of its contents - void updateLabels(ParIterator const &); + void updateBuffer(ParIterator const &, UpdateType, bool const deleted = false) override; /// - void addToToc(DocIterator const &); + docstring toolTip(BufferView const & bv, int x, int y) const override; /// - docstring toolTip(BufferView const & bv, int x, int y) const; + Inset * clone() const override { return new InsetFoot(*this); } /// - Inset * clone() const { return new InsetFoot(*this); } + bool inheritFont() const override { return true; } + /// + bool allowMultiPar() const override { return true; } /// docstring custom_label_; + /// + bool intitle_; + /// + bool infloattable_; };