You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@openoffice.apache.org by bu...@apache.org on 2016/04/16 13:36:10 UTC

[Issue 124857] Table - Paste Calc Cell Range as RTF to Writer: Vertical merge lost

https://bz.apache.org/ooo/show_bug.cgi?id=124857

Asya <an...@unity3d.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |anastasias@unity3d.com

--- Comment #1 from Asya <an...@unity3d.com> ---
Created attachment 85440
  --> https://bz.apache.org/ooo/attachment.cgi?id=85440&action=edit
Test_results

Windows 8.1
Linux dell 14.04.4 x86_64 GNU/Linux 
OSX El Capitan 10.11.4
OO Writer AOO 4.2.0 (420m1(Build:9800)  -  Rev. 1692551) 

I was able to reproduce this bug in latest version 4.2.0, bug is still present.
Steps to reproduce: 
1. Open a new Calc document. 
2. Add some text to A1. 
3. Select 2+ cells (e.g. A1:A2).
4. Press Format -> Merge Cells. Cells are merged. 
5. Copy cells A1:A2. 
6. Open new Writer document. 
7. Edit -> Paste special -> Select Formatted text [RTF] -> Ok. 
Actual result: Cells A1 and A2 are separated, not merged.

To find out, what other circumstances this bug will appear and if this issue is
specific to Writer or is general to all OO products, I’ve done some additional
testing, besides described by reporter: 
Test 1: 
1. Open a new Calc document. 
2. Add some text to A1. 
3. Select cells A1:B2.
4. Press Format -> Merge Cells. Cells are merged. 
5. Copy cells A1:B2. 
6. Open new Writer document. 
7. Edit -> Paste special -> Select Formatted text [RTF] -> Ok. 
Actual result: Cells A1 and A2 are separated vertically, but stay merged
horizontally.

Test 2: 
I’ve tried to copy table with vertically merged cells and Paste special using
different suggested methods:
- Calc8
- GDI metafile
- Bitmap
- HTML
- DDE link
- Unformatted text
- Formatted text [RTF]
Actual result: Problem appears to be only in saving in Formatted Text [RTF].
Test results are in file attached: Test_results.odt

Test 3: Consistency with comparable product
I’ve checked similar behaviour in comparable products: MS Word + MS Excel,
TextEdit + Numbers - issue does not reproduce, vertically merged cells stay the
same. 

Test 4: Consistency within product
4.1 Consistency within Writer
Steps to reproduce: 
1. Open new document in Writer. 
2. Create a table (2*2). 
3. Paste “Text” in cell A1. 
4. Select cells A1:A2. 
5. Menu Table -> Merge cells. 
6. Select and copy table A1:B2. 
7. Paste Special -> Formatted Text [RTF] below in same document. 
Actual result: Vertical merging is gone, cells A1 and A2 are separated. 
4.2 Consistency within Calc
Steps to reproduce: 
1. Open new document in Calc. 
2. Create a table (2*2). 
3. Paste “Text” in cell A1. 
4. Select cells A1:A2. 
5. Menu Format -> Merge cells. 
6. Select and copy table A1:B2. 
7. Paste Special -> Paste All.
Actual result: Vertical merging is present, cells A1 and A2 are merged.  

Test 5: Consistency within project 
I’ve checked issue, described in "Issue 124838 - Vertically merged cells become
splitted after copy paste to Calc" (Created a table with vertically merged
cells in Writer, copied and pasted it in Calc), to make sure, that issue is
present/not present in Writer or Calc only. Problem appears on paste in RTF
from Calc to Writer. 

Observations: 
I was able to reproduce this issue. Formatted paste [in RTF] of vertically
merged cells from Calc to Writer, from Writer to Calc, and from Writer to
Writer works incorrectly. User’s data (table) is corrupted after copy-pasting
from and to OO Writer. So I can say, that Test 4.1 is the most simple way to
reproduce this issue. 
____________________________________________________________
|        |                             |        from       |
------------------------------------------------------------
|        |  Copy/Paste of vertically   |          |        |
|        |merged cells works correctly?|  Writer  |  Calc  |
------------------------------------------------------------
|        |             Writer          |    no    |   no   |
    to    --------------------------------------------------
|        |              Calc           |    no    |   yes  |
------------------------------------------------------------

-- 
You are receiving this mail because:
You are the assignee for the issue.