X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Finsets%2FInsetFoot.h;h=04e03fde7b0fd0fc57fec11171e30dd26fd2f9e3;hb=62af7ee772f16f154225d2d0b65d77f4376b6001;hp=172efd6e06d25bbb2ba98c2f270daecfeb3b0ec9;hpb=f7b1c86393d890d5d473279d88e26bb78f8c1275;p=lyx.git diff --git a/src/insets/InsetFoot.h b/src/insets/InsetFoot.h index 172efd6e06..04e03fde7b 100644 --- a/src/insets/InsetFoot.h +++ b/src/insets/InsetFoot.h @@ -4,8 +4,8 @@ * This file is part of LyX, the document processor. * Licence details can be found in the file COPYING. * - * \author Jürgen Vigna - * \author Lars Gullik Bjønnes + * \author Jürgen Vigna + * \author Lars Gullik Bjønnes * * Full author contact details are available in file CREDITS. */ @@ -21,32 +21,35 @@ namespace lyx { /** The footnote inset */ -class InsetFoot : public InsetFootlike { +class InsetFoot : public InsetFootlike +{ public: /// - InsetFoot(BufferParams const &); + explicit InsetFoot(Buffer *); +private: /// InsetCode lyxCode() const { return FOOT_CODE; } /// - docstring name() const { return from_ascii("Foot"); } - /// - int latex(Buffer const &, odocstream &, - OutputParams const &) const; + docstring layoutName() const; /// - int plaintext(Buffer const &, odocstream &, - OutputParams const &) const; + int plaintext(odocstringstream & ods, OutputParams const & op, + size_t max_length = INT_MAX) const; /// - int docbook(Buffer const &, odocstream &, - OutputParams const &) const; + int docbook(odocstream &, OutputParams const &) const; /// - virtual docstring const editMessage() const; + void validate(LaTeXFeatures & features) const; /// Update the counters of this inset and of its contents - void updateLabels(Buffer const &, ParIterator const &); - -protected: - InsetFoot(InsetFoot const &); -private: - virtual Inset * clone() const; + void updateBuffer(ParIterator const &, UpdateType); + /// + docstring toolTip(BufferView const & bv, int x, int y) const; + /// + Inset * clone() const { return new InsetFoot(*this); } + /// + docstring custom_label_; + /// + bool intitle_; + /// + bool infloattable_; };