X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Finsets%2FInsetFoot.h;h=f145d5ce1678da22a01e401e13c66206509d91b0;hb=d4550b7a4d64e9ff772cf3a7635cb4ca532fb340;hp=dddba1f1159c7f7b7352e2ae67dc4077dfe67140;hpb=c8d00ed1272cd489041bed2115081008b6a26489;p=lyx.git diff --git a/src/insets/InsetFoot.h b/src/insets/InsetFoot.h index dddba1f115..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,27 +21,34 @@ namespace lyx { /** The footnote inset */ -class InsetFoot : public InsetFootlike { +class InsetFoot : public InsetFootlike +{ public: /// - InsetFoot(BufferParams const &); + InsetFoot(Buffer *); +private: /// - InsetBase::Code lyxCode() const { return InsetBase::FOOT_CODE; } + InsetCode lyxCode() const { return FOOT_CODE; } /// - 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; + /// Update the counters of this inset and of its contents + void updateBuffer(ParIterator const &, UpdateType); /// - virtual docstring const editMessage() const; -protected: - InsetFoot(InsetFoot const &); -private: - virtual std::auto_ptr doClone() const; + void addToToc(DocIterator const & di, bool output_active, + UpdateType utype) const; + /// + docstring toolTip(BufferView const & bv, int x, int y) const; + /// + Inset * clone() const { return new InsetFoot(*this); } + /// + docstring custom_label_; + /// + bool intitle_; };