mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-17 02:05:48 +00:00
2dde90a8fe
This does not work when the footnote contains multiple paragraphs and the font properties are changed outside the inset.
55 lines
1.0 KiB
C++
55 lines
1.0 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:
|
|
///
|
|
InsetFoot(Buffer *);
|
|
private:
|
|
///
|
|
InsetCode lyxCode() const { return FOOT_CODE; }
|
|
///
|
|
docstring layoutName() const;
|
|
///
|
|
int plaintext(odocstringstream & ods, OutputParams const & op,
|
|
size_t max_length = INT_MAX) const;
|
|
///
|
|
int docbook(odocstream &, OutputParams const &) const;
|
|
/// Update the counters of this inset and of its contents
|
|
void updateBuffer(ParIterator const &, UpdateType);
|
|
///
|
|
docstring toolTip(BufferView const & bv, int x, int y) const;
|
|
///
|
|
Inset * clone() const { return new InsetFoot(*this); }
|
|
///
|
|
docstring custom_label_;
|
|
///
|
|
bool intitle_;
|
|
};
|
|
|
|
|
|
} // namespace lyx
|
|
|
|
#endif
|