]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetFoot.h
Update my email and status.
[lyx.git] / src / insets / InsetFoot.h
index dddba1f1159c7f7b7352e2ae67dc4077dfe67140..f77ae3fedf2ed7c33472651079caed9fbc737811 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.
  */
@@ -21,27 +21,32 @@ 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 { 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;
-protected:
-       InsetFoot(InsetFoot const &);
-private:
-       virtual std::auto_ptr<InsetBase> doClone() const;
+       int docbook(odocstream &, OutputParams const &) const;
+       /// Update the counters of this inset and of its contents
+       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_;
 };