[Libreoffice-bugs] [Bug 142033] VIEWING: Embedded newline does not display correctly when set via SetDataArray()
https://bugs.documentfoundation.org/show_bug.cgi?id=142033 Andreas Heinisch changed: What|Removed |Added Assignee|libreoffice-b...@lists.free |andreas.heini...@yahoo.de |desktop.org | Status|NEW |ASSIGNED -- You are receiving this mail because: You are the assignee for the bug.
[Libreoffice-bugs] [Bug 142033] VIEWING: Embedded newline does not display correctly when set via SetDataArray()
https://bugs.documentfoundation.org/show_bug.cgi?id=142033 Xisco FaulĂ changed: What|Removed |Added CC||andreas.heini...@yahoo.de, ||xiscofa...@libreoffice.org --- Comment #7 from Xisco FaulĂ --- @Andreas, I thought you might be interested in this issue -- You are receiving this mail because: You are the assignee for the bug.
[Libreoffice-bugs] [Bug 142033] VIEWING: Embedded newline does not display correctly when set via SetDataArray()
https://bugs.documentfoundation.org/show_bug.cgi?id=142033 --- Comment #6 from Vladimir Sokolinskiy --- I can create a new bug, however, I cannot reproduce the problem situation in a different way than in # 4. Create? -- You are receiving this mail because: You are the assignee for the bug.
[Libreoffice-bugs] [Bug 142033] VIEWING: Embedded newline does not display correctly when set via SetDataArray()
https://bugs.documentfoundation.org/show_bug.cgi?id=142033 --- Comment #5 from Eike Rathke --- Such embedded linefeed in a office:value-type="string" cell is saved as AB and the linefeed is not read back in as an embedded linefeed again. Whereas a rich cell text (entered with A Ctrl+Enter B) is saved as two paragraphs A B and properly read back in. Not handling is a bug, but would be a different one. Care to create one? -- You are receiving this mail because: You are the assignee for the bug.
[Libreoffice-bugs] [Bug 142033] VIEWING: Embedded newline does not display correctly when set via SetDataArray()
https://bugs.documentfoundation.org/show_bug.cgi?id=142033 --- Comment #4 from Vladimir Sokolinskiy --- 1. Create a new book and execute the macro: Sub Test ThisComponent.Sheets(0).getCellRangeByName("A1").setDataArray Array(Array("A" & Chr(10) & "B")) End Sub 2. Save the book, close it and reopen it. The value of cell A1 is now "AB". In my opinion, changing the value of a cell is a critical error. -- You are receiving this mail because: You are the assignee for the bug.
[Libreoffice-bugs] [Bug 142033] VIEWING: Embedded newline does not display correctly when set via SetDataArray()
https://bugs.documentfoundation.org/show_bug.cgi?id=142033 Eike Rathke changed: What|Removed |Added Keywords||difficultyMedium, easyHack, ||skillCpp --- Comment #3 from Eike Rathke --- 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.___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 142033] VIEWING: Embedded newline does not display correctly when set via SetDataArray()
https://bugs.documentfoundation.org/show_bug.cgi?id=142033 Eike Rathke changed: What|Removed |Added Version|7.1.2.2 release |Inherited From OOo -- You are receiving this mail because: You are the assignee for the bug.___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 142033] VIEWING: Embedded newline does not display correctly when set via SetDataArray()
https://bugs.documentfoundation.org/show_bug.cgi?id=142033 Eike Rathke changed: What|Removed |Added Ever confirmed|0 |1 CC||er...@redhat.com Status|UNCONFIRMED |NEW Hardware|x86-64 (AMD64) |All OS|Linux (All) |All --- Comment #2 from Eike Rathke --- 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.___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 142033] VIEWING: Embedded newline does not display correctly when set via SetDataArray()
https://bugs.documentfoundation.org/show_bug.cgi?id=142033 --- Comment #1 from studog --- Created attachment 171575 --> https://bugs.documentfoundation.org/attachment.cgi?id=171575=edit Minimal reproduction test case Ensure macro security settings allow running macros. Open the macro editor, then run the macro. -- You are receiving this mail because: You are the assignee for the bug.___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs