<html>
<head>
<base href="https://bugs.documentfoundation.org/">
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - Enable word-wrap by default for shapes"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=134369#c9">Comment # 9</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - Enable word-wrap by default for shapes"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=134369">bug 134369</a>
from <span class="vcard"><a class="email" href="mailto:heiko.tietze@documentfoundation.org" title="Heiko Tietze <heiko.tietze@documentfoundation.org>"> <span class="fn">Heiko Tietze</span></a>
</span></b>
<pre>(In reply to Rafael Lima from <a href="show_bug.cgi?id=134369#c8">comment #8</a>)
<span class="quote">> Hi! I am interested in fixing this issue. I just need some help with code
> pointers.</span >
Described my approach in
<a href="https://design.blog.documentfoundation.org/2018/02/22/easyhacking-set-environment/">https://design.blog.documentfoundation.org/2018/02/22/easyhacking-set-environment/</a>
I search for the string "_Word wrap text in shape", find
cui/uiconfig/ui/textattrtabpage.ui, search for TSB_WORDWRAP_TEXT and find
m_xTsbWordWrapText, get its state from SDRATTR_TEXT_WORDWRAP. Atr this point it
becomes a bit time-consuming, for example this is misleading
svx/source/svdraw/svdattr.cxx has rPoolDefaults[SDRATTR_TEXT_WORDWRAP
-SDRATTR_START]=new SdrOnOffItem(SDRATTR_TEXT_WORDWRAP, true);
Not sure if all this helps ;-)</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>