]> git.lyx.org Git - features.git/blobdiff - src/insets/InsetFoot.h
Improved character count statistics for letter based insets (e.g. the LyX logo).
[features.git] / src / insets / InsetFoot.h
index d032e04848fc7d38c817dfd15feb23136849cc81..bbc8a6934aca850b36249bf2eb023b477858377c 100644 (file)
@@ -25,7 +25,7 @@ class InsetFoot : public InsetFootlike
 {
 public:
        ///
-       InsetFoot(Buffer *);
+       explicit InsetFoot(Buffer *);
 private:
        ///
        InsetCode lyxCode() const { return FOOT_CODE; }
@@ -35,16 +35,20 @@ private:
        int plaintext(odocstringstream & ods, OutputParams const & op,
                      size_t max_length = INT_MAX) const;
        ///
-       int docbook(odocstream &, OutputParams const &) const;
+       void docbook(XMLStream &, OutputParams const &) const;
        ///
        void validate(LaTeXFeatures & features) const;
        /// Update the counters of this inset and of its contents
-       void updateBuffer(ParIterator const &, UpdateType);
+       void updateBuffer(ParIterator const &, UpdateType, bool const deleted = false);
        ///
        docstring toolTip(BufferView const & bv, int x, int y) const;
        ///
        Inset * clone() const { return new InsetFoot(*this); }
        ///
+       bool inheritFont() const { return true; }
+       ///
+       bool allowMultiPar() const { return true; }
+       ///
        docstring custom_label_;
        ///
        bool intitle_;