X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Finsets%2FInsetFoot.h;h=f145d5ce1678da22a01e401e13c66206509d91b0;hb=d4550b7a4d64e9ff772cf3a7635cb4ca532fb340;hp=6514d133630c24ff1f6b4a689e45854932774754;hpb=a694476ac68fd56c23eace194e9e6ac5b2a5cac5;p=lyx.git diff --git a/src/insets/InsetFoot.h b/src/insets/InsetFoot.h index 6514d13363..f145d5ce16 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,31 +21,34 @@ namespace lyx { /** The footnote inset */ -class InsetFoot : public InsetFootlike { +class InsetFoot : public InsetFootlike +{ public: /// - InsetFoot(Buffer const &); + InsetFoot(Buffer *); +private: /// InsetCode lyxCode() const { return FOOT_CODE; } /// - docstring name() const { return from_ascii("Foot"); } - /// - int latex(odocstream &, OutputParams const &) const; + docstring layoutName() const; /// - int plaintext(odocstream &, OutputParams const &) const; + int plaintext(odocstringstream & ods, OutputParams const & op, + size_t max_length = INT_MAX) const; /// int docbook(odocstream &, OutputParams const &) const; - /// - docstring editMessage() const; /// Update the counters of this inset and of its contents - void updateLabels(ParIterator const &); + void updateBuffer(ParIterator const &, UpdateType); + /// + void addToToc(DocIterator const & di, bool output_active, + UpdateType utype) const; + /// + docstring toolTip(BufferView const & bv, int x, int y) const; /// - void addToToc(ParConstIterator const &) const; - -protected: - InsetFoot(InsetFoot const &); -private: Inset * clone() const { return new InsetFoot(*this); } + /// + docstring custom_label_; + /// + bool intitle_; };