]> git.lyx.org Git - lyx.git/blobdiff - src/insets/insetfloat.h
Make it compile when USE_BOOST_FORMAT is unset
[lyx.git] / src / insets / insetfloat.h
index af3f724d5098fb8b4b73ca5eef019c45b446d658..fd0ddea0c80c6066d2fd2f637175e5dcbfd23802 100644 (file)
@@ -1,12 +1,13 @@
 // -*- C++ -*-
-/* This file is part of
- * ======================================================
+/**
+ * \file insetfloat.h
+ * This file is part of LyX, the document processor.
+ * Licence details can be found in the file COPYING.
  *
- *           LyX, The Document Processor
+ * \author Jürgen Vigna
+ * \author Lars Gullik Bjønnes
  *
- *           Copyright 1998 The LyX Team.
- *
- * ======================================================
+ * Full author contact details are available in file CREDITS
  */
 
 #ifndef InsetFloat_H
@@ -17,6 +18,7 @@
 #endif
 
 #include "insetcollapsable.h"
+#include "toc.h"
 
 #include <boost/signals/signal0.hpp>
 
@@ -46,11 +48,15 @@ public:
        ///
        int latex(Buffer const *, std::ostream &, bool fragile, bool fp) const;
        ///
-       int docbook(Buffer const *, std::ostream &) const;
+       int docbook(Buffer const *, std::ostream &, bool mixcont) const;
        ///
        string const editMessage() const;
        ///
        bool insetAllowed(Inset::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; }
        ///
        string const & type() const;
        ///
@@ -58,10 +64,12 @@ public:
        ///
        string const & placement() const;
        ///
-       void wide(bool w);
+       void wide(bool w, BufferParams const &);
        ///
        bool wide() const;
        ///
+       void addToToc(toc::TocList &, Buffer const *) const;
+       ///
        bool  showInsetDialog(BufferView *) const;
        ///
        boost::signal0<void> hideDialog;