[Libreoffice-bugs] [Bug 142033] VIEWING: Embedded newline does not display correctly when set via SetDataArray()

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Sun May 2 16:20:00 UTC 2021


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

Eike Rathke <erack at redhat.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |difficultyMedium, easyHack,
                   |                            |skillCpp

--- Comment #3 from Eike Rathke <erack at redhat.com> ---
This calls for an EasyHack. Code pointers:

In sc/source/ui/unoobj/cellsuno.cxx lcl_PutDataArray() for case
uno::TypeClass_STRING check for multiline string like in
ScDocFunc::SetStringOrEditCell() of sc/source/ui/docshell/docfunc.cxx

It may look appealing to use the very same function, but the called
SetEditCell() and SetStringCell() have way too much (duplicated) overhead for
the array case, which is handled separately here. However, for the resulting
edit cell case the row height treatment likely will have to be similar as in
ScDocFunc::SetEditCell(), but not executed immediately but just after
processing the array for only the affected rows.

-- 
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/20210502/9421527d/attachment.htm>


More information about the Libreoffice-bugs mailing list