X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Finsets%2FInsetFoot.h;h=d032e04848fc7d38c817dfd15feb23136849cc81;hb=1bd422355430d4753e48eee298dafaf8c1ac458f;hp=725f3ef2c5e04c6941c9d5fc3797fd87fc763bae;hpb=51fbea02a8f7dc1e360a61bdc95d5ac9200cb5f6;p=lyx.git diff --git a/src/insets/InsetFoot.h b/src/insets/InsetFoot.h index 725f3ef2c5..d032e04848 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,29 +21,35 @@ 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; } /// - docstring getInsetName() const { return from_ascii("Foot"); } + docstring layoutName() const; /// - int latex(Buffer const &, odocstream &, - OutputParams const &) const; + int plaintext(odocstringstream & ods, OutputParams const & op, + size_t max_length = INT_MAX) const; /// - int plaintext(Buffer const &, odocstream &, - OutputParams const &) const; + int docbook(odocstream &, OutputParams const &) const; /// - int docbook(Buffer const &, odocstream &, - OutputParams const &) const; + void validate(LaTeXFeatures & features) 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; + docstring toolTip(BufferView const & bv, int x, int y) const; + /// + Inset * clone() const { return new InsetFoot(*this); } + /// + docstring custom_label_; + /// + bool intitle_; + /// + bool infloattable_; };