mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-04 22:32:19 +00:00
81e35bc396
Each removed inheritFont method is replaced by a 'InheritFont false' line in the relevant InsetLayout entry. Add code to layout2layout that does this automatically when the entry is missing. The case of InsetScript is special, since the inheritFont() was not needed here: the default is indeed true. Fixes bug #12238.
40 lines
732 B
C++
40 lines
732 B
C++
// -*- C++ -*-
|
|
/**
|
|
* \file InsetFootlike.h
|
|
* This file is part of LyX, the document processor.
|
|
* Licence details can be found in the file COPYING.
|
|
*
|
|
* \author Lars Gullik Bjønnes
|
|
*
|
|
* Full author contact details are available in file CREDITS.
|
|
*/
|
|
|
|
#ifndef INSETFOOTLIKE_H
|
|
#define INSETFOOTLIKE_H
|
|
|
|
#include "InsetCollapsible.h"
|
|
|
|
|
|
namespace lyx {
|
|
|
|
// To have this class is probably a bit overkill... (Lgb)
|
|
|
|
// The footnote inset
|
|
class InsetFootlike : public InsetCollapsible {
|
|
public:
|
|
///
|
|
explicit InsetFootlike(Buffer *);
|
|
///
|
|
bool hasSettings() const override { return false; }
|
|
private:
|
|
///
|
|
void write(std::ostream & os) const override;
|
|
///
|
|
bool insetAllowed(InsetCode) const override;
|
|
};
|
|
|
|
|
|
} // namespace lyx
|
|
|
|
#endif
|