<html>
<head>
<base href="https://bugs.documentfoundation.org/">
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_UNCONFIRMED "
title="UNCONFIRMED - Data "Formula to Value" don't preserve line break with multi-line text value"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=120190">120190</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>Data "Formula to Value" don't preserve line break with multi-line text value
</td>
</tr>
<tr>
<th>Product</th>
<td>LibreOffice
</td>
</tr>
<tr>
<th>Version</th>
<td>6.0.6.2 release
</td>
</tr>
<tr>
<th>Hardware</th>
<td>All
</td>
</tr>
<tr>
<th>OS</th>
<td>All
</td>
</tr>
<tr>
<th>Status</th>
<td>UNCONFIRMED
</td>
</tr>
<tr>
<th>Severity</th>
<td>normal
</td>
</tr>
<tr>
<th>Priority</th>
<td>medium
</td>
</tr>
<tr>
<th>Component</th>
<td>Calc
</td>
</tr>
<tr>
<th>Assignee</th>
<td>libreoffice-bugs@lists.freedesktop.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>chdeul1823@gmail.com
</td>
</tr></table>
<p>
<div>
<pre>When you try to use Data "Formula to Value" , it don't preserve line break with
multi-line text value.
At UI level : the rendering becomes different and not lisible, it's a very
severe issue, because this is a very frequent case ...
To reproduce , simply enter un text with line breaks (Ctrl enter) in a cell,
in a second cell , create a formua =1st Cell,
Then call menu Data / Compute / formula to value : you see the problem
In xml content of Saved file :
original value is :
<text:p>aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa</text:p>
<text:p>Bbbbbbbbbbbbbbbbbbbbbbb</text:p>
<text:p>Cccccccccccccccccccccc</text:p>
replace value is :
<text:p>aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
<text:line-break/>Bbbbbbbbbbbbbbbbbbbbbbb
<text:line-break/>Cccccccccccccccccccccc
</text:p>
It is coherent</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>