mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-16 16:18:22 +00:00
441c6a9359
A series of commits, culminating at812ff7de
, pushed a few days later, fixes the bug at its root. This one is not needed anymore to fix This reverts commit001f5a4786
59 lines
1.2 KiB
C++
59 lines
1.2 KiB
C++
// -*- C++ -*-
|
|
/**
|
|
* \file InsetFoot.h
|
|
* 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
|
|
*
|
|
* Full author contact details are available in file CREDITS.
|
|
*/
|
|
|
|
#ifndef INSETFOOT_H
|
|
#define INSETFOOT_H
|
|
|
|
#include "InsetFootlike.h"
|
|
|
|
|
|
namespace lyx {
|
|
|
|
/** The footnote inset
|
|
|
|
*/
|
|
class InsetFoot : public InsetFootlike
|
|
{
|
|
public:
|
|
///
|
|
explicit InsetFoot(Buffer *);
|
|
private:
|
|
///
|
|
InsetCode lyxCode() const override { return FOOT_CODE; }
|
|
///
|
|
docstring layoutName() const override;
|
|
///
|
|
int plaintext(odocstringstream & ods, OutputParams const & op,
|
|
size_t max_length = INT_MAX) const override;
|
|
///
|
|
void docbook(XMLStream &, OutputParams const &) const override;
|
|
///
|
|
void validate(LaTeXFeatures & features) const override;
|
|
/// Update the counters of this inset and of its contents
|
|
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_;
|
|
};
|
|
|
|
|
|
} // namespace lyx
|
|
|
|
#endif
|