]> git.lyx.org Git - lyx.git/blobdiff - src/insets/insetminipage.h
Make it compile when USE_BOOST_FORMAT is unset
[lyx.git] / src / insets / insetminipage.h
index b58a7b8cf91764fc21786e53124df93e199eadc1..088c2776b5dc60d07f70411d4534103f24f22e47 100644 (file)
@@ -1,12 +1,13 @@
 // -*- C++ -*-
-/* This file is part of
- * ======================================================
- * 
- *           LyX, The Document Processor
+/**
+ * \file insetminipage.h
+ * This file is part of LyX, the document processor.
+ * Licence details can be found in the file COPYING.
  *
- *           Copyright 2001 The LyX Team.
+ * \author Jürgen Vigna
+ * \author Lars Gullik Bjønnes
  *
- * ======================================================
+ * Full author contact details are available in file CREDITS
  */
 
 #ifndef InsetMinipage_H
 
 #include "insetcollapsable.h"
 #include "lyxlength.h"
-#include <sigc++/signal_system.h>
+
+#include <boost/signals/signal0.hpp>
 
 /** The minipage inset
-  
+
 */
 class InsetMinipage : public InsetCollapsable {
 public:
@@ -79,11 +81,15 @@ public:
        ///
        void pageWidth(LyXLength const &);
        ///
-       SigC::Signal0<void> hideDialog;
+       boost::signal0<void> hideDialog;
        ///
        int getMaxWidth(BufferView *, UpdatableInset const *) const;
        ///
        bool needFullRow() const { return false; }
+       /** 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; }
        ///
        bool showInsetDialog(BufferView *) const;
        ///