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 int plaintext(odocstringstream & ods, OutputParams const & op,
36 size_t max_length = INT_MAX) const override;
38 void docbook(XMLStream &, OutputParams const &) const override;
40 void validate(LaTeXFeatures & features) const override;
41 /// Update the counters of this inset and of its contents
42 void updateBuffer(ParIterator const &, UpdateType, bool const deleted = false) override;
44 docstring toolTip(BufferView const & bv, int x, int y) const override;
46 Inset * clone() const override { return new InsetFoot(*this); }
48 bool inheritFont() const override { return true; }
50 bool allowMultiPar() const override { return true; }
52 docstring custom_label_;