]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetFoot.h
#7379 avoid the wrap spell check question when buffer is empty
[lyx.git] / src / insets / InsetFoot.h
index 0df579e0f4155fbc3acd09896bb5af49dea80c6b..e2ba08edb26263b37ce3afe6159bd8479fe4d639 100644 (file)
@@ -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.
  */
@@ -25,26 +25,28 @@ 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;
+       void latex(otexstream &, OutputParams const &) const;
        ///
        int plaintext(odocstream &, OutputParams const &) 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 &) const;
        ///
-       void addToToc(ParConstIterator const &) const;
+       docstring toolTip(BufferView const & bv, int x, int y) const;
        ///
        Inset * clone() const { return new InsetFoot(*this); }
+       ///
+       docstring custom_label_;
 };