SVN commit 628914 by zander: Make word wrapping behave like expected. The enum; WrapAnywhere (that I use now) does not do what the docs say, which is to break at the end of a line ignoring word boundaries. But the behavior I see is actually like WrapAtWordBoundaryOrAnywhere, which is what we want. M +1 -0 Layout.cpp --- trunk/koffice/shapes/text/Layout.cpp #628913:628914 @@ -230,6 +230,7 @@ m_y += topMargin(); layout = m_block.layout(); QTextOption options = layout->textOption(); + options.setWrapMode(QTextOption::WrapAnywhere); options.setAlignment(m_format.alignment()); if(m_isRtl) options.setTextDirection(Qt::RightToLeft);