[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 15:57:38 UTC 2021
https://bugs.documentfoundation.org/show_bug.cgi?id=142033
Eike Rathke <erack at redhat.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Ever confirmed|0 |1
CC| |erack at redhat.com
Status|UNCONFIRMED |NEW
Hardware|x86-64 (AMD64) |All
OS|Linux (All) |All
--- Comment #2 from Eike Rathke <erack at redhat.com> ---
Range.SetDataArray() with a TypeClass_STRING element creates a plain text cell
(with an embedded LF character here), whereas Range.SetString() (and editing a
plain text cell with embedded LF) creates an EditText object cell for that
case. Only text objects are evaluated for display whether they contain multiple
lines (or any rich text formatting), hence the difference.
We could do the same check as in SetString() whether to create plain text or
edit text also in SetDataArray().
--
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/e0f55994/attachment.htm>
More information about the Libreoffice-bugs
mailing list