Issue 104059 - explicit newlines in cells, char(10), are not displayed properly
Summary: explicit newlines in cells, char(10), are not displayed properly
Status: CLOSED FIXED
Alias: None
Product: Calc
Classification: Application
Component: ui (show other issues)
Version: DEV300m52
Hardware: PC Linux, all
: P3 Trivial (vote)
Target Milestone: ---
Assignee: oc
QA Contact: issues@sc
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-08-06 16:35 UTC by Joe Smith
Modified: 2013-08-07 15:14 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments
screen capture showing problem (51.17 KB, image/png)
2009-08-06 16:36 UTC, Joe Smith
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
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