X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Finsets%2FInsetFoot.h;h=f77ae3fedf2ed7c33472651079caed9fbc737811;hb=90f7007a2e6c78ffd031e4636ff909ab1bc2ddec;hp=1c7b74810101c0d3dcaab8c6c08448b31d69b946;hpb=b0d1a6b717c428396fe204dd59ef4a31e2edb09c;p=lyx.git diff --git a/src/insets/InsetFoot.h b/src/insets/InsetFoot.h index 1c7b748101..f77ae3fedf 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,32 @@ namespace lyx { /** The footnote inset */ -class InsetFoot : public InsetFootlike { +class InsetFoot : public InsetFootlike +{ public: /// - InsetFoot(BufferParams const &); - /// - Inset::Code lyxCode() const { return Inset::FOOT_CODE; } + InsetFoot(Buffer *); +private: /// - docstring name() const { return from_ascii("Foot"); } + InsetCode lyxCode() const { return FOOT_CODE; } /// - int latex(Buffer const &, odocstream &, - OutputParams const &) const; + docstring layoutName() const { return from_ascii("Foot"); } /// - int plaintext(Buffer const &, odocstream &, - OutputParams const &) const; + void latex(otexstream &, OutputParams const &) const; /// - int docbook(Buffer const &, odocstream &, - OutputParams const &) const; + int plaintext(odocstream &, OutputParams const &) const; /// - virtual docstring const editMessage() const; + int docbook(odocstream &, OutputParams const &) const; /// Update the counters of this inset and of its contents - void updateLabels(Buffer const &, ParIterator const &); - -protected: - InsetFoot(InsetFoot const &); -private: - virtual std::auto_ptr doClone() const; + void updateBuffer(ParIterator const &, UpdateType); + /// + void addToToc(DocIterator const &) const; + /// + docstring toolTip(BufferView const & bv, int x, int y) const; + /// + Inset * clone() const { return new InsetFoot(*this); } + /// + docstring custom_label_; };