]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetFoot.h
Merge branch 'master' of git.lyx.org:lyx
[lyx.git] / src / insets / InsetFoot.h
index dcb150f963567c0b9a60390538e6ed72313264b0..f145d5ce1678da22a01e401e13c66206509d91b0 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,29 +21,34 @@ namespace lyx {
 /** The footnote inset
 
 */
-class InsetFoot : public InsetFootlike {
+class InsetFoot : public InsetFootlike
+{
 public:
        ///
-       InsetFoot(BufferParams const &);
+       InsetFoot(Buffer *);
+private:
        ///
-       Inset::Code lyxCode() const { return Inset::FOOT_CODE; }
+       InsetCode lyxCode() const { return FOOT_CODE; }
        ///
-       docstring name() 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;
+       /// Update the counters of this inset and of its contents
+       void updateBuffer(ParIterator const &, UpdateType);
        ///
-       int docbook(Buffer const &, odocstream &,
-                   OutputParams const &) const;
+       void addToToc(DocIterator const & di, bool output_active,
+                                 UpdateType utype) const;
        ///
-       virtual docstring const editMessage() const;
-protected:
-       InsetFoot(InsetFoot const &);
-private:
-       virtual std::auto_ptr<Inset> doClone() const;
+       docstring toolTip(BufferView const & bv, int x, int y) const;
+       ///
+       Inset * clone() const { return new InsetFoot(*this); }
+       ///
+       docstring custom_label_;
+       ///
+       bool intitle_;
 };