4 * This file is part of LyX, the document processor.
5 * Licence details can be found in the file COPYING.
8 * \author Lars Gullik Bjønnes
10 * Full author contact details are available in file CREDITS.
16 #include "InsetFootlike.h"
21 /** The footnote inset
24 class InsetFoot : public InsetFootlike
28 explicit InsetFoot(Buffer *);
31 InsetCode lyxCode() const override { return FOOT_CODE; }
33 docstring layoutName() const override;
35 void latex(otexstream &, OutputParams const &) const override;
37 int plaintext(odocstringstream & ods, OutputParams const & op,
38 size_t max_length = INT_MAX) const override;
40 void docbook(XMLStream &, OutputParams const &) const override;
42 void validate(LaTeXFeatures & features) const override;
43 /// Update the counters of this inset and of its contents
44 void updateBuffer(ParIterator const &, UpdateType, bool const deleted = false) override;
46 docstring toolTip(BufferView const & bv, int x, int y) const override;
48 Inset * clone() const override { return new InsetFoot(*this); }
50 docstring custom_label_;