Bug 122044 - Doesn't save merging of cells after copy/paste table from Calc to table in Writer
Summary: Doesn't save merging of cells after copy/paste table from Calc to table in Wr...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
6.2.0.0.beta1+
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Cell-Management
  Show dependency treegraph
 
Reported: 2018-12-12 14:56 UTC by Roman Kuznetsov
Modified: 2022-12-26 18:10 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
Calc file example (9.73 KB, application/vnd.oasis.opendocument.spreadsheet)
2018-12-12 15:49 UTC, Roman Kuznetsov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Roman Kuznetsov 2018-12-12 14:56:17 UTC
Description:
After fix of bug 37223 we can just copy/paste table from Calc to existing table in Writer.
But if table in Calc has merged cells then after paste table in Writer table merging of cells is disappeared.

Version: 6.3.0.0.alpha0+
Build ID: 3c964980da07892a02d5ac721d80558c459532d0
CPU threads: 4; OS: Windows 6.1; UI render: default; VCL: win; 
TinderBox: Win-x86@42, Branch:master, Time: 2018-12-12_02:07:45
Locale: ru-RU (ru_RU); UI-Language: en-US
Calc: threaded

Steps to Reproduce:
1. Create a simple table with merged cells in Calc or open file from attach
2. Create new Writer document
3. Craete a new table in Writer document with 7 row and 7 columns
4. Copy cells from Calc
5. Set up cursor in to <A1> cell in Writer table and make Paste
6. You'll get cool result, but
7. All merged cells will be split

Actual Results:
after paste table in Writer table merged cells will be split

Expected Results:
View of cells in table after pasting will be the same as in Calc


Reproducible: Always


User Profile Reset: No



Additional Info:
Comment 1 Dieter 2018-12-12 15:14:01 UTC
I confirm the described behaviour with

Version: 6.2.0.0.beta1 (x64)
Build ID: d1b41307be3f8c19fe6f1938cf056e7ff1eb1d18
CPU threads: 4; OS: Windows 10.0; UI render: default; VCL: win; 
Locale: en-US (de_DE); UI-Language: en-GB
Calc: threaded

But if you just paste the table within a frsh document (and not within a table) everything works fine
Comment 2 Roman Kuznetsov 2018-12-12 15:44:41 UTC
(In reply to Dieter Praas from comment #1)
 
> But if you just paste the table within a frsh document (and not within a
> table) everything works fine

Works fine because it will be paste as OLE! 
In the bug 37223 László made very cool feature and now it needs to make some additional work
Comment 3 Roman Kuznetsov 2018-12-12 15:49:40 UTC
Created attachment 147469 [details]
Calc file example
Comment 4 QA Administrators 2020-12-24 03:52:46 UTC Comment hidden (obsolete)
Comment 5 Roman Kuznetsov 2020-12-24 20:38:22 UTC
still repro in

Version: 7.2.0.0.alpha0+
Build ID: 4e63ec27b69fa01ff610c894c9fbf05c377a6179
CPU threads: 4; OS: Mac OS X 10.16; UI render: default; VCL: osx
Locale: ru-RU (ru_RU.UTF-8); UI: en-US
Calc: threaded
Comment 6 QA Administrators 2022-12-25 03:21:37 UTC Comment hidden (obsolete)
Comment 7 Dieter 2022-12-26 18:10:11 UTC
Still present in

Version: 7.4.4.1 (x64) / LibreOffice Community
Build ID: 988f4a351a6fa8cf4bdf2bdc873ca12cf8cbe625
CPU threads: 4; OS: Windows 10.0 Build 19045; UI render: Skia/Raster; VCL: win
Locale: de-DE (de_DE); UI: en-GB
Calc: CL