]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetFoot.h
Move isMultiCell() to Cursor, and use it.
[lyx.git] / src / insets / InsetFoot.h
index dcb150f963567c0b9a60390538e6ed72313264b0..64e6249711b37544549f017b6cb20cc83003a75e 100644 (file)
@@ -21,29 +21,34 @@ namespace lyx {
 /** The footnote inset
 
 */
-class InsetFoot : public InsetFootlike {
+class InsetFoot : public InsetFootlike
+{
 public:
        ///
-       InsetFoot(BufferParams const &);
+       InsetFoot(Buffer const &);
+private:
        ///
-       Inset::Code lyxCode() const { return Inset::FOOT_CODE; }
+       InsetCode lyxCode() const { return FOOT_CODE; }
        ///
        docstring name() const { return from_ascii("Foot"); }
        ///
-       int latex(Buffer const &, odocstream &,
-                 OutputParams const &) const;
+       int latex(odocstream &, OutputParams const &) const;
        ///
-       int plaintext(Buffer const &, odocstream &,
-                     OutputParams const &) const;
+       int plaintext(odocstream &, OutputParams const &) const;
        ///
-       int docbook(Buffer const &, odocstream &,
-                   OutputParams const &) const;
+       int docbook(odocstream &, OutputParams const &) const;
        ///
-       virtual docstring const editMessage() const;
-protected:
-       InsetFoot(InsetFoot const &);
-private:
-       virtual std::auto_ptr<Inset> doClone() const;
+       docstring editMessage() const;
+       /// Update the counters of this inset and of its contents
+       void updateLabels(ParIterator const &);
+       ///
+       void addToToc(DocIterator const &);
+       ///
+       docstring toolTip(BufferView const & bv, int x, int y) const;
+       ///
+       Inset * clone() const { return new InsetFoot(*this); }
+       ///
+       docstring custom_label_;
 };