* Licence details can be found in the file COPYING.
*
* \author Dekel Tsur
+ * \author Uwe Stöhr
*
* Full author contact details are available in file CREDITS.
*/
#include "BufferView.h"
#include "Counters.h"
#include "Cursor.h"
-#include "debug.h"
+#include "support/debug.h"
#include "DispatchResult.h"
#include "Floating.h"
#include "FloatList.h"
#include "FuncRequest.h"
#include "FuncStatus.h"
-#include "gettext.h"
+#include "support/gettext.h"
#include "LaTeXFeatures.h"
-#include "Color.h"
#include "Lexer.h"
#include "OutputParams.h"
+#include "TextClass.h"
#include "TocBackend.h"
#include "support/convert.h"
+#include "support/docstream.h"
+using namespace std;
namespace lyx {
-using std::string;
-using std::endl;
-using std::istringstream;
-using std::ostream;
-using std::ostringstream;
-
InsetWrap::InsetWrap(BufferParams const & bp, string const & type)
: InsetCollapsable(bp), name_(from_utf8(type))
{
setLabel(_("wrap: ") + floatName(type, bp));
- Font font(Font::ALL_SANE);
- font.decSize();
- font.decSize();
- font.setColor(Color::collapsable);
- setLabelFont(font);
params_.type = type;
params_.lines = 0;
params_.placement = "o";