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