#include "insetwrap.h"
#include "buffer.h"
+#include "bufferparams.h"
#include "BufferView.h"
#include "Floating.h"
#include "FloatList.h"
#include "gettext.h"
+#include "LColor.h"
#include "metricsinfo.h"
+#include "paragraph.h"
-#include "frontends/Painter.h"
#include "frontends/font_metrics.h"
+#include "frontends/Painter.h"
-#include "support/LAssert.h"
#include "support/lstrings.h"
#include "support/std_sstream.h"
-using namespace lyx::support;
+
+using lyx::support::bformat;
using std::endl;
+using std::string;
using std::ostream;
using std::ostringstream;
else if (i2->lyxCode() == WRAP_CODE)
type = static_cast<InsetWrap *>(i2)->params().type;
else
- Assert(0);
+ BOOST_ASSERT(false);
FloatList const & floats =
- pi.base.bv->buffer()->params.getLyXTextClass().floats();
+ pi.base.bv->buffer()->params().getLyXTextClass().floats();
string const fl = i2 ? floats.getType(type).name() : N_("Float");
// Discover the number...