[Libreoffice-bugs] [Bug 134369] Enable word-wrap by default for shapes

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Wed Nov 25 14:22:24 UTC 2020


https://bugs.documentfoundation.org/show_bug.cgi?id=134369

--- Comment #9 from Heiko Tietze <heiko.tietze at documentfoundation.org> ---
(In reply to Rafael Lima from comment #8)
> Hi! I am interested in fixing this issue. I just need some help with code
> pointers.

Described my approach in
https://design.blog.documentfoundation.org/2018/02/22/easyhacking-set-environment/

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 ;-)

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20201125/18ac0a14/attachment.htm>


More information about the Libreoffice-bugs mailing list