X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Finsets%2FInsetWrap.cpp;h=9155960c2f4f833f9c42b0712075e8ca3043ca38;hb=06254d11dfdf670fab3548dc2a2674e7a261262c;hp=0aa98521275ab9379c0275c12311b95dae71caa2;hpb=f7b1c86393d890d5d473279d88e26bb78f8c1275;p=lyx.git diff --git a/src/insets/InsetWrap.cpp b/src/insets/InsetWrap.cpp index 0aa9852127..9155960c2f 100644 --- a/src/insets/InsetWrap.cpp +++ b/src/insets/InsetWrap.cpp @@ -4,6 +4,7 @@ * 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. */ @@ -17,40 +18,31 @@ #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";