* 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.
*/
/** The footnote inset
*/
-class InsetFoot : public InsetFootlike {
+class InsetFoot : public InsetFootlike
+{
public:
///
- InsetFoot(BufferParams const &);
- ///
- Inset::Code lyxCode() const { return Inset::FOOT_CODE; }
+ explicit InsetFoot(Buffer *);
+private:
///
- docstring name() const { return from_ascii("Foot"); }
+ InsetCode lyxCode() const override { return FOOT_CODE; }
///
- int latex(Buffer const &, odocstream &,
- OutputParams const &) const;
+ docstring layoutName() const override;
///
- int plaintext(Buffer const &, odocstream &,
- OutputParams const &) const;
+ int plaintext(odocstringstream & ods, OutputParams const & op,
+ size_t max_length = INT_MAX) const override;
///
- int docbook(Buffer const &, odocstream &,
- OutputParams const &) const;
+ void docbook(XMLStream &, OutputParams const &) const override;
///
- virtual docstring const editMessage() const;
+ void validate(LaTeXFeatures & features) const override;
/// Update the counters of this inset and of its contents
- void updateLabels(Buffer const &, ParIterator const &);
-
-protected:
- InsetFoot(InsetFoot const &);
-private:
- virtual Inset * clone() const;
+ void updateBuffer(ParIterator const &, UpdateType, bool const deleted = false) override;
+ ///
+ docstring toolTip(BufferView const & bv, int x, int y) const override;
+ ///
+ Inset * clone() const override { return new InsetFoot(*this); }
+ ///
+ docstring custom_label_;
+ ///
+ bool intitle_;
+ ///
+ bool infloattable_;
};