]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetFootlike.h
Fix text direction issue for InsetInfo in RTL context
[lyx.git] / src / insets / InsetFootlike.h
index dfacbe9900fa8e6ff53f819353574e01f1d40e43..f4bcbdef19445eef05d42ee074a8dbb211cc4410 100644 (file)
@@ -4,7 +4,7 @@
  * This file is part of LyX, the document processor.
  * Licence details can be found in the file COPYING.
  *
- * \author Lars Gullik Bjønnes
+ * \author Lars Gullik Bjønnes
  *
  * Full author contact details are available in file CREDITS.
  */
@@ -12,7 +12,7 @@
 #ifndef INSETFOOTLIKE_H
 #define INSETFOOTLIKE_H
 
-#include "InsetCollapsable.h"
+#include "InsetCollapsible.h"
 
 
 namespace lyx {
@@ -20,26 +20,25 @@ namespace lyx {
 // To have this class is probably a bit overkill... (Lgb)
 
 // The footnote inset
-class InsetFootlike : public InsetCollapsable {
+class InsetFootlike : public InsetCollapsible {
 public:
        ///
-       InsetFootlike(BufferParams const &);
+       InsetFootlike(Buffer *);
        ///
-       InsetFootlike(InsetFootlike const &);
+       bool hasSettings() const { return false; }
+private:
        ///
        void metrics(MetricsInfo &, Dimension &) const;
        ///
        void draw(PainterInfo & pi, int x, int y) const;
        ///
-       void write(Buffer const & buf, std::ostream & os) const;
-       ///
-       bool isMacroScope(Buffer const &) const { return true; }
+       void write(std::ostream & os) const;
        ///
        bool insetAllowed(InsetCode) const;
-       /** returns true if, when outputing LaTeX, font changes should
+       /** returns false 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; }
+       bool inheritFont() const { return false; }
 };