Issue 104059

Summary: explicit newlines in cells, char(10), are not displayed properly
Product: Calc Reporter: Joe Smith <jes>
Component: uiAssignee: oc
Status: CLOSED FIXED QA Contact: issues@sc <issues>
Severity: Trivial    
Priority: P3 CC: issues
Version: DEV300m52   
Target Milestone: ---   
Hardware: PC   
OS: Linux, all   
Issue Type: DEFECT Latest Confirmation in: ---
Developer Difficulty: ---
Attachments:
Description Flags
screen capture showing problem none

Description Joe Smith 2009-08-06 16:35:50 UTC
The changes introduced by Issue 35913 are not working correctly for me, testing
DEV300_m54 on Fedora Linux 11.

E.g. ="A" & CHAR(10) & "B" produces
 |
 |AB
in the cell, where I expect to see
 |A
 |B

Likewise, manually entering "A\nB" in cell B6 using Ctrl+Enter, then referencing
that from another cell, =B6, shows the same incorrect output:
 |
 |AB

The content in the saved file looks fine; it's the display that's not right:

 <table:table-cell
  table:formula="of:=&quot;A&quot;&amp;CHAR(10)&amp;&quot;B&quot;"
  office:value-type="string"
  office:string-value="A&#x0a;B">
    <text:p>A</text:p>
    <text:p>B</text:p>
 </table:table-cell>

See screenshot attached.
Comment 1 Joe Smith 2009-08-06 16:36:58 UTC
Created attachment 63990 [details]
screen capture showing problem
Comment 2 niklas.nebel 2009-08-06 18:01:20 UTC
Somehow a single change from calcmultiline (output2.cxx) got lost in rebasing of
fhawfixes1.
We have to fix this for 3.2.
Comment 3 niklas.nebel 2009-08-14 15:32:15 UTC
Fixed in CWS "dr72".
Comment 4 daniel.rentz 2009-08-25 10:34:24 UTC
back to QA
Comment 5 oc 2009-08-31 11:33:34 UTC
verified in internal build cws_dr72
Comment 6 Joe Smith 2009-09-15 15:34:30 UTC
Testing DEV300_m58 on Linux (Fedora 11):

Looks great! Test document looks correct; simple editing and formulas work fine.

Thanks! This will be a nice improvement for Calc.
Comment 7 wope 2010-05-01 21:08:14 UTC
ok in 3.2.0, issue closing