X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Finsets%2Finsetfootlike.h;h=31387e47da797cf1e8911d84dc72b04229f97f65;hb=5603df4a5b7e511b31026c9a4f8f55b2b10fde57;hp=ab2eeb0f976f6e2487f0820bfcf2259d0204f0fe;hpb=946895278050e4a464c9591e99232a72f5f4dec9;p=lyx.git diff --git a/src/insets/insetfootlike.h b/src/insets/insetfootlike.h index ab2eeb0f97..31387e47da 100644 --- a/src/insets/insetfootlike.h +++ b/src/insets/insetfootlike.h @@ -1,41 +1,36 @@ // -*- C++ -*- -/* This file is part of - * ====================================================== - * - * LyX, The Document Processor +/** + * \file insetfootlike.h + * This file is part of LyX, the document processor. + * Licence details can be found in the file COPYING. * - * Copyright 1998 The LyX Team. + * \author Lars Gullik Bjønnes * - *====================================================== + * Full author contact details are available in file CREDITS. */ -// The pristine updatable inset: Text - -#ifndef InsetFootlike_H -#define InsetFootlike_H - -#ifdef __GNUG__ -#pragma interface -#endif +#ifndef INSETFOOTLIKE_H +#define INSETFOOTLIKE_H #include "insetcollapsable.h" -/** The footnote inset - -*/ +// To have this class is probably a bit overkill... (Lgb) + +// The footnote inset class InsetFootlike : public InsetCollapsable { public: /// - InsetFootlike(); + InsetFootlike(BufferParams const &); + /// + InsetFootlike(InsetFootlike const &); /// - void Write(Buffer const * buf, std::ostream & os) const; + void write(Buffer const & buf, std::ostream & os) const; /// - //LyXFont GetDrawFont(BufferView *, LyXParagraph * par, int pos) const; + bool insetAllowed(InsetOld::Code) const; + /** returns true if, when outputing LaTeX, font changes should + be closed before generating this inset. This is needed for + insets that may contain several paragraphs */ + bool noFontChange() const { return true; } }; #endif - - - - -