<html>
    <head>
      <base href="https://bugs.documentfoundation.org/">
    </head>
    <body><span class="vcard"><a class="email" href="mailto:erack@redhat.com" title="Eike Rathke <erack@redhat.com>"> <span class="fn">Eike Rathke</span></a>
</span> changed
          <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - VIEWING: Embedded newline does not display correctly when set via SetDataArray()"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=142033">bug 142033</a>
          <br>
             <table border="1" cellspacing="0" cellpadding="8">
          <tr>
            <th>What</th>
            <th>Removed</th>
            <th>Added</th>
          </tr>

         <tr>
           <td style="text-align:right;">Keywords</td>
           <td>
                
           </td>
           <td>difficultyMedium, easyHack, skillCpp
           </td>
         </tr></table>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - VIEWING: Embedded newline does not display correctly when set via SetDataArray()"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=142033#c3">Comment # 3</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - VIEWING: Embedded newline does not display correctly when set via SetDataArray()"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=142033">bug 142033</a>
              from <span class="vcard"><a class="email" href="mailto:erack@redhat.com" title="Eike Rathke <erack@redhat.com>"> <span class="fn">Eike Rathke</span></a>
</span></b>
        <pre>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.</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>