]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetFoot.h
reorder entries
[lyx.git] / src / insets / InsetFoot.h
index 36c20c1aeb8fa9f0a0c4938bac6ed8ec0c8cb221..d032e04848fc7d38c817dfd15feb23136849cc81 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,31 +21,35 @@ namespace lyx {
 /** The footnote inset
 
 */
-class InsetFoot : public InsetFootlike {
+class InsetFoot : public InsetFootlike
+{
 public:
        ///
-       InsetFoot(BufferParams const &);
+       InsetFoot(Buffer *);
+private:
        ///
        InsetCode lyxCode() const { return FOOT_CODE; }
        ///
-       docstring name() const { return from_ascii("Foot"); }
-       ///
-       int latex(odocstream &, OutputParams const &) const;
+       docstring layoutName() const;
        ///
-       int plaintext(odocstream &, OutputParams const &) const;
+       int plaintext(odocstringstream & ods, OutputParams const & op,
+                     size_t max_length = INT_MAX) const;
        ///
        int docbook(odocstream &, OutputParams const &) const;
        ///
-       docstring editMessage() const;
+       void validate(LaTeXFeatures & features) const;
        /// Update the counters of this inset and of its contents
-       void updateLabels(ParIterator const &);
+       void updateBuffer(ParIterator const &, UpdateType);
        ///
-       void addToToc(ParConstIterator const &) const;
-
-protected:
-       InsetFoot(InsetFoot const &);
-private:
-       Inset * clone() 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_;
 };